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" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 27 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 28 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 29 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 30 | * |
| 31 | * Please keep the list sorted by vendor name and chip name, so that |
| 32 | * the output of 'flashrom -L' is alphabetically sorted. |
| 33 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 34 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 35 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 36 | /* |
| 37 | * .vendor = Vendor name |
| 38 | * .name = Chip name |
| 39 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 40 | * .manufacture_id = Manufacturer chip ID |
| 41 | * .model_id = Model chip ID |
| 42 | * .total_size = Total size in (binary) kbytes |
| 43 | * .page_size = Page or eraseblock(?) size in bytes |
| 44 | * .tested = Test status |
| 45 | * .probe = Probe function |
| 46 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 47 | * .block_erasers[] = Array of erase layouts and erase functions |
| 48 | * { |
| 49 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 50 | * .block_erase = Block erase function |
| 51 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 52 | * .printlock = Chip lock status function |
| 53 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 54 | * .write = Chip write function |
| 55 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 56 | */ |
| 57 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 58 | { |
| 59 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 60 | .name = "Am29F010A/B", |
| 61 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 62 | .manufacture_id = AMD_ID, |
| 63 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 64 | .total_size = 128, |
| 65 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 66 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 67 | .tested = TEST_UNTESTED, |
| 68 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 69 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 70 | .block_erasers = |
| 71 | { |
| 72 | { |
| 73 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 74 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 75 | }, { |
| 76 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 77 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 78 | }, |
| 79 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 80 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 81 | .read = read_memmapped, |
| 82 | }, |
| 83 | |
| 84 | { |
| 85 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 86 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 87 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 88 | .manufacture_id = AMD_ID, |
| 89 | .model_id = AM_29F002BB, |
| 90 | .total_size = 256, |
| 91 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 92 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 93 | .tested = TEST_UNTESTED, |
| 94 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 95 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 96 | .block_erasers = |
| 97 | { |
| 98 | { |
| 99 | .eraseblocks = { |
| 100 | {16 * 1024, 1}, |
| 101 | {8 * 1024, 2}, |
| 102 | {32 * 1024, 1}, |
| 103 | {64 * 1024, 3}, |
| 104 | }, |
| 105 | .block_erase = erase_sector_jedec, |
| 106 | }, { |
| 107 | .eraseblocks = { {256 * 1024, 1} }, |
| 108 | .block_erase = erase_chip_block_jedec, |
| 109 | }, |
| 110 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 111 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 112 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 113 | }, |
| 114 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 115 | { |
| 116 | .vendor = "AMD", |
| 117 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 118 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 119 | .manufacture_id = AMD_ID, |
| 120 | .model_id = AM_29F002BT, |
| 121 | .total_size = 256, |
| 122 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 123 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 124 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 125 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 126 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 127 | .block_erasers = |
| 128 | { |
| 129 | { |
| 130 | .eraseblocks = { |
| 131 | {64 * 1024, 3}, |
| 132 | {32 * 1024, 1}, |
| 133 | {8 * 1024, 2}, |
| 134 | {16 * 1024, 1}, |
| 135 | }, |
| 136 | .block_erase = erase_sector_jedec, |
| 137 | }, { |
| 138 | .eraseblocks = { {256 * 1024, 1} }, |
| 139 | .block_erase = erase_chip_block_jedec, |
| 140 | }, |
| 141 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 142 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 143 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 144 | }, |
| 145 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 146 | { |
| 147 | .vendor = "AMD", |
| 148 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 149 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 150 | .manufacture_id = AMD_ID, |
| 151 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 152 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 153 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 154 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 155 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 156 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 157 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 158 | .block_erasers = |
| 159 | { |
| 160 | { |
| 161 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 162 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 163 | }, { |
| 164 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 165 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 166 | }, |
| 167 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 168 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 169 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 170 | }, |
| 171 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 172 | { |
| 173 | .vendor = "AMD", |
| 174 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 175 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 176 | .manufacture_id = AMD_ID, |
| 177 | .model_id = AM_29F040B, |
| 178 | .total_size = 512, |
| 179 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 180 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 181 | .tested = TEST_UNTESTED, |
| 182 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 183 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 184 | .block_erasers = |
| 185 | { |
| 186 | { |
| 187 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 188 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 189 | }, { |
| 190 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 191 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 192 | }, |
| 193 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 194 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 195 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 196 | }, |
| 197 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 198 | { |
| 199 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 200 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 201 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 202 | .manufacture_id = AMD_ID, |
| 203 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 204 | .total_size = 1024, |
| 205 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 206 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 207 | .tested = TEST_UNTESTED, |
| 208 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 209 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 210 | .block_erasers = |
| 211 | { |
| 212 | { |
| 213 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 214 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 215 | }, { |
| 216 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 217 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 218 | }, |
| 219 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 220 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 221 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 222 | }, |
| 223 | |
| 224 | { |
| 225 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 226 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 227 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 228 | .manufacture_id = AMD_ID, |
| 229 | .model_id = AM_29LV040B, |
| 230 | .total_size = 512, |
| 231 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 232 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 233 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 234 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 235 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 236 | .block_erasers = |
| 237 | { |
| 238 | { |
| 239 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 240 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 241 | }, { |
| 242 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 243 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 244 | }, |
| 245 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 246 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 247 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 248 | }, |
| 249 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 250 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 251 | .vendor = "AMD", |
| 252 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 253 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 254 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 255 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 256 | .total_size = 1024, |
| 257 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 258 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 259 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 260 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 261 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 262 | .block_erasers = |
| 263 | { |
| 264 | { |
| 265 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 266 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 267 | }, { |
| 268 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 269 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 270 | }, |
| 271 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 272 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 273 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 274 | }, |
| 275 | |
| 276 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 277 | .vendor = "ASD", |
| 278 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 279 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 280 | .manufacture_id = ASD_ID, |
| 281 | .model_id = ASD_AE49F2008, |
| 282 | .total_size = 256, |
| 283 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 284 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 285 | .tested = TEST_UNTESTED, |
| 286 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 287 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 288 | .block_erasers = |
| 289 | { |
| 290 | { |
| 291 | .eraseblocks = { |
| 292 | {128 * 1024, 1}, |
| 293 | {96 * 1024, 1}, |
| 294 | {8 * 1024, 2}, |
| 295 | {16 * 1024, 1}, |
| 296 | }, |
| 297 | .block_erase = erase_sector_jedec, |
| 298 | }, { |
| 299 | .eraseblocks = { {256 * 1024, 1} }, |
| 300 | .block_erase = erase_chip_block_jedec, |
| 301 | } |
| 302 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 303 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 304 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 305 | }, |
| 306 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 307 | { |
| 308 | .vendor = "Atmel", |
| 309 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 310 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 311 | .manufacture_id = ATMEL_ID, |
| 312 | .model_id = AT_25DF021, |
| 313 | .total_size = 256, |
| 314 | .page_size = 256, |
| 315 | .tested = TEST_UNTESTED, |
| 316 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 317 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 318 | .block_erasers = |
| 319 | { |
| 320 | { |
| 321 | .eraseblocks = { {4 * 1024, 64} }, |
| 322 | .block_erase = spi_block_erase_20, |
| 323 | }, { |
| 324 | .eraseblocks = { {32 * 1024, 8} }, |
| 325 | .block_erase = spi_block_erase_52, |
| 326 | }, { |
| 327 | .eraseblocks = { {64 * 1024, 4} }, |
| 328 | .block_erase = spi_block_erase_d8, |
| 329 | }, { |
| 330 | .eraseblocks = { {256 * 1024, 1} }, |
| 331 | .block_erase = spi_block_erase_60, |
| 332 | }, { |
| 333 | .eraseblocks = { {256 * 1024, 1} }, |
| 334 | .block_erase = spi_block_erase_c7, |
| 335 | } |
| 336 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 337 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 338 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 339 | }, |
| 340 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 341 | { |
| 342 | .vendor = "Atmel", |
| 343 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 344 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 345 | .manufacture_id = ATMEL_ID, |
| 346 | .model_id = AT_25DF041A, |
| 347 | .total_size = 512, |
| 348 | .page_size = 256, |
| 349 | .tested = TEST_UNTESTED, |
| 350 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 351 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 352 | .block_erasers = |
| 353 | { |
| 354 | { |
| 355 | .eraseblocks = { {4 * 1024, 128} }, |
| 356 | .block_erase = spi_block_erase_20, |
| 357 | }, { |
| 358 | .eraseblocks = { {32 * 1024, 16} }, |
| 359 | .block_erase = spi_block_erase_52, |
| 360 | }, { |
| 361 | .eraseblocks = { {64 * 1024, 8} }, |
| 362 | .block_erase = spi_block_erase_d8, |
| 363 | }, { |
| 364 | .eraseblocks = { {512 * 1024, 1} }, |
| 365 | .block_erase = spi_block_erase_60, |
| 366 | }, { |
| 367 | .eraseblocks = { {512 * 1024, 1} }, |
| 368 | .block_erase = spi_block_erase_c7, |
| 369 | } |
| 370 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 371 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 372 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 373 | }, |
| 374 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 375 | { |
| 376 | .vendor = "Atmel", |
| 377 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 378 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 379 | .manufacture_id = ATMEL_ID, |
| 380 | .model_id = AT_25DF081, |
| 381 | .total_size = 1024, |
| 382 | .page_size = 256, |
| 383 | .tested = TEST_UNTESTED, |
| 384 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 385 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 386 | .block_erasers = |
| 387 | { |
| 388 | { |
| 389 | .eraseblocks = { {4 * 1024, 256} }, |
| 390 | .block_erase = spi_block_erase_20, |
| 391 | }, { |
| 392 | .eraseblocks = { {32 * 1024, 32} }, |
| 393 | .block_erase = spi_block_erase_52, |
| 394 | }, { |
| 395 | .eraseblocks = { {64 * 1024, 16} }, |
| 396 | .block_erase = spi_block_erase_d8, |
| 397 | }, { |
| 398 | .eraseblocks = { {1024 * 1024, 1} }, |
| 399 | .block_erase = spi_block_erase_60, |
| 400 | }, { |
| 401 | .eraseblocks = { {1024 * 1024, 1} }, |
| 402 | .block_erase = spi_block_erase_c7, |
| 403 | } |
| 404 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 405 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 406 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 407 | }, |
| 408 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 409 | { |
| 410 | .vendor = "Atmel", |
| 411 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 412 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 413 | .manufacture_id = ATMEL_ID, |
| 414 | .model_id = AT_25DF161, |
| 415 | .total_size = 2048, |
| 416 | .page_size = 256, |
| 417 | .tested = TEST_UNTESTED, |
| 418 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 419 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 420 | .block_erasers = |
| 421 | { |
| 422 | { |
| 423 | .eraseblocks = { {4 * 1024, 512} }, |
| 424 | .block_erase = spi_block_erase_20, |
| 425 | }, { |
| 426 | .eraseblocks = { {32 * 1024, 64} }, |
| 427 | .block_erase = spi_block_erase_52, |
| 428 | }, { |
| 429 | .eraseblocks = { {64 * 1024, 32} }, |
| 430 | .block_erase = spi_block_erase_d8, |
| 431 | }, { |
| 432 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 433 | .block_erase = spi_block_erase_60, |
| 434 | }, { |
| 435 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 436 | .block_erase = spi_block_erase_c7, |
| 437 | } |
| 438 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 439 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 440 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 441 | }, |
| 442 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 443 | { |
| 444 | .vendor = "Atmel", |
| 445 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 446 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 447 | .manufacture_id = ATMEL_ID, |
| 448 | .model_id = AT_25DF321, |
| 449 | .total_size = 4096, |
| 450 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 451 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 452 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 453 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 454 | .block_erasers = |
| 455 | { |
| 456 | { |
| 457 | .eraseblocks = { {4 * 1024, 1024} }, |
| 458 | .block_erase = spi_block_erase_20, |
| 459 | }, { |
| 460 | .eraseblocks = { {32 * 1024, 128} }, |
| 461 | .block_erase = spi_block_erase_52, |
| 462 | }, { |
| 463 | .eraseblocks = { {64 * 1024, 64} }, |
| 464 | .block_erase = spi_block_erase_d8, |
| 465 | }, { |
| 466 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 467 | .block_erase = spi_block_erase_60, |
| 468 | }, { |
| 469 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 470 | .block_erase = spi_block_erase_c7, |
| 471 | } |
| 472 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 473 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 474 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 475 | }, |
| 476 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 477 | { |
| 478 | .vendor = "Atmel", |
| 479 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 480 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 481 | .manufacture_id = ATMEL_ID, |
| 482 | .model_id = AT_25DF321A, |
| 483 | .total_size = 4096, |
| 484 | .page_size = 256, |
| 485 | .tested = TEST_UNTESTED, |
| 486 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 487 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 488 | .block_erasers = |
| 489 | { |
| 490 | { |
| 491 | .eraseblocks = { {4 * 1024, 1024} }, |
| 492 | .block_erase = spi_block_erase_20, |
| 493 | }, { |
| 494 | .eraseblocks = { {32 * 1024, 128} }, |
| 495 | .block_erase = spi_block_erase_52, |
| 496 | }, { |
| 497 | .eraseblocks = { {64 * 1024, 64} }, |
| 498 | .block_erase = spi_block_erase_d8, |
| 499 | }, { |
| 500 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 501 | .block_erase = spi_block_erase_60, |
| 502 | }, { |
| 503 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 504 | .block_erase = spi_block_erase_c7, |
| 505 | } |
| 506 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 507 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 508 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 509 | }, |
| 510 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 511 | { |
| 512 | .vendor = "Atmel", |
| 513 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 514 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 515 | .manufacture_id = ATMEL_ID, |
| 516 | .model_id = AT_25DF641, |
| 517 | .total_size = 8192, |
| 518 | .page_size = 256, |
| 519 | .tested = TEST_UNTESTED, |
| 520 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 521 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 522 | .block_erasers = |
| 523 | { |
| 524 | { |
| 525 | .eraseblocks = { {4 * 1024, 2048} }, |
| 526 | .block_erase = spi_block_erase_20, |
| 527 | }, { |
| 528 | .eraseblocks = { {32 * 1024, 256} }, |
| 529 | .block_erase = spi_block_erase_52, |
| 530 | }, { |
| 531 | .eraseblocks = { {64 * 1024, 128} }, |
| 532 | .block_erase = spi_block_erase_d8, |
| 533 | }, { |
| 534 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 535 | .block_erase = spi_block_erase_60, |
| 536 | }, { |
| 537 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 538 | .block_erase = spi_block_erase_c7, |
| 539 | } |
| 540 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 541 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 542 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 543 | }, |
| 544 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 545 | { |
| 546 | .vendor = "Atmel", |
| 547 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 548 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 549 | .manufacture_id = ATMEL_ID, |
| 550 | .model_id = AT_25F512B, |
| 551 | .total_size = 64, |
| 552 | .page_size = 256, |
| 553 | .tested = TEST_UNTESTED, |
| 554 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 555 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 556 | .block_erasers = |
| 557 | { |
| 558 | { |
| 559 | .eraseblocks = { {4 * 1024, 16} }, |
| 560 | .block_erase = spi_block_erase_20, |
| 561 | }, { |
| 562 | .eraseblocks = { {32 * 1024, 2} }, |
| 563 | .block_erase = spi_block_erase_52, |
| 564 | }, { |
| 565 | .eraseblocks = { {32 * 1024, 2} }, |
| 566 | .block_erase = spi_block_erase_d8, |
| 567 | }, { |
| 568 | .eraseblocks = { {64 * 1024, 1} }, |
| 569 | .block_erase = spi_block_erase_60, |
| 570 | }, { |
| 571 | .eraseblocks = { {64 * 1024, 1} }, |
| 572 | .block_erase = spi_block_erase_c7, |
| 573 | } |
| 574 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 575 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 576 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 577 | }, |
| 578 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 579 | { |
| 580 | .vendor = "Atmel", |
| 581 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 582 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 583 | .manufacture_id = ATMEL_ID, |
| 584 | .model_id = AT_25FS010, |
| 585 | .total_size = 128, |
| 586 | .page_size = 256, |
| 587 | .tested = TEST_UNTESTED, |
| 588 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 589 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 590 | .block_erasers = |
| 591 | { |
| 592 | { |
| 593 | .eraseblocks = { {4 * 1024, 32} }, |
| 594 | .block_erase = spi_block_erase_20, |
| 595 | }, { |
| 596 | .eraseblocks = { {32 * 1024, 4} }, |
| 597 | .block_erase = spi_block_erase_52, |
| 598 | }, { |
| 599 | .eraseblocks = { {32 * 1024, 4} }, |
| 600 | .block_erase = spi_block_erase_d8, |
| 601 | }, { |
| 602 | .eraseblocks = { {128 * 1024, 1} }, |
| 603 | .block_erase = spi_block_erase_60, |
| 604 | }, { |
| 605 | .eraseblocks = { {128 * 1024, 1} }, |
| 606 | .block_erase = spi_block_erase_c7, |
| 607 | } |
| 608 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 609 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 610 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 611 | }, |
| 612 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 613 | { |
| 614 | .vendor = "Atmel", |
| 615 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 616 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 617 | .manufacture_id = ATMEL_ID, |
| 618 | .model_id = AT_25FS040, |
| 619 | .total_size = 512, |
| 620 | .page_size = 256, |
| 621 | .tested = TEST_UNTESTED, |
| 622 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 623 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 624 | .block_erasers = |
| 625 | { |
| 626 | { |
| 627 | .eraseblocks = { {4 * 1024, 128} }, |
| 628 | .block_erase = spi_block_erase_20, |
| 629 | }, { |
| 630 | .eraseblocks = { {64 * 1024, 8} }, |
| 631 | .block_erase = spi_block_erase_52, |
| 632 | }, { |
| 633 | .eraseblocks = { {64 * 1024, 8} }, |
| 634 | .block_erase = spi_block_erase_d8, |
| 635 | }, { |
| 636 | .eraseblocks = { {512 * 1024, 1} }, |
| 637 | .block_erase = spi_block_erase_60, |
| 638 | }, { |
| 639 | .eraseblocks = { {512 * 1024, 1} }, |
| 640 | .block_erase = spi_block_erase_c7, |
| 641 | } |
| 642 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 643 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 644 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 645 | }, |
| 646 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 647 | { |
| 648 | .vendor = "Atmel", |
| 649 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 650 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 651 | .manufacture_id = ATMEL_ID, |
| 652 | .model_id = AT_26DF041, |
| 653 | .total_size = 512, |
| 654 | .page_size = 256, |
| 655 | .tested = TEST_UNTESTED, |
| 656 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 657 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 658 | .block_erasers = |
| 659 | { |
| 660 | { |
| 661 | .eraseblocks = { {4 * 1024, 128} }, |
| 662 | .block_erase = spi_block_erase_20, |
| 663 | } |
| 664 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 665 | .write = NULL /* Incompatible Page write */, |
| 666 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 667 | }, |
| 668 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 669 | { |
| 670 | .vendor = "Atmel", |
| 671 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 672 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 673 | .manufacture_id = ATMEL_ID, |
| 674 | .model_id = AT_26DF081A, |
| 675 | .total_size = 1024, |
| 676 | .page_size = 256, |
| 677 | .tested = TEST_UNTESTED, |
| 678 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 679 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 680 | .block_erasers = |
| 681 | { |
| 682 | { |
| 683 | .eraseblocks = { {4 * 1024, 256} }, |
| 684 | .block_erase = spi_block_erase_20, |
| 685 | }, { |
| 686 | .eraseblocks = { {32 * 1024, 32} }, |
| 687 | .block_erase = spi_block_erase_52, |
| 688 | }, { |
| 689 | .eraseblocks = { {64 * 1024, 16} }, |
| 690 | .block_erase = spi_block_erase_d8, |
| 691 | }, { |
| 692 | .eraseblocks = { {1024 * 1024, 1} }, |
| 693 | .block_erase = spi_block_erase_60, |
| 694 | }, { |
| 695 | .eraseblocks = { {1024 * 1024, 1} }, |
| 696 | .block_erase = spi_block_erase_c7, |
| 697 | } |
| 698 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 699 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 700 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 701 | }, |
| 702 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 703 | { |
| 704 | .vendor = "Atmel", |
| 705 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 706 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 707 | .manufacture_id = ATMEL_ID, |
| 708 | .model_id = AT_26DF161, |
| 709 | .total_size = 2048, |
| 710 | .page_size = 256, |
| 711 | .tested = TEST_UNTESTED, |
| 712 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 713 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 714 | .block_erasers = |
| 715 | { |
| 716 | { |
| 717 | .eraseblocks = { {4 * 1024, 512} }, |
| 718 | .block_erase = spi_block_erase_20, |
| 719 | }, { |
| 720 | .eraseblocks = { {32 * 1024, 64} }, |
| 721 | .block_erase = spi_block_erase_52, |
| 722 | }, { |
| 723 | .eraseblocks = { {64 * 1024, 32} }, |
| 724 | .block_erase = spi_block_erase_d8, |
| 725 | }, { |
| 726 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 727 | .block_erase = spi_block_erase_60, |
| 728 | }, { |
| 729 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 730 | .block_erase = spi_block_erase_c7, |
| 731 | } |
| 732 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 733 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 734 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 735 | }, |
| 736 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 737 | { |
| 738 | .vendor = "Atmel", |
| 739 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 740 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 741 | .manufacture_id = ATMEL_ID, |
| 742 | .model_id = AT_26DF161A, |
| 743 | .total_size = 2048, |
| 744 | .page_size = 256, |
| 745 | .tested = TEST_UNTESTED, |
| 746 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 747 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 748 | .block_erasers = |
| 749 | { |
| 750 | { |
| 751 | .eraseblocks = { {4 * 1024, 512} }, |
| 752 | .block_erase = spi_block_erase_20, |
| 753 | }, { |
| 754 | .eraseblocks = { {32 * 1024, 64} }, |
| 755 | .block_erase = spi_block_erase_52, |
| 756 | }, { |
| 757 | .eraseblocks = { {64 * 1024, 32} }, |
| 758 | .block_erase = spi_block_erase_d8, |
| 759 | }, { |
| 760 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 761 | .block_erase = spi_block_erase_60, |
| 762 | }, { |
| 763 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 764 | .block_erase = spi_block_erase_c7, |
| 765 | } |
| 766 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 767 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 768 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 769 | }, |
| 770 | |
| 771 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 772 | /*{ |
| 773 | .vendor = "Atmel", |
| 774 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 775 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 776 | .manufacture_id = ATMEL_ID, |
| 777 | .model_id = AT_26DF321, |
| 778 | .total_size = 4096, |
| 779 | .page_size = 256, |
| 780 | .tested = TEST_UNTESTED, |
| 781 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 782 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 783 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 784 | .read = spi_chip_read, |
| 785 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 786 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 787 | { |
| 788 | .vendor = "Atmel", |
| 789 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 790 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 791 | .manufacture_id = ATMEL_ID, |
| 792 | .model_id = AT_26F004, |
| 793 | .total_size = 512, |
| 794 | .page_size = 256, |
| 795 | .tested = TEST_UNTESTED, |
| 796 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 797 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 798 | .block_erasers = |
| 799 | { |
| 800 | { |
| 801 | .eraseblocks = { {4 * 1024, 128} }, |
| 802 | .block_erase = spi_block_erase_20, |
| 803 | }, { |
| 804 | .eraseblocks = { {32 * 1024, 16} }, |
| 805 | .block_erase = spi_block_erase_52, |
| 806 | }, { |
| 807 | .eraseblocks = { {64 * 1024, 8} }, |
| 808 | .block_erase = spi_block_erase_d8, |
| 809 | }, { |
| 810 | .eraseblocks = { {512 * 1024, 1} }, |
| 811 | .block_erase = spi_block_erase_60, |
| 812 | }, { |
| 813 | .eraseblocks = { {512 * 1024, 1} }, |
| 814 | .block_erase = spi_block_erase_c7, |
| 815 | } |
| 816 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 817 | .write = NULL /* Incompatible Page write */, |
| 818 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 819 | }, |
| 820 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 821 | { |
| 822 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 823 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 824 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 825 | .manufacture_id = ATMEL_ID, |
| 826 | .model_id = AT_29C512, |
| 827 | .total_size = 64, |
| 828 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 829 | .feature_bits = FEATURE_LONG_RESET, |
| 830 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 831 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 832 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 833 | .block_erasers = |
| 834 | { |
| 835 | { |
| 836 | .eraseblocks = { {64 * 1024, 1} }, |
| 837 | .block_erase = erase_chip_block_jedec, |
| 838 | } |
| 839 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 840 | .write = write_jedec, |
| 841 | .read = read_memmapped, |
| 842 | |
| 843 | }, |
| 844 | |
| 845 | { |
| 846 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 847 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 848 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 849 | .manufacture_id = ATMEL_ID, |
| 850 | .model_id = AT_29C010A, |
| 851 | .total_size = 128, |
| 852 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 853 | .feature_bits = FEATURE_LONG_RESET, |
| 854 | .tested = TEST_UNTESTED, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 855 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 856 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 857 | .block_erasers = |
| 858 | { |
| 859 | { |
| 860 | .eraseblocks = { {128 * 1024, 1} }, |
| 861 | .block_erase = erase_chip_block_jedec, |
| 862 | } |
| 863 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 864 | .write = write_jedec, /* FIXME */ |
| 865 | .read = read_memmapped, |
| 866 | }, |
| 867 | |
| 868 | { |
| 869 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 870 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 871 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 872 | .manufacture_id = ATMEL_ID, |
| 873 | .model_id = AT_29C020, |
| 874 | .total_size = 256, |
| 875 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 876 | .feature_bits = FEATURE_LONG_RESET, |
| 877 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 878 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 879 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 880 | .block_erasers = |
| 881 | { |
| 882 | { |
| 883 | .eraseblocks = { {256 * 1024, 1} }, |
| 884 | .block_erase = erase_chip_block_jedec, |
| 885 | } |
| 886 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 887 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 888 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 889 | }, |
| 890 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 891 | { |
| 892 | .vendor = "Atmel", |
| 893 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 894 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 895 | .manufacture_id = ATMEL_ID, |
| 896 | .model_id = AT_29C040A, |
| 897 | .total_size = 512, |
| 898 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 899 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 900 | .tested = TEST_UNTESTED, |
| 901 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 902 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 903 | .block_erasers = |
| 904 | { |
| 905 | { |
| 906 | .eraseblocks = { {512 * 1024, 1} }, |
| 907 | .block_erase = erase_chip_block_jedec, |
| 908 | } |
| 909 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 910 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 911 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 912 | }, |
| 913 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 914 | { |
| 915 | .vendor = "Atmel", |
| 916 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 917 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 918 | .manufacture_id = ATMEL_ID, |
| 919 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 920 | .total_size = 16896 /* No power of two sizes */, |
| 921 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 922 | .tested = TEST_BAD_READ, |
| 923 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 924 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 925 | .write = NULL /* Incompatible Page write */, |
| 926 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 927 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 928 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 929 | { |
| 930 | .vendor = "Atmel", |
| 931 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 932 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 933 | .manufacture_id = ATMEL_ID, |
| 934 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 935 | .total_size = 128 /* Size can only be determined from status register */, |
| 936 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 937 | .tested = TEST_BAD_READ, |
| 938 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 939 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 940 | .write = NULL, |
| 941 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 942 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 943 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 944 | { |
| 945 | .vendor = "Atmel", |
| 946 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 947 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 948 | .manufacture_id = ATMEL_ID, |
| 949 | .model_id = AT_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 950 | .total_size = 256 /* Size can only be determined from status register */, |
| 951 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 952 | .tested = TEST_BAD_READ, |
| 953 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 954 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 955 | .write = NULL, |
| 956 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 957 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 959 | { |
| 960 | .vendor = "Atmel", |
| 961 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 962 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 963 | .manufacture_id = ATMEL_ID, |
| 964 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 965 | .total_size = 512 /* Size can only be determined from status register */, |
| 966 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 967 | .tested = TEST_BAD_READ, |
| 968 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 969 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 970 | .write = NULL, |
| 971 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 972 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 973 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 974 | { |
| 975 | .vendor = "Atmel", |
| 976 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 977 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 978 | .manufacture_id = ATMEL_ID, |
| 979 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 980 | .total_size = 1024 /* Size can only be determined from status register */, |
| 981 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 982 | .tested = TEST_BAD_READ, |
| 983 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 984 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 985 | .write = NULL, |
| 986 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 987 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 988 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 989 | { |
| 990 | .vendor = "Atmel", |
| 991 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 992 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 993 | .manufacture_id = ATMEL_ID, |
| 994 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 995 | .total_size = 2048 /* Size can only be determined from status register */, |
| 996 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 997 | .tested = TEST_BAD_READ, |
| 998 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 999 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1000 | .write = NULL, |
| 1001 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1002 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1003 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1004 | { |
| 1005 | .vendor = "Atmel", |
| 1006 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1007 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1008 | .manufacture_id = ATMEL_ID, |
| 1009 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1010 | .total_size = 4224 /* No power of two sizes */, |
| 1011 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1012 | .tested = TEST_BAD_READ, |
| 1013 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1014 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1015 | .write = NULL, |
| 1016 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1017 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1018 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1019 | { |
| 1020 | .vendor = "Atmel", |
| 1021 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1022 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1023 | .manufacture_id = ATMEL_ID, |
| 1024 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1025 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1026 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1027 | .tested = TEST_BAD_READ, |
| 1028 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1029 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1030 | .write = NULL, |
| 1031 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1032 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1033 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1034 | { |
| 1035 | .vendor = "Atmel", |
| 1036 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1037 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1038 | .manufacture_id = ATMEL_ID, |
| 1039 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1040 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1041 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1042 | .tested = TEST_BAD_READ, |
| 1043 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1044 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1045 | .write = NULL, |
| 1046 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1047 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1048 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1049 | { |
| 1050 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1051 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1052 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1053 | .manufacture_id = ATMEL_ID, |
| 1054 | .model_id = AT_49BV512, |
| 1055 | .total_size = 64, |
| 1056 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1057 | .feature_bits = FEATURE_EITHER_RESET, |
| 1058 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1059 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1060 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1061 | .block_erasers = |
| 1062 | { |
| 1063 | { |
| 1064 | .eraseblocks = { {64 * 1024, 1} }, |
| 1065 | .block_erase = erase_chip_block_jedec, |
| 1066 | } |
| 1067 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1068 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1069 | .read = read_memmapped, |
| 1070 | }, |
| 1071 | |
| 1072 | { |
| 1073 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1074 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1075 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1076 | .manufacture_id = ATMEL_ID, |
| 1077 | .model_id = AT_49F002N, |
| 1078 | .total_size = 256, |
| 1079 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1080 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1081 | .tested = TEST_UNTESTED, |
| 1082 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1083 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1084 | .block_erasers = |
| 1085 | { |
| 1086 | { |
| 1087 | .eraseblocks = { |
| 1088 | {16 * 1024, 1}, |
| 1089 | {8 * 1024, 2}, |
| 1090 | {96 * 1024, 1}, |
| 1091 | {128 * 1024, 1}, |
| 1092 | }, |
| 1093 | .block_erase = erase_sector_jedec, |
| 1094 | }, { |
| 1095 | .eraseblocks = { {256 * 1024, 1} }, |
| 1096 | .block_erase = erase_chip_block_jedec, |
| 1097 | } |
| 1098 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1099 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1100 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1101 | }, |
| 1102 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1103 | { |
| 1104 | .vendor = "Atmel", |
| 1105 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1106 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1107 | .manufacture_id = ATMEL_ID, |
| 1108 | .model_id = AT_49F002NT, |
| 1109 | .total_size = 256, |
| 1110 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1111 | .feature_bits = FEATURE_EITHER_RESET, |
| 1112 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1113 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1114 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1115 | .block_erasers = |
| 1116 | { |
| 1117 | { |
| 1118 | .eraseblocks = { |
| 1119 | {128 * 1024, 1}, |
| 1120 | {96 * 1024, 1}, |
| 1121 | {8 * 1024, 2}, |
| 1122 | {16 * 1024, 1}, |
| 1123 | }, |
| 1124 | .block_erase = erase_sector_jedec, |
| 1125 | }, { |
| 1126 | .eraseblocks = { {256 * 1024, 1} }, |
| 1127 | .block_erase = erase_chip_block_jedec, |
| 1128 | } |
| 1129 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1130 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1131 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1132 | }, |
| 1133 | |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1134 | /* The next two chip definitions have top/bottom boot blocks, but has no |
| 1135 | device differenciation between the two */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1136 | { |
| 1137 | .vendor = "AMIC", |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1138 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1139 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1140 | .manufacture_id = AMIC_ID, |
| 1141 | .model_id = AMIC_A25L40P, |
| 1142 | .total_size = 512, |
| 1143 | .page_size = 256, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1144 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1145 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1146 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1147 | .block_erasers = |
| 1148 | { |
| 1149 | { |
| 1150 | .eraseblocks = { |
| 1151 | {64 * 1024, 7}, |
| 1152 | {32 * 1024, 1}, |
| 1153 | {16 * 1024, 1}, |
| 1154 | {8 * 1024, 1}, |
| 1155 | {4 * 1024, 2}, |
| 1156 | }, |
| 1157 | .block_erase = spi_block_erase_d8, |
| 1158 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1159 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1160 | .block_erase = spi_block_erase_c7, |
| 1161 | } |
| 1162 | }, |
| 1163 | .write = spi_chip_write_256, |
| 1164 | .read = spi_chip_read, |
| 1165 | }, |
| 1166 | |
| 1167 | { |
| 1168 | .vendor = "AMIC", |
| 1169 | .name = "A25L40PU", |
| 1170 | .bustype = CHIP_BUSTYPE_SPI, |
| 1171 | .manufacture_id = AMIC_ID, |
| 1172 | .model_id = AMIC_A25L40P, |
| 1173 | .total_size = 512, |
| 1174 | .page_size = 256, |
| 1175 | .tested = TEST_OK_PRW, |
| 1176 | .probe = probe_spi_rdid4, |
| 1177 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1178 | .block_erasers = |
| 1179 | { |
| 1180 | { |
| 1181 | .eraseblocks = { |
| 1182 | {4 * 1024, 2}, |
| 1183 | {8 * 1024, 1}, |
| 1184 | {16 * 1024, 1}, |
| 1185 | {32 * 1024, 1}, |
| 1186 | {64 * 1024, 7}, |
| 1187 | }, |
| 1188 | .block_erase = spi_block_erase_d8, |
| 1189 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1190 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1191 | .block_erase = spi_block_erase_c7, |
| 1192 | } |
| 1193 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1194 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1195 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1196 | }, |
| 1197 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1198 | { |
| 1199 | .vendor = "AMIC", |
| 1200 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1201 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1202 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1203 | .model_id = AMIC_A29002B, |
| 1204 | .total_size = 256, |
| 1205 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1206 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1207 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1208 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1209 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1210 | .block_erasers = |
| 1211 | { |
| 1212 | { |
| 1213 | .eraseblocks = { |
| 1214 | {16 * 1024, 1}, |
| 1215 | {8 * 1024, 2}, |
| 1216 | {32 * 1024, 1}, |
| 1217 | {64 * 1024, 3}, |
| 1218 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1219 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1220 | }, { |
| 1221 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1222 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1223 | }, |
| 1224 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1225 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1226 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1227 | }, |
| 1228 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1229 | { |
| 1230 | .vendor = "AMIC", |
| 1231 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1232 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1233 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1234 | .model_id = AMIC_A29002T, |
| 1235 | .total_size = 256, |
| 1236 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1237 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1238 | .tested = TEST_UNTESTED, |
| 1239 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1240 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1241 | .block_erasers = |
| 1242 | { |
| 1243 | { |
| 1244 | .eraseblocks = { |
| 1245 | {64 * 1024, 3}, |
| 1246 | {32 * 1024, 1}, |
| 1247 | {8 * 1024, 2}, |
| 1248 | {16 * 1024, 1}, |
| 1249 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1250 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1251 | }, { |
| 1252 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1253 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1254 | }, |
| 1255 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1256 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1257 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1258 | }, |
| 1259 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1260 | { |
| 1261 | .vendor = "AMIC", |
| 1262 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1263 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1264 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1265 | .model_id = AMIC_A29040B, |
| 1266 | .total_size = 512, |
| 1267 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1268 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1269 | .tested = TEST_UNTESTED, |
| 1270 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1271 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1272 | .block_erasers = |
| 1273 | { |
| 1274 | { |
| 1275 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1276 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1277 | }, { |
| 1278 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1279 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1280 | }, |
| 1281 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1282 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1283 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1284 | }, |
| 1285 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1286 | { |
| 1287 | .vendor = "AMIC", |
| 1288 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1289 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1290 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1291 | .model_id = AMIC_A49LF040A, |
| 1292 | .total_size = 512, |
| 1293 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1294 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 1295 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1296 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1297 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1298 | .block_erasers = |
| 1299 | { |
| 1300 | { |
| 1301 | .eraseblocks = { {64 * 1024, 8} }, |
| 1302 | .block_erase = erase_block_jedec, |
| 1303 | }, { |
| 1304 | .eraseblocks = { {512 * 1024, 1} }, |
| 1305 | .block_erase = erase_chip_block_jedec, |
| 1306 | } |
| 1307 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1308 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1309 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1310 | }, |
| 1311 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1312 | { |
| 1313 | .vendor = "EMST", |
| 1314 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1315 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1316 | .manufacture_id = EMST_ID, |
| 1317 | .model_id = EMST_F49B002UA, |
| 1318 | .total_size = 256, |
| 1319 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1320 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1321 | .tested = TEST_UNTESTED, |
| 1322 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1323 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1324 | .block_erasers = |
| 1325 | { |
| 1326 | { |
| 1327 | .eraseblocks = { |
| 1328 | {128 * 1024, 1}, |
| 1329 | {96 * 1024, 1}, |
| 1330 | {8 * 1024, 2}, |
| 1331 | {16 * 1024, 1}, |
| 1332 | }, |
| 1333 | .block_erase = erase_sector_jedec, |
| 1334 | }, { |
| 1335 | .eraseblocks = { {256 * 1024, 1} }, |
| 1336 | .block_erase = erase_chip_block_jedec, |
| 1337 | } |
| 1338 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1339 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1340 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1341 | }, |
| 1342 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1343 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1344 | .vendor = "Eon", |
| 1345 | .name = "EN25B05", |
| 1346 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1347 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1348 | .model_id = EN_25B05, |
| 1349 | .total_size = 64, |
| 1350 | .page_size = 256, |
| 1351 | .tested = TEST_UNTESTED, |
| 1352 | .probe = probe_spi_rdid, |
| 1353 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1354 | .block_erasers = |
| 1355 | { |
| 1356 | { |
| 1357 | .eraseblocks = { |
| 1358 | {4 * 1024, 2}, |
| 1359 | {8 * 1024, 1}, |
| 1360 | {16 * 1024, 1}, |
| 1361 | {32 * 1024, 1}, |
| 1362 | }, |
| 1363 | .block_erase = spi_block_erase_d8, |
| 1364 | }, { |
| 1365 | .eraseblocks = { {64 * 1024, 1} }, |
| 1366 | .block_erase = spi_block_erase_c7, |
| 1367 | } |
| 1368 | }, |
| 1369 | .write = spi_chip_write_256, |
| 1370 | .read = spi_chip_read, |
| 1371 | }, |
| 1372 | |
| 1373 | { |
| 1374 | .vendor = "Eon", |
| 1375 | .name = "EN25B05T", |
| 1376 | .bustype = CHIP_BUSTYPE_SPI, |
| 1377 | .manufacture_id = EON_ID_NOPREFIX, |
| 1378 | .model_id = EN_25B05, |
| 1379 | .total_size = 64, |
| 1380 | .page_size = 256, |
| 1381 | .tested = TEST_UNTESTED, |
| 1382 | .probe = probe_spi_rdid, |
| 1383 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1384 | .block_erasers = |
| 1385 | { |
| 1386 | { |
| 1387 | .eraseblocks = { |
| 1388 | {32 * 1024, 1}, |
| 1389 | {16 * 1024, 1}, |
| 1390 | {8 * 1024, 1}, |
| 1391 | {4 * 1024, 2}, |
| 1392 | }, |
| 1393 | .block_erase = spi_block_erase_d8, |
| 1394 | }, { |
| 1395 | .eraseblocks = { {64 * 1024, 1} }, |
| 1396 | .block_erase = spi_block_erase_c7, |
| 1397 | } |
| 1398 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1399 | .write = spi_chip_write_256, |
| 1400 | .read = spi_chip_read, |
| 1401 | }, |
| 1402 | |
| 1403 | { |
| 1404 | .vendor = "Eon", |
| 1405 | .name = "EN25B10", |
| 1406 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1407 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1408 | .model_id = EN_25B10, |
| 1409 | .total_size = 128, |
| 1410 | .page_size = 256, |
| 1411 | .tested = TEST_UNTESTED, |
| 1412 | .probe = probe_spi_rdid, |
| 1413 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1414 | .block_erasers = |
| 1415 | { |
| 1416 | { |
| 1417 | .eraseblocks = { |
| 1418 | {4 * 1024, 2}, |
| 1419 | {8 * 1024, 1}, |
| 1420 | {16 * 1024, 1}, |
| 1421 | {32 * 1024, 3}, |
| 1422 | }, |
| 1423 | .block_erase = spi_block_erase_d8, |
| 1424 | }, { |
| 1425 | .eraseblocks = { {128 * 1024, 1} }, |
| 1426 | .block_erase = spi_block_erase_c7, |
| 1427 | } |
| 1428 | }, |
| 1429 | .write = spi_chip_write_256, |
| 1430 | .read = spi_chip_read, |
| 1431 | }, |
| 1432 | |
| 1433 | { |
| 1434 | .vendor = "Eon", |
| 1435 | .name = "EN25B10T", |
| 1436 | .bustype = CHIP_BUSTYPE_SPI, |
| 1437 | .manufacture_id = EON_ID_NOPREFIX, |
| 1438 | .model_id = EN_25B10, |
| 1439 | .total_size = 128, |
| 1440 | .page_size = 256, |
| 1441 | .tested = TEST_UNTESTED, |
| 1442 | .probe = probe_spi_rdid, |
| 1443 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1444 | .block_erasers = |
| 1445 | { |
| 1446 | { |
| 1447 | .eraseblocks = { |
| 1448 | {32 * 1024, 3}, |
| 1449 | {16 * 1024, 1}, |
| 1450 | {8 * 1024, 1}, |
| 1451 | {4 * 1024, 2}, |
| 1452 | }, |
| 1453 | .block_erase = spi_block_erase_d8, |
| 1454 | }, { |
| 1455 | .eraseblocks = { {128 * 1024, 1} }, |
| 1456 | .block_erase = spi_block_erase_c7, |
| 1457 | } |
| 1458 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1459 | .write = spi_chip_write_256, |
| 1460 | .read = spi_chip_read, |
| 1461 | }, |
| 1462 | |
| 1463 | { |
| 1464 | .vendor = "Eon", |
| 1465 | .name = "EN25B20", |
| 1466 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1467 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1468 | .model_id = EN_25B20, |
| 1469 | .total_size = 256, |
| 1470 | .page_size = 256, |
| 1471 | .tested = TEST_UNTESTED, |
| 1472 | .probe = probe_spi_rdid, |
| 1473 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1474 | .block_erasers = |
| 1475 | { |
| 1476 | { |
| 1477 | .eraseblocks = { |
| 1478 | {4 * 1024, 2}, |
| 1479 | {8 * 1024, 1}, |
| 1480 | {16 * 1024, 1}, |
| 1481 | {32 * 1024, 1}, |
| 1482 | {64 * 1024, 3} |
| 1483 | }, |
| 1484 | .block_erase = spi_block_erase_d8, |
| 1485 | }, { |
| 1486 | .eraseblocks = { {256 * 1024, 1} }, |
| 1487 | .block_erase = spi_block_erase_c7, |
| 1488 | } |
| 1489 | }, |
| 1490 | .write = spi_chip_write_256, |
| 1491 | .read = spi_chip_read, |
| 1492 | }, |
| 1493 | |
| 1494 | { |
| 1495 | .vendor = "Eon", |
| 1496 | .name = "EN25B20T", |
| 1497 | .bustype = CHIP_BUSTYPE_SPI, |
| 1498 | .manufacture_id = EON_ID_NOPREFIX, |
| 1499 | .model_id = EN_25B20, |
| 1500 | .total_size = 256, |
| 1501 | .page_size = 256, |
| 1502 | .tested = TEST_UNTESTED, |
| 1503 | .probe = probe_spi_rdid, |
| 1504 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1505 | .block_erasers = |
| 1506 | { |
| 1507 | { |
| 1508 | .eraseblocks = { |
| 1509 | {64 * 1024, 3}, |
| 1510 | {32 * 1024, 1}, |
| 1511 | {16 * 1024, 1}, |
| 1512 | {8 * 1024, 1}, |
| 1513 | {4 * 1024, 2}, |
| 1514 | }, |
| 1515 | .block_erase = spi_block_erase_d8, |
| 1516 | }, { |
| 1517 | .eraseblocks = { {256 * 1024, 1} }, |
| 1518 | .block_erase = spi_block_erase_c7, |
| 1519 | } |
| 1520 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1521 | .write = spi_chip_write_256, |
| 1522 | .read = spi_chip_read, |
| 1523 | }, |
| 1524 | |
| 1525 | { |
| 1526 | .vendor = "Eon", |
| 1527 | .name = "EN25B40", |
| 1528 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1529 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1530 | .model_id = EN_25B40, |
| 1531 | .total_size = 512, |
| 1532 | .page_size = 256, |
| 1533 | .tested = TEST_UNTESTED, |
| 1534 | .probe = probe_spi_rdid, |
| 1535 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1536 | .block_erasers = |
| 1537 | { |
| 1538 | { |
| 1539 | .eraseblocks = { |
| 1540 | {4 * 1024, 2}, |
| 1541 | {8 * 1024, 1}, |
| 1542 | {16 * 1024, 1}, |
| 1543 | {32 * 1024, 1}, |
| 1544 | {64 * 1024, 7} |
| 1545 | }, |
| 1546 | .block_erase = spi_block_erase_d8, |
| 1547 | }, { |
| 1548 | .eraseblocks = { {512 * 1024, 1} }, |
| 1549 | .block_erase = spi_block_erase_c7, |
| 1550 | } |
| 1551 | }, |
| 1552 | .write = spi_chip_write_256, |
| 1553 | .read = spi_chip_read, |
| 1554 | }, |
| 1555 | |
| 1556 | { |
| 1557 | .vendor = "Eon", |
| 1558 | .name = "EN25B40T", |
| 1559 | .bustype = CHIP_BUSTYPE_SPI, |
| 1560 | .manufacture_id = EON_ID_NOPREFIX, |
| 1561 | .model_id = EN_25B40, |
| 1562 | .total_size = 512, |
| 1563 | .page_size = 256, |
| 1564 | .tested = TEST_UNTESTED, |
| 1565 | .probe = probe_spi_rdid, |
| 1566 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1567 | .block_erasers = |
| 1568 | { |
| 1569 | { |
| 1570 | .eraseblocks = { |
| 1571 | {64 * 1024, 7}, |
| 1572 | {32 * 1024, 1}, |
| 1573 | {16 * 1024, 1}, |
| 1574 | {8 * 1024, 1}, |
| 1575 | {4 * 1024, 2}, |
| 1576 | }, |
| 1577 | .block_erase = spi_block_erase_d8, |
| 1578 | }, { |
| 1579 | .eraseblocks = { {512 * 1024, 1} }, |
| 1580 | .block_erase = spi_block_erase_c7, |
| 1581 | } |
| 1582 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1583 | .write = spi_chip_write_256, |
| 1584 | .read = spi_chip_read, |
| 1585 | }, |
| 1586 | |
| 1587 | { |
| 1588 | .vendor = "Eon", |
| 1589 | .name = "EN25B80", |
| 1590 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1591 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1592 | .model_id = EN_25B80, |
| 1593 | .total_size = 1024, |
| 1594 | .page_size = 256, |
| 1595 | .tested = TEST_UNTESTED, |
| 1596 | .probe = probe_spi_rdid, |
| 1597 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1598 | .block_erasers = |
| 1599 | { |
| 1600 | { |
| 1601 | .eraseblocks = { |
| 1602 | {4 * 1024, 2}, |
| 1603 | {8 * 1024, 1}, |
| 1604 | {16 * 1024, 1}, |
| 1605 | {32 * 1024, 1}, |
| 1606 | {64 * 1024, 15} |
| 1607 | }, |
| 1608 | .block_erase = spi_block_erase_d8, |
| 1609 | }, { |
| 1610 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1611 | .block_erase = spi_block_erase_c7, |
| 1612 | } |
| 1613 | }, |
| 1614 | .write = spi_chip_write_256, |
| 1615 | .read = spi_chip_read, |
| 1616 | }, |
| 1617 | |
| 1618 | { |
| 1619 | .vendor = "Eon", |
| 1620 | .name = "EN25B80T", |
| 1621 | .bustype = CHIP_BUSTYPE_SPI, |
| 1622 | .manufacture_id = EON_ID_NOPREFIX, |
| 1623 | .model_id = EN_25B80, |
| 1624 | .total_size = 1024, |
| 1625 | .page_size = 256, |
| 1626 | .tested = TEST_UNTESTED, |
| 1627 | .probe = probe_spi_rdid, |
| 1628 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1629 | .block_erasers = |
| 1630 | { |
| 1631 | { |
| 1632 | .eraseblocks = { |
| 1633 | {64 * 1024, 15}, |
| 1634 | {32 * 1024, 1}, |
| 1635 | {16 * 1024, 1}, |
| 1636 | {8 * 1024, 1}, |
| 1637 | {4 * 1024, 2}, |
| 1638 | }, |
| 1639 | .block_erase = spi_block_erase_d8, |
| 1640 | }, { |
| 1641 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1642 | .block_erase = spi_block_erase_c7, |
| 1643 | } |
| 1644 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1645 | .write = spi_chip_write_256, |
| 1646 | .read = spi_chip_read, |
| 1647 | }, |
| 1648 | |
| 1649 | { |
| 1650 | .vendor = "Eon", |
| 1651 | .name = "EN25B16", |
| 1652 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1653 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1654 | .model_id = EN_25B16, |
| 1655 | .total_size = 2048, |
| 1656 | .page_size = 256, |
| 1657 | .tested = TEST_UNTESTED, |
| 1658 | .probe = probe_spi_rdid, |
| 1659 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1660 | .block_erasers = |
| 1661 | { |
| 1662 | { |
| 1663 | .eraseblocks = { |
| 1664 | {4 * 1024, 2}, |
| 1665 | {8 * 1024, 1}, |
| 1666 | {16 * 1024, 1}, |
| 1667 | {32 * 1024, 1}, |
| 1668 | {64 * 1024, 31}, |
| 1669 | }, |
| 1670 | .block_erase = spi_block_erase_d8, |
| 1671 | }, { |
| 1672 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1673 | .block_erase = spi_block_erase_c7, |
| 1674 | } |
| 1675 | }, |
| 1676 | .write = spi_chip_write_256, |
| 1677 | .read = spi_chip_read, |
| 1678 | }, |
| 1679 | |
| 1680 | { |
| 1681 | .vendor = "Eon", |
| 1682 | .name = "EN25B16T", |
| 1683 | .bustype = CHIP_BUSTYPE_SPI, |
| 1684 | .manufacture_id = EON_ID_NOPREFIX, |
| 1685 | .model_id = EN_25B16, |
| 1686 | .total_size = 2048, |
| 1687 | .page_size = 256, |
| 1688 | .tested = TEST_UNTESTED, |
| 1689 | .probe = probe_spi_rdid, |
| 1690 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1691 | .block_erasers = |
| 1692 | { |
| 1693 | { |
| 1694 | .eraseblocks = { |
| 1695 | {64 * 1024, 31}, |
| 1696 | {32 * 1024, 1}, |
| 1697 | {16 * 1024, 1}, |
| 1698 | {8 * 1024, 1}, |
| 1699 | {4 * 1024, 2}, |
| 1700 | }, |
| 1701 | .block_erase = spi_block_erase_d8, |
| 1702 | }, { |
| 1703 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1704 | .block_erase = spi_block_erase_c7, |
| 1705 | } |
| 1706 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1707 | .write = spi_chip_write_256, |
| 1708 | .read = spi_chip_read, |
| 1709 | }, |
| 1710 | |
| 1711 | { |
| 1712 | .vendor = "Eon", |
| 1713 | .name = "EN25B32", |
| 1714 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1715 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1716 | .model_id = EN_25B32, |
| 1717 | .total_size = 4096, |
| 1718 | .page_size = 256, |
| 1719 | .tested = TEST_UNTESTED, |
| 1720 | .probe = probe_spi_rdid, |
| 1721 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1722 | .block_erasers = |
| 1723 | { |
| 1724 | { |
| 1725 | .eraseblocks = { |
| 1726 | {4 * 1024, 2}, |
| 1727 | {8 * 1024, 1}, |
| 1728 | {16 * 1024, 1}, |
| 1729 | {32 * 1024, 1}, |
| 1730 | {64 * 1024, 63}, |
| 1731 | }, |
| 1732 | .block_erase = spi_block_erase_d8, |
| 1733 | }, { |
| 1734 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1735 | .block_erase = spi_block_erase_c7, |
| 1736 | } |
| 1737 | }, |
| 1738 | .write = spi_chip_write_256, |
| 1739 | .read = spi_chip_read, |
| 1740 | }, |
| 1741 | |
| 1742 | { |
| 1743 | .vendor = "Eon", |
| 1744 | .name = "EN25B32T", |
| 1745 | .bustype = CHIP_BUSTYPE_SPI, |
| 1746 | .manufacture_id = EON_ID_NOPREFIX, |
| 1747 | .model_id = EN_25B32, |
| 1748 | .total_size = 4096, |
| 1749 | .page_size = 256, |
| 1750 | .tested = TEST_UNTESTED, |
| 1751 | .probe = probe_spi_rdid, |
| 1752 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1753 | .block_erasers = |
| 1754 | { |
| 1755 | { |
| 1756 | .eraseblocks = { |
| 1757 | {64 * 1024, 63}, |
| 1758 | {32 * 1024, 1}, |
| 1759 | {16 * 1024, 1}, |
| 1760 | {8 * 1024, 1}, |
| 1761 | {4 * 1024, 2}, |
| 1762 | }, |
| 1763 | .block_erase = spi_block_erase_d8, |
| 1764 | }, { |
| 1765 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1766 | .block_erase = spi_block_erase_c7, |
| 1767 | } |
| 1768 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1769 | .write = spi_chip_write_256, |
| 1770 | .read = spi_chip_read, |
| 1771 | }, |
| 1772 | |
| 1773 | { |
| 1774 | .vendor = "Eon", |
| 1775 | .name = "EN25B64", |
| 1776 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1777 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1778 | .model_id = EN_25B64, |
| 1779 | .total_size = 8192, |
| 1780 | .page_size = 256, |
| 1781 | .tested = TEST_UNTESTED, |
| 1782 | .probe = probe_spi_rdid, |
| 1783 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1784 | .block_erasers = |
| 1785 | { |
| 1786 | { |
| 1787 | .eraseblocks = { |
| 1788 | {4 * 1024, 2}, |
| 1789 | {8 * 1024, 1}, |
| 1790 | {16 * 1024, 1}, |
| 1791 | {32 * 1024, 1}, |
| 1792 | {64 * 1024, 127}, |
| 1793 | }, |
| 1794 | .block_erase = spi_block_erase_d8, |
| 1795 | }, { |
| 1796 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1797 | .block_erase = spi_block_erase_c7, |
| 1798 | } |
| 1799 | }, |
| 1800 | .write = spi_chip_write_256, |
| 1801 | .read = spi_chip_read, |
| 1802 | }, |
| 1803 | |
| 1804 | { |
| 1805 | .vendor = "Eon", |
| 1806 | .name = "EN25B64T", |
| 1807 | .bustype = CHIP_BUSTYPE_SPI, |
| 1808 | .manufacture_id = EON_ID_NOPREFIX, |
| 1809 | .model_id = EN_25B64, |
| 1810 | .total_size = 8192, |
| 1811 | .page_size = 256, |
| 1812 | .tested = TEST_UNTESTED, |
| 1813 | .probe = probe_spi_rdid, |
| 1814 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1815 | .block_erasers = |
| 1816 | { |
| 1817 | { |
| 1818 | .eraseblocks = { |
| 1819 | {64 * 1024, 127}, |
| 1820 | {32 * 1024, 1}, |
| 1821 | {16 * 1024, 1}, |
| 1822 | {8 * 1024, 1}, |
| 1823 | {4 * 1024, 2}, |
| 1824 | }, |
| 1825 | .block_erase = spi_block_erase_d8, |
| 1826 | }, { |
| 1827 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1828 | .block_erase = spi_block_erase_c7, |
| 1829 | } |
| 1830 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1831 | .write = spi_chip_write_256, |
| 1832 | .read = spi_chip_read, |
| 1833 | }, |
| 1834 | |
| 1835 | { |
| 1836 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1837 | .name = "EN25D16", |
| 1838 | .bustype = CHIP_BUSTYPE_SPI, |
| 1839 | .manufacture_id = EON_ID_NOPREFIX, |
| 1840 | .model_id = EN_25D16, |
| 1841 | .total_size = 2048, |
| 1842 | .page_size = 256, |
| 1843 | .tested = TEST_UNTESTED, |
| 1844 | .probe = probe_spi_rdid, |
| 1845 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1846 | .block_erasers = |
| 1847 | { |
| 1848 | { |
| 1849 | .eraseblocks = { {4 * 1024, 512} }, |
| 1850 | .block_erase = spi_block_erase_20, |
| 1851 | }, { |
| 1852 | .eraseblocks = { {64 * 1024, 32} }, |
| 1853 | .block_erase = spi_block_erase_d8, |
| 1854 | }, { |
| 1855 | .eraseblocks = { {64 * 1024, 32} }, |
| 1856 | .block_erase = spi_block_erase_52, |
| 1857 | }, { |
| 1858 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1859 | .block_erase = spi_block_erase_60, |
| 1860 | }, { |
| 1861 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1862 | .block_erase = spi_block_erase_c7, |
| 1863 | } |
| 1864 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1865 | .write = spi_chip_write_256, |
| 1866 | .read = spi_chip_read, |
| 1867 | }, |
| 1868 | |
| 1869 | { |
| 1870 | .vendor = "Eon", |
| 1871 | .name = "EN25F05", |
| 1872 | .bustype = CHIP_BUSTYPE_SPI, |
| 1873 | .manufacture_id = EON_ID_NOPREFIX, |
| 1874 | .model_id = EN_25F05, |
| 1875 | .total_size = 64, |
| 1876 | .page_size = 256, |
| 1877 | .tested = TEST_UNTESTED, |
| 1878 | .probe = probe_spi_rdid, |
| 1879 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1880 | .block_erasers = |
| 1881 | { |
| 1882 | { |
| 1883 | .eraseblocks = { {4 * 1024, 16} }, |
| 1884 | .block_erase = spi_block_erase_20, |
| 1885 | }, { |
| 1886 | .eraseblocks = { {32 * 1024, 2} }, |
| 1887 | .block_erase = spi_block_erase_d8, |
| 1888 | }, { |
| 1889 | .eraseblocks = { {32 * 1024, 2} }, |
| 1890 | .block_erase = spi_block_erase_52, |
| 1891 | }, { |
| 1892 | .eraseblocks = { {64 * 1024, 1} }, |
| 1893 | .block_erase = spi_block_erase_60, |
| 1894 | }, { |
| 1895 | .eraseblocks = { {64 * 1024, 1} }, |
| 1896 | .block_erase = spi_block_erase_c7, |
| 1897 | } |
| 1898 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1899 | .write = spi_chip_write_256, |
| 1900 | .read = spi_chip_read, |
| 1901 | }, |
| 1902 | |
| 1903 | { |
| 1904 | .vendor = "Eon", |
| 1905 | .name = "EN25F10", |
| 1906 | .bustype = CHIP_BUSTYPE_SPI, |
| 1907 | .manufacture_id = EON_ID_NOPREFIX, |
| 1908 | .model_id = EN_25F10, |
| 1909 | .total_size = 128, |
| 1910 | .page_size = 256, |
| 1911 | .tested = TEST_UNTESTED, |
| 1912 | .probe = probe_spi_rdid, |
| 1913 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1914 | .block_erasers = |
| 1915 | { |
| 1916 | { |
| 1917 | .eraseblocks = { {4 * 1024, 32} }, |
| 1918 | .block_erase = spi_block_erase_20, |
| 1919 | }, { |
| 1920 | .eraseblocks = { {32 * 1024, 4} }, |
| 1921 | .block_erase = spi_block_erase_d8, |
| 1922 | }, { |
| 1923 | .eraseblocks = { {32 * 1024, 4} }, |
| 1924 | .block_erase = spi_block_erase_52, |
| 1925 | }, { |
| 1926 | .eraseblocks = { {128 * 1024, 1} }, |
| 1927 | .block_erase = spi_block_erase_60, |
| 1928 | }, { |
| 1929 | .eraseblocks = { {128 * 1024, 1} }, |
| 1930 | .block_erase = spi_block_erase_c7, |
| 1931 | } |
| 1932 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1933 | .write = spi_chip_write_256, |
| 1934 | .read = spi_chip_read, |
| 1935 | }, |
| 1936 | |
| 1937 | { |
| 1938 | .vendor = "Eon", |
| 1939 | .name = "EN25F20", |
| 1940 | .bustype = CHIP_BUSTYPE_SPI, |
| 1941 | .manufacture_id = EON_ID_NOPREFIX, |
| 1942 | .model_id = EN_25F20, |
| 1943 | .total_size = 256, |
| 1944 | .page_size = 256, |
| 1945 | .tested = TEST_UNTESTED, |
| 1946 | .probe = probe_spi_rdid, |
| 1947 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1948 | .block_erasers = |
| 1949 | { |
| 1950 | { |
| 1951 | .eraseblocks = { {4 * 1024, 64} }, |
| 1952 | .block_erase = spi_block_erase_20, |
| 1953 | }, { |
| 1954 | .eraseblocks = { {64 * 1024, 4} }, |
| 1955 | .block_erase = spi_block_erase_d8, |
| 1956 | }, { |
| 1957 | .eraseblocks = { {64 * 1024, 4} }, |
| 1958 | .block_erase = spi_block_erase_52, |
| 1959 | }, { |
| 1960 | .eraseblocks = { {256 * 1024, 1} }, |
| 1961 | .block_erase = spi_block_erase_60, |
| 1962 | }, { |
| 1963 | .eraseblocks = { {256 * 1024, 1} }, |
| 1964 | .block_erase = spi_block_erase_c7, |
| 1965 | } |
| 1966 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1967 | .write = spi_chip_write_256, |
| 1968 | .read = spi_chip_read, |
| 1969 | }, |
| 1970 | |
| 1971 | { |
| 1972 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1973 | .name = "EN25F40", |
| 1974 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1975 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1976 | .model_id = EN_25F40, |
| 1977 | .total_size = 512, |
| 1978 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 1979 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1980 | .probe = probe_spi_rdid, |
| 1981 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1982 | .block_erasers = |
| 1983 | { |
| 1984 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1985 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1986 | .block_erase = spi_block_erase_20, |
| 1987 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1988 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1989 | .block_erase = spi_block_erase_d8, |
| 1990 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1991 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1992 | .block_erase = spi_block_erase_60, |
| 1993 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1994 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1995 | .block_erase = spi_block_erase_c7, |
| 1996 | }, |
| 1997 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1998 | .write = spi_chip_write_256, |
| 1999 | .read = spi_chip_read, |
| 2000 | }, |
| 2001 | |
| 2002 | { |
| 2003 | .vendor = "Eon", |
| 2004 | .name = "EN25F80", |
| 2005 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2006 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2007 | .model_id = EN_25F80, |
| 2008 | .total_size = 1024, |
| 2009 | .page_size = 256, |
| 2010 | .tested = TEST_UNTESTED, |
| 2011 | .probe = probe_spi_rdid, |
| 2012 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2013 | .block_erasers = |
| 2014 | { |
| 2015 | { |
| 2016 | .eraseblocks = { {4 * 1024, 256} }, |
| 2017 | .block_erase = spi_block_erase_20, |
| 2018 | }, { |
| 2019 | .eraseblocks = { {64 * 1024, 16} }, |
| 2020 | .block_erase = spi_block_erase_d8, |
| 2021 | }, { |
| 2022 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2023 | .block_erase = spi_block_erase_60, |
| 2024 | }, { |
| 2025 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2026 | .block_erase = spi_block_erase_c7, |
| 2027 | } |
| 2028 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2029 | .write = spi_chip_write_256, |
| 2030 | .read = spi_chip_read, |
| 2031 | }, |
| 2032 | |
| 2033 | { |
| 2034 | .vendor = "Eon", |
| 2035 | .name = "EN25F16", |
| 2036 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2037 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2038 | .model_id = EN_25F16, |
| 2039 | .total_size = 2048, |
| 2040 | .page_size = 256, |
| 2041 | .tested = TEST_UNTESTED, |
| 2042 | .probe = probe_spi_rdid, |
| 2043 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2044 | .block_erasers = |
| 2045 | { |
| 2046 | { |
| 2047 | .eraseblocks = { {4 * 1024, 512} }, |
| 2048 | .block_erase = spi_block_erase_20, |
| 2049 | }, { |
| 2050 | .eraseblocks = { {64 * 1024, 32} }, |
| 2051 | .block_erase = spi_block_erase_d8, |
| 2052 | }, { |
| 2053 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2054 | .block_erase = spi_block_erase_60, |
| 2055 | }, { |
| 2056 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2057 | .block_erase = spi_block_erase_c7, |
| 2058 | } |
| 2059 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2060 | .write = spi_chip_write_256, |
| 2061 | .read = spi_chip_read, |
| 2062 | }, |
| 2063 | |
| 2064 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2065 | .vendor = "Eon", |
| 2066 | .name = "EN25F32", |
| 2067 | .bustype = CHIP_BUSTYPE_SPI, |
| 2068 | .manufacture_id = EON_ID_NOPREFIX, |
| 2069 | .model_id = EN_25F32, |
| 2070 | .total_size = 4096, |
| 2071 | .page_size = 256, |
| 2072 | .tested = TEST_UNTESTED, |
| 2073 | .probe = probe_spi_rdid, |
| 2074 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2075 | .block_erasers = |
| 2076 | { |
| 2077 | { |
| 2078 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2079 | .block_erase = spi_block_erase_20, |
| 2080 | }, { |
| 2081 | .eraseblocks = { {64 * 1024, 64} }, |
| 2082 | .block_erase = spi_block_erase_d8, |
| 2083 | }, { |
| 2084 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2085 | .block_erase = spi_block_erase_60, |
| 2086 | }, { |
| 2087 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2088 | .block_erase = spi_block_erase_c7, |
| 2089 | } |
| 2090 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2091 | .write = spi_chip_write_256, |
| 2092 | .read = spi_chip_read, |
| 2093 | }, |
| 2094 | |
| 2095 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2096 | .vendor = "EON", |
| 2097 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2098 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2099 | .manufacture_id = EON_ID, |
| 2100 | .model_id = EN_29F002B, |
| 2101 | .total_size = 256, |
| 2102 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2103 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2104 | .tested = TEST_UNTESTED, |
| 2105 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2106 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2107 | .block_erasers = |
| 2108 | { |
| 2109 | { |
| 2110 | .eraseblocks = { |
| 2111 | {64 * 1024, 3}, |
| 2112 | {32 * 1024, 1}, |
| 2113 | {8 * 1024, 2}, |
| 2114 | {16 * 1024, 1}, |
| 2115 | }, |
| 2116 | .block_erase = erase_sector_jedec, |
| 2117 | }, { |
| 2118 | .eraseblocks = { {256 * 1024, 1} }, |
| 2119 | .block_erase = erase_chip_block_jedec, |
| 2120 | }, |
| 2121 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2122 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2123 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2124 | }, |
| 2125 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2126 | { |
| 2127 | .vendor = "EON", |
| 2128 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2129 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2130 | .manufacture_id = EON_ID, |
| 2131 | .model_id = EN_29F002T, |
| 2132 | .total_size = 256, |
| 2133 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2134 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 2135 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2136 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2137 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2138 | .block_erasers = |
| 2139 | { |
| 2140 | { |
| 2141 | .eraseblocks = { |
| 2142 | {16 * 1024, 1}, |
| 2143 | {8 * 1024, 2}, |
| 2144 | {32 * 1024, 1}, |
| 2145 | {64 * 1024, 3}, |
| 2146 | }, |
| 2147 | .block_erase = erase_sector_jedec, |
| 2148 | }, { |
| 2149 | .eraseblocks = { {256 * 1024, 1} }, |
| 2150 | .block_erase = erase_chip_block_jedec, |
| 2151 | }, |
| 2152 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2153 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2154 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2155 | }, |
| 2156 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2157 | { |
| 2158 | .vendor = "Fujitsu", |
| 2159 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2160 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2161 | .manufacture_id = FUJITSU_ID, |
| 2162 | .model_id = MBM29F004BC, |
| 2163 | .total_size = 512, |
| 2164 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2165 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2166 | .tested = TEST_UNTESTED, |
| 2167 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2168 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2169 | .block_erasers = |
| 2170 | { |
| 2171 | { |
| 2172 | .eraseblocks = { |
| 2173 | {16 * 1024, 1}, |
| 2174 | {8 * 1024, 2}, |
| 2175 | {32 * 1024, 1}, |
| 2176 | {64 * 1024, 7}, |
| 2177 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2178 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2179 | }, { |
| 2180 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2181 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2182 | }, |
| 2183 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2184 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2185 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2186 | }, |
| 2187 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2188 | { |
| 2189 | .vendor = "Fujitsu", |
| 2190 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2191 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2192 | .manufacture_id = FUJITSU_ID, |
| 2193 | .model_id = MBM29F004TC, |
| 2194 | .total_size = 512, |
| 2195 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2196 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2197 | .tested = TEST_UNTESTED, |
| 2198 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2199 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2200 | .block_erasers = |
| 2201 | { |
| 2202 | { |
| 2203 | .eraseblocks = { |
| 2204 | {64 * 1024, 7}, |
| 2205 | {32 * 1024, 1}, |
| 2206 | {8 * 1024, 2}, |
| 2207 | {16 * 1024, 1}, |
| 2208 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2209 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2210 | }, { |
| 2211 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2212 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2213 | }, |
| 2214 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2215 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2216 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2217 | }, |
| 2218 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2219 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2220 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2221 | .vendor = "Fujitsu", |
| 2222 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2223 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2224 | .manufacture_id = FUJITSU_ID, |
| 2225 | .model_id = MBM29F400BC, |
| 2226 | .total_size = 512, |
| 2227 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2228 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2229 | .tested = TEST_UNTESTED, |
| 2230 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2231 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2232 | .block_erasers = |
| 2233 | { |
| 2234 | { |
| 2235 | .eraseblocks = { |
| 2236 | {16 * 1024, 1}, |
| 2237 | {8 * 1024, 2}, |
| 2238 | {32 * 1024, 1}, |
| 2239 | {64 * 1024, 7}, |
| 2240 | }, |
| 2241 | .block_erase = block_erase_m29f400bt, |
| 2242 | }, { |
| 2243 | .eraseblocks = { {512 * 1024, 1} }, |
| 2244 | .block_erase = block_erase_chip_m29f400bt, |
| 2245 | }, |
| 2246 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2247 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2249 | }, |
| 2250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2251 | { |
| 2252 | .vendor = "Fujitsu", |
| 2253 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2255 | .manufacture_id = FUJITSU_ID, |
| 2256 | .model_id = MBM29F400TC, |
| 2257 | .total_size = 512, |
| 2258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2259 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2260 | .tested = TEST_UNTESTED, |
| 2261 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2262 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2263 | .block_erasers = |
| 2264 | { |
| 2265 | { |
| 2266 | .eraseblocks = { |
| 2267 | {64 * 1024, 7}, |
| 2268 | {32 * 1024, 1}, |
| 2269 | {8 * 1024, 2}, |
| 2270 | {16 * 1024, 1}, |
| 2271 | }, |
| 2272 | .block_erase = block_erase_m29f400bt, |
| 2273 | }, { |
| 2274 | .eraseblocks = { {512 * 1024, 1} }, |
| 2275 | .block_erase = block_erase_chip_m29f400bt, |
| 2276 | }, |
| 2277 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2278 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2279 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2280 | }, |
| 2281 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2282 | { |
| 2283 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2284 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2285 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2286 | .manufacture_id = INTEL_ID, |
| 2287 | .model_id = P28F001BXB, |
| 2288 | .total_size = 128, |
| 2289 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2290 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2291 | .tested = TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2292 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2293 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2294 | .block_erasers = |
| 2295 | { |
| 2296 | { |
| 2297 | .eraseblocks = { |
| 2298 | {8 * 1024, 1}, |
| 2299 | {4 * 1024, 2}, |
| 2300 | {112 * 1024, 1}, |
| 2301 | }, |
| 2302 | .block_erase = erase_82802ab_block, |
| 2303 | }, |
| 2304 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2305 | .write = NULL, |
| 2306 | .read = read_memmapped, |
| 2307 | }, |
| 2308 | |
| 2309 | { |
| 2310 | .vendor = "Intel", |
| 2311 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2312 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2313 | .manufacture_id = INTEL_ID, |
| 2314 | .model_id = P28F001BXT, |
| 2315 | .total_size = 128, |
| 2316 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2317 | .feature_bits = 0, |
| 2318 | .tested = TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2319 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2320 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2321 | .block_erasers = |
| 2322 | { |
| 2323 | { |
| 2324 | .eraseblocks = { |
| 2325 | {112 * 1024, 1}, |
| 2326 | {4 * 1024, 2}, |
| 2327 | {8 * 1024, 1}, |
| 2328 | }, |
| 2329 | .block_erase = erase_82802ab_block, |
| 2330 | }, |
| 2331 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2332 | .write = NULL, |
| 2333 | .read = read_memmapped, |
| 2334 | }, |
| 2335 | |
| 2336 | { |
| 2337 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2338 | .name = "28F004S5", |
| 2339 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2340 | .manufacture_id = INTEL_ID, |
| 2341 | .model_id = E_28F004S5, |
| 2342 | .total_size = 512, |
| 2343 | .page_size = 256, |
| 2344 | .tested = TEST_UNTESTED, |
| 2345 | .probe = probe_82802ab, |
| 2346 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2347 | .block_erasers = |
| 2348 | { |
| 2349 | { |
| 2350 | .eraseblocks = { {64 * 1024, 8} }, |
| 2351 | .block_erase = erase_82802ab_block, |
| 2352 | }, |
| 2353 | }, |
| 2354 | .write = write_82802ab, |
| 2355 | .read = read_memmapped, |
| 2356 | }, |
| 2357 | |
| 2358 | { |
| 2359 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2360 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2361 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2362 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2363 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2364 | .total_size = 512, |
| 2365 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2366 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2367 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2368 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2369 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2370 | .block_erasers = |
| 2371 | { |
| 2372 | { |
| 2373 | .eraseblocks = { {64 * 1024, 8} }, |
| 2374 | .block_erase = erase_82802ab_block, |
| 2375 | }, |
| 2376 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2377 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2378 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2379 | }, |
| 2380 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2381 | { |
| 2382 | .vendor = "Intel", |
| 2383 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2384 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2385 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2386 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2387 | .total_size = 1024, |
| 2388 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2389 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2390 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2391 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2392 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2393 | .block_erasers = |
| 2394 | { |
| 2395 | { |
| 2396 | .eraseblocks = { {64 * 1024, 16} }, |
| 2397 | .block_erase = erase_82802ab_block, |
| 2398 | }, |
| 2399 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2400 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2401 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2402 | }, |
| 2403 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2404 | { |
| 2405 | .vendor = "Macronix", |
| 2406 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2407 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2408 | .manufacture_id = MX_ID, |
| 2409 | .model_id = MX_25L512, |
| 2410 | .total_size = 64, |
| 2411 | .page_size = 256, |
| 2412 | .tested = TEST_UNTESTED, |
| 2413 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2414 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2415 | .block_erasers = |
| 2416 | { |
| 2417 | { |
| 2418 | .eraseblocks = { {4 * 1024, 16} }, |
| 2419 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2420 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2421 | .eraseblocks = { {64 * 1024, 1} }, |
| 2422 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2423 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2424 | .eraseblocks = { {64 * 1024, 1} }, |
| 2425 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2426 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2427 | .eraseblocks = { {64 * 1024, 1} }, |
| 2428 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2429 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2430 | .eraseblocks = { {64 * 1024, 1} }, |
| 2431 | .block_erase = spi_block_erase_c7, |
| 2432 | }, |
| 2433 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2434 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2435 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2436 | }, |
| 2437 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2438 | { |
| 2439 | .vendor = "Macronix", |
| 2440 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2441 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2442 | .manufacture_id = MX_ID, |
| 2443 | .model_id = MX_25L1005, |
| 2444 | .total_size = 128, |
| 2445 | .page_size = 256, |
| 2446 | .tested = TEST_UNTESTED, |
| 2447 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2448 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2449 | .block_erasers = |
| 2450 | { |
| 2451 | { |
| 2452 | .eraseblocks = { {4 * 1024, 32} }, |
| 2453 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2454 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2455 | .eraseblocks = { {64 * 1024, 2} }, |
| 2456 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2457 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2458 | .eraseblocks = { {128 * 1024, 1} }, |
| 2459 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2460 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2461 | .eraseblocks = { {128 * 1024, 1} }, |
| 2462 | .block_erase = spi_block_erase_c7, |
| 2463 | }, |
| 2464 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2465 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2466 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2467 | }, |
| 2468 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2469 | { |
| 2470 | .vendor = "Macronix", |
| 2471 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2472 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2473 | .manufacture_id = MX_ID, |
| 2474 | .model_id = MX_25L2005, |
| 2475 | .total_size = 256, |
| 2476 | .page_size = 256, |
| 2477 | .tested = TEST_UNTESTED, |
| 2478 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2479 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2480 | .block_erasers = |
| 2481 | { |
| 2482 | { |
| 2483 | .eraseblocks = { {4 * 1024, 64} }, |
| 2484 | .block_erase = spi_block_erase_20, |
| 2485 | }, { |
| 2486 | .eraseblocks = { {64 * 1024, 4} }, |
| 2487 | .block_erase = spi_block_erase_52, |
| 2488 | }, { |
| 2489 | .eraseblocks = { {64 * 1024, 4} }, |
| 2490 | .block_erase = spi_block_erase_d8, |
| 2491 | }, { |
| 2492 | .eraseblocks = { {256 * 1024, 1} }, |
| 2493 | .block_erase = spi_block_erase_60, |
| 2494 | }, { |
| 2495 | .eraseblocks = { {256 * 1024, 1} }, |
| 2496 | .block_erase = spi_block_erase_c7, |
| 2497 | }, |
| 2498 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2499 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2500 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2501 | }, |
| 2502 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2503 | { |
| 2504 | .vendor = "Macronix", |
| 2505 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2506 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2507 | .manufacture_id = MX_ID, |
| 2508 | .model_id = MX_25L4005, |
| 2509 | .total_size = 512, |
| 2510 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2511 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2512 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2513 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2514 | .block_erasers = |
| 2515 | { |
| 2516 | { |
| 2517 | .eraseblocks = { {4 * 1024, 128} }, |
| 2518 | .block_erase = spi_block_erase_20, |
| 2519 | }, { |
| 2520 | .eraseblocks = { {64 * 1024, 8} }, |
| 2521 | .block_erase = spi_block_erase_52, |
| 2522 | }, { |
| 2523 | .eraseblocks = { {64 * 1024, 8} }, |
| 2524 | .block_erase = spi_block_erase_d8, |
| 2525 | }, { |
| 2526 | .eraseblocks = { {512 * 1024, 1} }, |
| 2527 | .block_erase = spi_block_erase_60, |
| 2528 | }, { |
| 2529 | .eraseblocks = { {512 * 1024, 1} }, |
| 2530 | .block_erase = spi_block_erase_c7, |
| 2531 | }, |
| 2532 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2533 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2534 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2535 | }, |
| 2536 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2537 | { |
| 2538 | .vendor = "Macronix", |
| 2539 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2540 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2541 | .manufacture_id = MX_ID, |
| 2542 | .model_id = MX_25L8005, |
| 2543 | .total_size = 1024, |
| 2544 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2545 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2546 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2547 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2548 | .block_erasers = |
| 2549 | { |
| 2550 | { |
| 2551 | .eraseblocks = { {4 * 1024, 256} }, |
| 2552 | .block_erase = spi_block_erase_20, |
| 2553 | }, { |
| 2554 | .eraseblocks = { {64 * 1024, 16} }, |
| 2555 | .block_erase = spi_block_erase_52, |
| 2556 | }, { |
| 2557 | .eraseblocks = { {64 * 1024, 16} }, |
| 2558 | .block_erase = spi_block_erase_d8, |
| 2559 | }, { |
| 2560 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2561 | .block_erase = spi_block_erase_60, |
| 2562 | }, { |
| 2563 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2564 | .block_erase = spi_block_erase_c7, |
| 2565 | }, |
| 2566 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2567 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2568 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2569 | }, |
| 2570 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2571 | { |
| 2572 | .vendor = "Macronix", |
| 2573 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2574 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2575 | .manufacture_id = MX_ID, |
| 2576 | .model_id = MX_25L1605, |
| 2577 | .total_size = 2048, |
| 2578 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2579 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2580 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2581 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2582 | .block_erasers = |
| 2583 | { |
| 2584 | { |
| 2585 | .eraseblocks = { {4 * 1024, 512} }, |
| 2586 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2587 | }, { |
| 2588 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 2589 | .block_erase = spi_block_erase_52, |
| 2590 | }, { |
| 2591 | .eraseblocks = { {64 * 1024, 32} }, |
| 2592 | .block_erase = spi_block_erase_d8, |
| 2593 | }, { |
| 2594 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2595 | .block_erase = spi_block_erase_60, |
| 2596 | }, { |
| 2597 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2598 | .block_erase = spi_block_erase_c7, |
| 2599 | }, |
| 2600 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2601 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2602 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2603 | }, |
| 2604 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2605 | { |
| 2606 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2607 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2608 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2609 | .manufacture_id = MX_ID, |
| 2610 | .model_id = MX_25L1635D, |
| 2611 | .total_size = 2048, |
| 2612 | .page_size = 256, |
| 2613 | .tested = TEST_UNTESTED, |
| 2614 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2615 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2616 | .block_erasers = |
| 2617 | { |
| 2618 | { |
| 2619 | .eraseblocks = { {4 * 1024, 512} }, |
| 2620 | .block_erase = spi_block_erase_20, |
| 2621 | }, { |
| 2622 | .eraseblocks = { {64 * 1024, 32} }, |
| 2623 | .block_erase = spi_block_erase_d8, |
| 2624 | }, { |
| 2625 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2626 | .block_erase = spi_block_erase_60, |
| 2627 | }, { |
| 2628 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2629 | .block_erase = spi_block_erase_c7, |
| 2630 | } |
| 2631 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2632 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2633 | .read = spi_chip_read, |
| 2634 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 2635 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2636 | { |
| 2637 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2638 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2639 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2640 | .manufacture_id = MX_ID, |
| 2641 | .model_id = MX_25L3205, |
| 2642 | .total_size = 4096, |
| 2643 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2644 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2645 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2646 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2647 | .block_erasers = |
| 2648 | { |
| 2649 | { |
| 2650 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2651 | .block_erase = spi_block_erase_20, |
| 2652 | }, { |
| 2653 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2654 | .block_erase = spi_block_erase_d8, |
| 2655 | }, { |
| 2656 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2657 | .block_erase = spi_block_erase_60, |
| 2658 | }, { |
| 2659 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2660 | .block_erase = spi_block_erase_c7, |
| 2661 | }, |
| 2662 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2663 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2664 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2665 | }, |
| 2666 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2667 | { |
| 2668 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2669 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2670 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2671 | .manufacture_id = MX_ID, |
| 2672 | .model_id = MX_25L3235D, |
| 2673 | .total_size = 4096, |
| 2674 | .page_size = 256, |
| 2675 | .tested = TEST_UNTESTED, |
| 2676 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2677 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2678 | .block_erasers = |
| 2679 | { |
| 2680 | { |
| 2681 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2682 | .block_erase = spi_block_erase_20, |
| 2683 | }, { |
| 2684 | .eraseblocks = { {64 * 1024, 64} }, |
| 2685 | .block_erase = spi_block_erase_d8, |
| 2686 | }, { |
| 2687 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2688 | .block_erase = spi_block_erase_60, |
| 2689 | }, { |
| 2690 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2691 | .block_erase = spi_block_erase_c7, |
| 2692 | } |
| 2693 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2694 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2695 | .read = spi_chip_read, |
| 2696 | }, |
| 2697 | |
| 2698 | { |
| 2699 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2700 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2701 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2702 | .manufacture_id = MX_ID, |
| 2703 | .model_id = MX_25L6405, |
| 2704 | .total_size = 8192, |
| 2705 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 2706 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2707 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2708 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2709 | .block_erasers = |
| 2710 | { |
| 2711 | { |
| 2712 | .eraseblocks = { {64 * 1024, 128} }, |
| 2713 | .block_erase = spi_block_erase_20, |
| 2714 | }, { |
| 2715 | .eraseblocks = { {64 * 1024, 128} }, |
| 2716 | .block_erase = spi_block_erase_d8, |
| 2717 | }, { |
| 2718 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2719 | .block_erase = spi_block_erase_60, |
| 2720 | }, { |
| 2721 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2722 | .block_erase = spi_block_erase_c7, |
| 2723 | } |
| 2724 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2725 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2726 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2727 | }, |
| 2728 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2729 | { |
| 2730 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2731 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2732 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2733 | .manufacture_id = MX_ID, |
| 2734 | .model_id = MX_25L12805, |
| 2735 | .total_size = 16384, |
| 2736 | .page_size = 256, |
| 2737 | .tested = TEST_UNTESTED, |
| 2738 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2739 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2740 | .block_erasers = |
| 2741 | { |
| 2742 | { |
| 2743 | .eraseblocks = { {4 * 1024, 4096} }, |
| 2744 | .block_erase = spi_block_erase_20, |
| 2745 | }, { |
| 2746 | .eraseblocks = { {64 * 1024, 256} }, |
| 2747 | .block_erase = spi_block_erase_d8, |
| 2748 | }, { |
| 2749 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2750 | .block_erase = spi_block_erase_60, |
| 2751 | }, { |
| 2752 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2753 | .block_erase = spi_block_erase_c7, |
| 2754 | } |
| 2755 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2756 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2757 | .read = spi_chip_read, |
| 2758 | }, |
| 2759 | |
| 2760 | { |
| 2761 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2762 | .name = "MX29F001B", |
| 2763 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2764 | .manufacture_id = MX_ID, |
| 2765 | .model_id = MX_29F001B, |
| 2766 | .total_size = 128, |
| 2767 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2768 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2769 | .tested = TEST_UNTESTED, |
| 2770 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2771 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2772 | .block_erasers = |
| 2773 | { |
| 2774 | { |
| 2775 | .eraseblocks = { |
| 2776 | {8 * 1024, 1}, |
| 2777 | {4 * 1024, 2}, |
| 2778 | {8 * 1024, 2}, |
| 2779 | {32 * 1024, 1}, |
| 2780 | {64 * 1024, 1}, |
| 2781 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2782 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2783 | }, { |
| 2784 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2785 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2786 | } |
| 2787 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2788 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2789 | .read = read_memmapped, |
| 2790 | }, |
| 2791 | |
| 2792 | { |
| 2793 | .vendor = "Macronix", |
| 2794 | .name = "MX29F001T", |
| 2795 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2796 | .manufacture_id = MX_ID, |
| 2797 | .model_id = MX_29F001T, |
| 2798 | .total_size = 128, |
| 2799 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2800 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2801 | .tested = TEST_UNTESTED, |
| 2802 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2803 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2804 | .block_erasers = |
| 2805 | { |
| 2806 | { |
| 2807 | .eraseblocks = { |
| 2808 | {64 * 1024, 1}, |
| 2809 | {32 * 1024, 1}, |
| 2810 | {8 * 1024, 2}, |
| 2811 | {4 * 1024, 2}, |
| 2812 | {8 * 1024, 1}, |
| 2813 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2814 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2815 | }, { |
| 2816 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2817 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2818 | } |
| 2819 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2820 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2821 | .read = read_memmapped, |
| 2822 | }, |
| 2823 | |
| 2824 | { |
| 2825 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2826 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2827 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2828 | .manufacture_id = MX_ID, |
| 2829 | .model_id = MX_29F002B, |
| 2830 | .total_size = 256, |
| 2831 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2832 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2833 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2834 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2835 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2836 | .block_erasers = |
| 2837 | { |
| 2838 | { |
| 2839 | .eraseblocks = { |
| 2840 | {16 * 1024, 1}, |
| 2841 | {8 * 1024, 2}, |
| 2842 | {32 * 1024, 1}, |
| 2843 | {64 * 1024, 3}, |
| 2844 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2845 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2846 | }, { |
| 2847 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2848 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2849 | }, |
| 2850 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2851 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2852 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2853 | }, |
| 2854 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2855 | { |
| 2856 | .vendor = "Macronix", |
| 2857 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2858 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2859 | .manufacture_id = MX_ID, |
| 2860 | .model_id = MX_29F002T, |
| 2861 | .total_size = 256, |
| 2862 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2863 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2864 | .tested = TEST_UNTESTED, |
| 2865 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2866 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2867 | .block_erasers = |
| 2868 | { |
| 2869 | { |
| 2870 | .eraseblocks = { |
| 2871 | {64 * 1024, 3}, |
| 2872 | {32 * 1024, 1}, |
| 2873 | {8 * 1024, 2}, |
| 2874 | {16 * 1024, 1}, |
| 2875 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2876 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2877 | }, { |
| 2878 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2879 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2880 | }, |
| 2881 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2882 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2883 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2884 | }, |
| 2885 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2886 | { |
| 2887 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2888 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2889 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2890 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2891 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2892 | .total_size = 512, |
| 2893 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2894 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2895 | .tested = TEST_UNTESTED, |
| 2896 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2897 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2898 | .block_erasers = |
| 2899 | { |
| 2900 | { |
| 2901 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2902 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2903 | }, { |
| 2904 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2905 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2906 | }, |
| 2907 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2908 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2909 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 2910 | }, |
| 2911 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2912 | { |
| 2913 | .vendor = "Numonyx", |
| 2914 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2915 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2916 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2917 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2918 | .total_size = 128, |
| 2919 | .page_size = 256, |
| 2920 | .tested = TEST_UNTESTED, |
| 2921 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2922 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2923 | .block_erasers = |
| 2924 | { |
| 2925 | { |
| 2926 | .eraseblocks = { {4 * 1024, 32} }, |
| 2927 | .block_erase = spi_block_erase_20, |
| 2928 | }, { |
| 2929 | .eraseblocks = { {64 * 1024, 2} }, |
| 2930 | .block_erase = spi_block_erase_d8, |
| 2931 | }, { |
| 2932 | .eraseblocks = { {128 * 1024, 1} }, |
| 2933 | .block_erase = spi_block_erase_c7, |
| 2934 | } |
| 2935 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2936 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2937 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2938 | }, |
| 2939 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2940 | { |
| 2941 | .vendor = "Numonyx", |
| 2942 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2943 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2944 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2945 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2946 | .total_size = 256, |
| 2947 | .page_size = 256, |
| 2948 | .tested = TEST_UNTESTED, |
| 2949 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2950 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2951 | .block_erasers = |
| 2952 | { |
| 2953 | { |
| 2954 | .eraseblocks = { {4 * 1024, 64} }, |
| 2955 | .block_erase = spi_block_erase_20, |
| 2956 | }, { |
| 2957 | .eraseblocks = { {64 * 1024, 4} }, |
| 2958 | .block_erase = spi_block_erase_d8, |
| 2959 | }, { |
| 2960 | .eraseblocks = { {256 * 1024, 1} }, |
| 2961 | .block_erase = spi_block_erase_c7, |
| 2962 | } |
| 2963 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2964 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2965 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2966 | }, |
| 2967 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2968 | { |
| 2969 | .vendor = "Numonyx", |
| 2970 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2971 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2972 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2973 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2974 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2975 | .page_size = 256, |
| 2976 | .tested = TEST_UNTESTED, |
| 2977 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2978 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2979 | .block_erasers = |
| 2980 | { |
| 2981 | { |
| 2982 | .eraseblocks = { {4 * 1024, 128} }, |
| 2983 | .block_erase = spi_block_erase_20, |
| 2984 | }, { |
| 2985 | .eraseblocks = { {64 * 1024, 8} }, |
| 2986 | .block_erase = spi_block_erase_d8, |
| 2987 | }, { |
| 2988 | .eraseblocks = { {512 * 1024, 1} }, |
| 2989 | .block_erase = spi_block_erase_c7, |
| 2990 | } |
| 2991 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2992 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2993 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2994 | }, |
| 2995 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2996 | { |
| 2997 | .vendor = "Numonyx", |
| 2998 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2999 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3000 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3001 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3002 | .total_size = 1024, |
| 3003 | .page_size = 256, |
| 3004 | .tested = TEST_OK_PREW, |
| 3005 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3006 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3007 | .block_erasers = |
| 3008 | { |
| 3009 | { |
| 3010 | .eraseblocks = { {4 * 1024, 256} }, |
| 3011 | .block_erase = spi_block_erase_20, |
| 3012 | }, { |
| 3013 | .eraseblocks = { {64 * 1024, 16} }, |
| 3014 | .block_erase = spi_block_erase_d8, |
| 3015 | }, { |
| 3016 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3017 | .block_erase = spi_block_erase_c7, |
| 3018 | } |
| 3019 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3020 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3021 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3022 | }, |
| 3023 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3024 | { |
| 3025 | .vendor = "Numonyx", |
| 3026 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3027 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3028 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3029 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3030 | .total_size = 2048, |
| 3031 | .page_size = 256, |
| 3032 | .tested = TEST_UNTESTED, |
| 3033 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3034 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3035 | .block_erasers = |
| 3036 | { |
| 3037 | { |
| 3038 | .eraseblocks = { {4 * 1024, 512} }, |
| 3039 | .block_erase = spi_block_erase_20, |
| 3040 | }, { |
| 3041 | .eraseblocks = { {64 * 1024, 32} }, |
| 3042 | .block_erase = spi_block_erase_d8, |
| 3043 | }, { |
| 3044 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3045 | .block_erase = spi_block_erase_c7, |
| 3046 | } |
| 3047 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3048 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3049 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3050 | }, |
| 3051 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3052 | { |
| 3053 | .vendor = "PMC", |
| 3054 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3055 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3056 | .manufacture_id = PMC_ID, |
| 3057 | .model_id = PMC_25LV010, |
| 3058 | .total_size = 128, |
| 3059 | .page_size = 256, |
| 3060 | .tested = TEST_UNTESTED, |
| 3061 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3062 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3063 | .block_erasers = |
| 3064 | { |
| 3065 | { |
| 3066 | .eraseblocks = { {4 * 1024, 32} }, |
| 3067 | .block_erase = spi_block_erase_d7, |
| 3068 | }, { |
| 3069 | .eraseblocks = { {32 * 1024, 4} }, |
| 3070 | .block_erase = spi_block_erase_d8, |
| 3071 | }, { |
| 3072 | .eraseblocks = { {128 * 1024, 1} }, |
| 3073 | .block_erase = spi_block_erase_c7, |
| 3074 | } |
| 3075 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3076 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3077 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3078 | }, |
| 3079 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3080 | { |
| 3081 | .vendor = "PMC", |
| 3082 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3083 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3084 | .manufacture_id = PMC_ID, |
| 3085 | .model_id = PMC_25LV016B, |
| 3086 | .total_size = 2048, |
| 3087 | .page_size = 256, |
| 3088 | .tested = TEST_UNTESTED, |
| 3089 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3090 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3091 | .block_erasers = |
| 3092 | { |
| 3093 | { |
| 3094 | .eraseblocks = { {4 * 1024, 512} }, |
| 3095 | .block_erase = spi_block_erase_d7, |
| 3096 | }, { |
| 3097 | .eraseblocks = { {4 * 1024, 512} }, |
| 3098 | .block_erase = spi_block_erase_20, |
| 3099 | }, { |
| 3100 | .eraseblocks = { {64 * 1024, 32} }, |
| 3101 | .block_erase = spi_block_erase_d8, |
| 3102 | }, { |
| 3103 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3104 | .block_erase = spi_block_erase_60, |
| 3105 | }, { |
| 3106 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3107 | .block_erase = spi_block_erase_c7, |
| 3108 | } |
| 3109 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3110 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3111 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3112 | }, |
| 3113 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3114 | { |
| 3115 | .vendor = "PMC", |
| 3116 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3117 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3118 | .manufacture_id = PMC_ID, |
| 3119 | .model_id = PMC_25LV020, |
| 3120 | .total_size = 256, |
| 3121 | .page_size = 256, |
| 3122 | .tested = TEST_UNTESTED, |
| 3123 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3124 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3125 | .block_erasers = |
| 3126 | { |
| 3127 | { |
| 3128 | .eraseblocks = { {4 * 1024, 64} }, |
| 3129 | .block_erase = spi_block_erase_d7, |
| 3130 | }, { |
| 3131 | .eraseblocks = { {64 * 1024, 4} }, |
| 3132 | .block_erase = spi_block_erase_d8, |
| 3133 | }, { |
| 3134 | .eraseblocks = { {256 * 1024, 1} }, |
| 3135 | .block_erase = spi_block_erase_c7, |
| 3136 | } |
| 3137 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3138 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3139 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3140 | }, |
| 3141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3142 | { |
| 3143 | .vendor = "PMC", |
| 3144 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3145 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3146 | .manufacture_id = PMC_ID, |
| 3147 | .model_id = PMC_25LV040, |
| 3148 | .total_size = 512, |
| 3149 | .page_size = 256, |
| 3150 | .tested = TEST_UNTESTED, |
| 3151 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3152 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3153 | .block_erasers = |
| 3154 | { |
| 3155 | { |
| 3156 | .eraseblocks = { {4 * 1024, 128} }, |
| 3157 | .block_erase = spi_block_erase_d7, |
| 3158 | }, { |
| 3159 | .eraseblocks = { {64 * 1024, 8} }, |
| 3160 | .block_erase = spi_block_erase_d8, |
| 3161 | }, { |
| 3162 | .eraseblocks = { {512 * 1024, 1} }, |
| 3163 | .block_erase = spi_block_erase_c7, |
| 3164 | } |
| 3165 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3166 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3167 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3168 | }, |
| 3169 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3170 | { |
| 3171 | .vendor = "PMC", |
| 3172 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3173 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3174 | .manufacture_id = PMC_ID, |
| 3175 | .model_id = PMC_25LV080B, |
| 3176 | .total_size = 1024, |
| 3177 | .page_size = 256, |
| 3178 | .tested = TEST_UNTESTED, |
| 3179 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3180 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3181 | .block_erasers = |
| 3182 | { |
| 3183 | { |
| 3184 | .eraseblocks = { {4 * 1024, 256} }, |
| 3185 | .block_erase = spi_block_erase_d7, |
| 3186 | }, { |
| 3187 | .eraseblocks = { {4 * 1024, 256} }, |
| 3188 | .block_erase = spi_block_erase_20, |
| 3189 | }, { |
| 3190 | .eraseblocks = { {64 * 1024, 16} }, |
| 3191 | .block_erase = spi_block_erase_d8, |
| 3192 | }, { |
| 3193 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3194 | .block_erase = spi_block_erase_60, |
| 3195 | }, { |
| 3196 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3197 | .block_erase = spi_block_erase_c7, |
| 3198 | } |
| 3199 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3200 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3201 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3202 | }, |
| 3203 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3204 | { |
| 3205 | .vendor = "PMC", |
| 3206 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3207 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3208 | .manufacture_id = PMC_ID, |
| 3209 | .model_id = PMC_25LV512, |
| 3210 | .total_size = 64, |
| 3211 | .page_size = 256, |
| 3212 | .tested = TEST_UNTESTED, |
| 3213 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3214 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3215 | .block_erasers = |
| 3216 | { |
| 3217 | { |
| 3218 | .eraseblocks = { {4 * 1024, 16} }, |
| 3219 | .block_erase = spi_block_erase_d7, |
| 3220 | }, { |
| 3221 | .eraseblocks = { {32 * 1024, 2} }, |
| 3222 | .block_erase = spi_block_erase_d8, |
| 3223 | }, { |
| 3224 | .eraseblocks = { {64 * 1024, 1} }, |
| 3225 | .block_erase = spi_block_erase_c7, |
| 3226 | } |
| 3227 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3228 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3229 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3230 | }, |
| 3231 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3232 | { |
| 3233 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3234 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3235 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3236 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3237 | .model_id = PMC_29F002T, |
| 3238 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3239 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3240 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3241 | .tested = TEST_UNTESTED, |
| 3242 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3243 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3244 | .block_erasers = |
| 3245 | { |
| 3246 | { |
| 3247 | .eraseblocks = { |
| 3248 | {128 * 1024, 1}, |
| 3249 | {96 * 1024, 1}, |
| 3250 | {8 * 1024, 2}, |
| 3251 | {16 * 1024, 1}, |
| 3252 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3253 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3254 | }, { |
| 3255 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3256 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3257 | }, |
| 3258 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3259 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3260 | .read = read_memmapped, |
| 3261 | }, |
| 3262 | |
| 3263 | { |
| 3264 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3265 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3266 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3267 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3268 | .model_id = PMC_29F002B, |
| 3269 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3270 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3271 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3272 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3273 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3274 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3275 | .block_erasers = |
| 3276 | { |
| 3277 | { |
| 3278 | .eraseblocks = { |
| 3279 | {16 * 1024, 1}, |
| 3280 | {8 * 1024, 2}, |
| 3281 | {96 * 1024, 1}, |
| 3282 | {128 * 1024, 1}, |
| 3283 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3284 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3285 | }, { |
| 3286 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3287 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3288 | }, |
| 3289 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3290 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3291 | .read = read_memmapped, |
| 3292 | }, |
| 3293 | |
| 3294 | { |
| 3295 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3296 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3297 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3298 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3299 | .model_id = PMC_39F010, |
| 3300 | .total_size = 128, |
| 3301 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3302 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3303 | .tested = TEST_UNTESTED, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3304 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3305 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3306 | .block_erasers = |
| 3307 | { |
| 3308 | { |
| 3309 | .eraseblocks = { {4 * 1024, 32} }, |
| 3310 | .block_erase = erase_sector_jedec, |
| 3311 | }, { |
| 3312 | .eraseblocks = { {64 * 1024, 2} }, |
| 3313 | .block_erase = erase_block_jedec, |
| 3314 | }, { |
| 3315 | .eraseblocks = { {128 * 1024, 1} }, |
| 3316 | .block_erase = erase_chip_block_jedec, |
| 3317 | } |
| 3318 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3319 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3320 | .read = read_memmapped, |
| 3321 | }, |
| 3322 | |
| 3323 | { |
| 3324 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3325 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3326 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3327 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3328 | .model_id = PMC_49FL002, |
| 3329 | .total_size = 256, |
| 3330 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3331 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 3332 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3333 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3334 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3335 | .block_erasers = |
| 3336 | { |
| 3337 | { |
| 3338 | .eraseblocks = { {4 * 1024, 64} }, |
| 3339 | .block_erase = erase_sector_jedec, |
| 3340 | }, { |
| 3341 | .eraseblocks = { {16 * 1024, 16} }, |
| 3342 | .block_erase = erase_block_jedec, |
| 3343 | }, { |
| 3344 | .eraseblocks = { {256 * 1024, 1} }, |
| 3345 | .block_erase = erase_chip_block_jedec, |
| 3346 | } |
| 3347 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 3348 | .unlock = unlock_49fl00x, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3349 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3350 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3351 | }, |
| 3352 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3353 | { |
| 3354 | .vendor = "PMC", |
| 3355 | .name = "Pm49FL004", |
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_49FL004, |
| 3359 | .total_size = 512, |
| 3360 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3361 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 3362 | .tested = TEST_UNTESTED, |
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, 128} }, |
| 3369 | .block_erase = erase_sector_jedec, |
| 3370 | }, { |
| 3371 | .eraseblocks = { {64 * 1024, 8} }, |
| 3372 | .block_erase = erase_block_jedec, |
| 3373 | }, { |
| 3374 | .eraseblocks = { {512 * 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, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3379 | .write = write_49fl00x, |
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 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3384 | .vendor = "Sanyo", |
| 3385 | .name = "LF25FW203A", |
| 3386 | .bustype = CHIP_BUSTYPE_SPI, |
| 3387 | .manufacture_id = SANYO_ID, |
| 3388 | .model_id = SANYO_LE25FW203A, |
| 3389 | .total_size = 2048, |
| 3390 | .page_size = 256, |
| 3391 | .tested = TEST_UNTESTED, |
| 3392 | .probe = probe_spi_rdid, |
| 3393 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3394 | .block_erasers = |
| 3395 | { |
| 3396 | { |
| 3397 | .eraseblocks = { {64 * 1024, 32} }, |
| 3398 | .block_erase = spi_block_erase_d8, |
| 3399 | }, { |
| 3400 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3401 | .block_erase = spi_block_erase_c7, |
| 3402 | } |
| 3403 | }, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3404 | .write = spi_chip_write_256, |
| 3405 | .read = spi_chip_read, |
| 3406 | }, |
| 3407 | |
| 3408 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3409 | .vendor = "Sharp", |
| 3410 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3411 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3412 | .manufacture_id = SHARP_ID, |
| 3413 | .model_id = SHARP_LHF00L04, |
| 3414 | .total_size = 1024, |
| 3415 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3416 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3417 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3418 | .probe = probe_49lfxxxc, |
| 3419 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3420 | .block_erasers = |
| 3421 | { |
| 3422 | { |
| 3423 | .eraseblocks = { |
| 3424 | {64 * 1024, 15}, |
| 3425 | {8 * 1024, 8} |
| 3426 | }, |
| 3427 | .block_erase = erase_lhf00l04_block, |
| 3428 | }, { |
| 3429 | .eraseblocks = { |
| 3430 | {1024 * 1024, 1} |
| 3431 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3432 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3433 | }, |
| 3434 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3435 | .write = write_lhf00l04, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3436 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3437 | }, |
| 3438 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3439 | { |
| 3440 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3441 | .name = "S25FL008A", |
| 3442 | .bustype = CHIP_BUSTYPE_SPI, |
| 3443 | .manufacture_id = SPANSION_ID, |
| 3444 | .model_id = SPANSION_S25FL008A, |
| 3445 | .total_size = 1024, |
| 3446 | .page_size = 256, |
| 3447 | .tested = TEST_OK_PREW, |
| 3448 | .probe = probe_spi_rdid, |
| 3449 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3450 | .block_erasers = |
| 3451 | { |
| 3452 | { |
| 3453 | .eraseblocks = { {64 * 1024, 16} }, |
| 3454 | .block_erase = spi_block_erase_d8, |
| 3455 | }, { |
| 3456 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3457 | .block_erase = spi_block_erase_c7, |
| 3458 | } |
| 3459 | }, |
| 3460 | .write = spi_chip_write_256, |
| 3461 | .read = spi_chip_read, |
| 3462 | }, |
| 3463 | |
| 3464 | { |
| 3465 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3466 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3467 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3468 | .manufacture_id = SPANSION_ID, |
| 3469 | .model_id = SPANSION_S25FL016A, |
| 3470 | .total_size = 2048, |
| 3471 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3472 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3473 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3474 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3475 | .block_erasers = |
| 3476 | { |
| 3477 | { |
| 3478 | .eraseblocks = { {64 * 1024, 32} }, |
| 3479 | .block_erase = spi_block_erase_d8, |
| 3480 | }, { |
| 3481 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3482 | .block_erase = spi_block_erase_c7, |
| 3483 | } |
| 3484 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3485 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3486 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3487 | }, |
| 3488 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3489 | { |
| 3490 | .vendor = "SST", |
| 3491 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3492 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3493 | .manufacture_id = SST_ID, |
| 3494 | .model_id = SST_25VF016B, |
| 3495 | .total_size = 2048, |
| 3496 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3497 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3498 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3499 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3500 | .block_erasers = |
| 3501 | { |
| 3502 | { |
| 3503 | .eraseblocks = { {4 * 1024, 512} }, |
| 3504 | .block_erase = spi_block_erase_20, |
| 3505 | }, { |
| 3506 | .eraseblocks = { {32 * 1024, 64} }, |
| 3507 | .block_erase = spi_block_erase_52, |
| 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_60, |
| 3514 | }, { |
| 3515 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3516 | .block_erase = spi_block_erase_c7, |
| 3517 | }, |
| 3518 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3519 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3520 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3521 | }, |
| 3522 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3523 | { |
| 3524 | .vendor = "SST", |
| 3525 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3526 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3527 | .manufacture_id = SST_ID, |
| 3528 | .model_id = SST_25VF032B, |
| 3529 | .total_size = 4096, |
| 3530 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3531 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3532 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3533 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3534 | .block_erasers = |
| 3535 | { |
| 3536 | { |
| 3537 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3538 | .block_erase = spi_block_erase_20, |
| 3539 | }, { |
| 3540 | .eraseblocks = { {32 * 1024, 128} }, |
| 3541 | .block_erase = spi_block_erase_52, |
| 3542 | }, { |
| 3543 | .eraseblocks = { {64 * 1024, 64} }, |
| 3544 | .block_erase = spi_block_erase_d8, |
| 3545 | }, { |
| 3546 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3547 | .block_erase = spi_block_erase_60, |
| 3548 | }, { |
| 3549 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3550 | .block_erase = spi_block_erase_c7, |
| 3551 | }, |
| 3552 | }, |
| 3553 | .write = spi_chip_write_1, |
| 3554 | .read = spi_chip_read, |
| 3555 | }, |
| 3556 | |
| 3557 | { |
| 3558 | .vendor = "SST", |
| 3559 | .name = "SST25VF040.REMS", |
| 3560 | .bustype = CHIP_BUSTYPE_SPI, |
| 3561 | .manufacture_id = SST_ID, |
| 3562 | .model_id = SST_25VF040_REMS, |
| 3563 | .total_size = 512, |
| 3564 | .page_size = 256, |
| 3565 | .tested = TEST_OK_PR, |
| 3566 | .probe = probe_spi_rems, |
| 3567 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3568 | .block_erasers = |
| 3569 | { |
| 3570 | { |
| 3571 | .eraseblocks = { {4 * 1024, 128} }, |
| 3572 | .block_erase = spi_block_erase_20, |
| 3573 | }, { |
| 3574 | .eraseblocks = { {32 * 1024, 16} }, |
| 3575 | .block_erase = spi_block_erase_52, |
| 3576 | }, { |
| 3577 | .eraseblocks = { {512 * 1024, 1} }, |
| 3578 | .block_erase = spi_block_erase_60, |
| 3579 | }, |
| 3580 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3581 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3582 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3583 | }, |
| 3584 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3585 | { |
| 3586 | .vendor = "SST", |
| 3587 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3588 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3589 | .manufacture_id = SST_ID, |
| 3590 | .model_id = SST_25VF040B, |
| 3591 | .total_size = 512, |
| 3592 | .page_size = 256, |
| 3593 | .tested = TEST_UNTESTED, |
| 3594 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3595 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3596 | .block_erasers = |
| 3597 | { |
| 3598 | { |
| 3599 | .eraseblocks = { {4 * 1024, 128} }, |
| 3600 | .block_erase = spi_block_erase_20, |
| 3601 | }, { |
| 3602 | .eraseblocks = { {32 * 1024, 16} }, |
| 3603 | .block_erase = spi_block_erase_52, |
| 3604 | }, { |
| 3605 | .eraseblocks = { {64 * 1024, 8} }, |
| 3606 | .block_erase = spi_block_erase_d8, |
| 3607 | }, { |
| 3608 | .eraseblocks = { {512 * 1024, 1} }, |
| 3609 | .block_erase = spi_block_erase_60, |
| 3610 | }, { |
| 3611 | .eraseblocks = { {512 * 1024, 1} }, |
| 3612 | .block_erase = spi_block_erase_c7, |
| 3613 | }, |
| 3614 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3615 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 3616 | .read = spi_chip_read, |
| 3617 | }, |
| 3618 | |
| 3619 | { |
| 3620 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3621 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3622 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3623 | .manufacture_id = SST_ID, |
| 3624 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3625 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3626 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3627 | .tested = TEST_OK_PR, |
| 3628 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3629 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3630 | .block_erasers = |
| 3631 | { |
| 3632 | { |
| 3633 | .eraseblocks = { {4 * 1024, 128} }, |
| 3634 | .block_erase = spi_block_erase_20, |
| 3635 | }, { |
| 3636 | .eraseblocks = { {32 * 1024, 16} }, |
| 3637 | .block_erase = spi_block_erase_52, |
| 3638 | }, { |
| 3639 | .eraseblocks = { {64 * 1024, 8} }, |
| 3640 | .block_erase = spi_block_erase_d8, |
| 3641 | }, { |
| 3642 | .eraseblocks = { {512 * 1024, 1} }, |
| 3643 | .block_erase = spi_block_erase_60, |
| 3644 | }, { |
| 3645 | .eraseblocks = { {512 * 1024, 1} }, |
| 3646 | .block_erase = spi_block_erase_c7, |
| 3647 | }, |
| 3648 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3649 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3650 | .read = spi_chip_read, |
| 3651 | }, |
| 3652 | |
| 3653 | { |
| 3654 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3655 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3656 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3657 | .manufacture_id = SST_ID, |
| 3658 | .model_id = SST_25VF080B, |
| 3659 | .total_size = 1024, |
| 3660 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3661 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3662 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3663 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3664 | .block_erasers = |
| 3665 | { |
| 3666 | { |
| 3667 | .eraseblocks = { {4 * 1024, 256} }, |
| 3668 | .block_erase = spi_block_erase_20, |
| 3669 | }, { |
| 3670 | .eraseblocks = { {32 * 1024, 32} }, |
| 3671 | .block_erase = spi_block_erase_52, |
| 3672 | }, { |
| 3673 | .eraseblocks = { {64 * 1024, 16} }, |
| 3674 | .block_erase = spi_block_erase_d8, |
| 3675 | }, { |
| 3676 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3677 | .block_erase = spi_block_erase_60, |
| 3678 | }, { |
| 3679 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3680 | .block_erase = spi_block_erase_c7, |
| 3681 | }, |
| 3682 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3683 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3684 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3685 | }, |
| 3686 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3687 | { |
| 3688 | .vendor = "SST", |
| 3689 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3690 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3691 | .manufacture_id = SST_ID, |
| 3692 | .model_id = SST_28SF040, |
| 3693 | .total_size = 512, |
| 3694 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3695 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3696 | .tested = TEST_UNTESTED, |
| 3697 | .probe = probe_28sf040, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3698 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3699 | .block_erasers = |
| 3700 | { |
| 3701 | { |
| 3702 | .eraseblocks = { {128, 4096} }, |
| 3703 | .block_erase = erase_sector_28sf040, |
| 3704 | }, { |
| 3705 | .eraseblocks = { {512 * 1024, 1} }, |
| 3706 | .block_erase = erase_chip_28sf040, |
| 3707 | } |
| 3708 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3709 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3710 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3711 | }, |
| 3712 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3713 | { |
| 3714 | .vendor = "SST", |
| 3715 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3716 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3717 | .manufacture_id = SST_ID, |
| 3718 | .model_id = SST_29EE010, |
| 3719 | .total_size = 128, |
| 3720 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3721 | .feature_bits = FEATURE_LONG_RESET, |
| 3722 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3723 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3724 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3725 | .block_erasers = |
| 3726 | { |
| 3727 | { |
| 3728 | .eraseblocks = { {128 * 1024, 1} }, |
| 3729 | .block_erase = erase_chip_block_jedec, |
| 3730 | } |
| 3731 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3732 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3733 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3734 | }, |
| 3735 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3736 | { |
| 3737 | .vendor = "SST", |
| 3738 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3739 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3740 | .manufacture_id = SST_ID, |
| 3741 | .model_id = SST_29LE010, |
| 3742 | .total_size = 128, |
| 3743 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3744 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3745 | .tested = TEST_UNTESTED, |
| 3746 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3747 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3748 | .block_erasers = |
| 3749 | { |
| 3750 | { |
| 3751 | .eraseblocks = { {128 * 1024, 1} }, |
| 3752 | .block_erase = erase_chip_block_jedec, |
| 3753 | } |
| 3754 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3755 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3756 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3757 | }, |
| 3758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3759 | { |
| 3760 | .vendor = "SST", |
| 3761 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3762 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3763 | .manufacture_id = SST_ID, |
| 3764 | .model_id = SST_29EE020A, |
| 3765 | .total_size = 256, |
| 3766 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3767 | .feature_bits = FEATURE_LONG_RESET, |
| 3768 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3769 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3770 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3771 | .block_erasers = |
| 3772 | { |
| 3773 | { |
| 3774 | .eraseblocks = { {256 * 1024, 1} }, |
| 3775 | .block_erase = erase_chip_block_jedec, |
| 3776 | } |
| 3777 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3778 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3779 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3780 | }, |
| 3781 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3782 | { |
| 3783 | .vendor = "SST", |
| 3784 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3785 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3786 | .manufacture_id = SST_ID, |
| 3787 | .model_id = SST_29LE020, |
| 3788 | .total_size = 256, |
| 3789 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3790 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3791 | .tested = TEST_UNTESTED, |
| 3792 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3793 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3794 | .block_erasers = |
| 3795 | { |
| 3796 | { |
| 3797 | .eraseblocks = { {256 * 1024, 1} }, |
| 3798 | .block_erase = erase_chip_block_jedec, |
| 3799 | } |
| 3800 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3801 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3802 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3803 | }, |
| 3804 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3805 | { |
| 3806 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3807 | .name = "SST39SF512", |
| 3808 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3809 | .manufacture_id = SST_ID, |
| 3810 | .model_id = SST_39SF512, |
| 3811 | .total_size = 64, |
| 3812 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3813 | .feature_bits = FEATURE_EITHER_RESET, |
| 3814 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3815 | .probe = probe_jedec, |
| 3816 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3817 | .block_erasers = |
| 3818 | { |
| 3819 | { |
| 3820 | .eraseblocks = { {4 * 1024, 16} }, |
| 3821 | .block_erase = erase_sector_jedec, |
| 3822 | }, { |
| 3823 | .eraseblocks = { {64 * 1024, 1} }, |
| 3824 | .block_erase = erase_chip_block_jedec, |
| 3825 | } |
| 3826 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3827 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3828 | .read = read_memmapped, |
| 3829 | }, |
| 3830 | |
| 3831 | { |
| 3832 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3833 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3834 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3835 | .manufacture_id = SST_ID, |
| 3836 | .model_id = SST_39SF010, |
| 3837 | .total_size = 128, |
| 3838 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3839 | .feature_bits = FEATURE_EITHER_RESET, |
| 3840 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3841 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3842 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3843 | .block_erasers = |
| 3844 | { |
| 3845 | { |
| 3846 | .eraseblocks = { {4 * 1024, 32} }, |
| 3847 | .block_erase = erase_sector_jedec, |
| 3848 | }, { |
| 3849 | .eraseblocks = { {128 * 1024, 1} }, |
| 3850 | .block_erase = erase_chip_block_jedec, |
| 3851 | } |
| 3852 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3853 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3854 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3855 | }, |
| 3856 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3857 | { |
| 3858 | .vendor = "SST", |
| 3859 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3860 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3861 | .manufacture_id = SST_ID, |
| 3862 | .model_id = SST_39SF020, |
| 3863 | .total_size = 256, |
| 3864 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3865 | .feature_bits = FEATURE_EITHER_RESET, |
| 3866 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3867 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3868 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3869 | .block_erasers = |
| 3870 | { |
| 3871 | { |
| 3872 | .eraseblocks = { {4 * 1024, 64} }, |
| 3873 | .block_erase = erase_sector_jedec, |
| 3874 | }, { |
| 3875 | .eraseblocks = { {256 * 1024, 1} }, |
| 3876 | .block_erase = erase_chip_block_jedec, |
| 3877 | } |
| 3878 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3879 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3880 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3881 | }, |
| 3882 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3883 | { |
| 3884 | .vendor = "SST", |
| 3885 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3886 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3887 | .manufacture_id = SST_ID, |
| 3888 | .model_id = SST_39SF040, |
| 3889 | .total_size = 512, |
| 3890 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3891 | .feature_bits = FEATURE_EITHER_RESET, |
| 3892 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3893 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3894 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3895 | .block_erasers = |
| 3896 | { |
| 3897 | { |
| 3898 | .eraseblocks = { {4 * 1024, 128} }, |
| 3899 | .block_erase = erase_sector_jedec, |
| 3900 | }, { |
| 3901 | .eraseblocks = { {512 * 1024, 1} }, |
| 3902 | .block_erase = erase_chip_block_jedec, |
| 3903 | } |
| 3904 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3905 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3906 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3907 | }, |
| 3908 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3909 | { |
| 3910 | .vendor = "SST", |
| 3911 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3912 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3913 | .manufacture_id = SST_ID, |
| 3914 | .model_id = SST_39VF512, |
| 3915 | .total_size = 64, |
| 3916 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3917 | .feature_bits = FEATURE_EITHER_RESET, |
| 3918 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3919 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3920 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3921 | .block_erasers = |
| 3922 | { |
| 3923 | { |
| 3924 | .eraseblocks = { {4 * 1024, 16} }, |
| 3925 | .block_erase = erase_sector_jedec, |
| 3926 | }, { |
| 3927 | .eraseblocks = { {64 * 1024, 1} }, |
| 3928 | .block_erase = erase_chip_block_jedec, |
| 3929 | } |
| 3930 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3931 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3932 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3933 | }, |
| 3934 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3935 | { |
| 3936 | .vendor = "SST", |
| 3937 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3938 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3939 | .manufacture_id = SST_ID, |
| 3940 | .model_id = SST_39VF010, |
| 3941 | .total_size = 128, |
| 3942 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3943 | .feature_bits = FEATURE_EITHER_RESET, |
| 3944 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3945 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3946 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3947 | .block_erasers = |
| 3948 | { |
| 3949 | { |
| 3950 | .eraseblocks = { {4 * 1024, 32} }, |
| 3951 | .block_erase = erase_sector_jedec, |
| 3952 | }, { |
| 3953 | .eraseblocks = { {128 * 1024, 1} }, |
| 3954 | .block_erase = erase_chip_block_jedec, |
| 3955 | } |
| 3956 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3957 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3958 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3959 | }, |
| 3960 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3961 | { |
| 3962 | .vendor = "SST", |
| 3963 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3964 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3965 | .manufacture_id = SST_ID, |
| 3966 | .model_id = SST_39VF020, |
| 3967 | .total_size = 256, |
| 3968 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3969 | .feature_bits = FEATURE_EITHER_RESET, |
| 3970 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3971 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3972 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3973 | .block_erasers = |
| 3974 | { |
| 3975 | { |
| 3976 | .eraseblocks = { {4 * 1024, 64} }, |
| 3977 | .block_erase = erase_sector_jedec, |
| 3978 | }, { |
| 3979 | .eraseblocks = { {256 * 1024, 1} }, |
| 3980 | .block_erase = erase_chip_block_jedec, |
| 3981 | } |
| 3982 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3983 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3984 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3985 | }, |
| 3986 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3987 | { |
| 3988 | .vendor = "SST", |
| 3989 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3990 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3991 | .manufacture_id = SST_ID, |
| 3992 | .model_id = SST_39VF040, |
| 3993 | .total_size = 512, |
| 3994 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3995 | .feature_bits = FEATURE_EITHER_RESET, |
| 3996 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3997 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3998 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3999 | .block_erasers = |
| 4000 | { |
| 4001 | { |
| 4002 | .eraseblocks = { {4 * 1024, 128} }, |
| 4003 | .block_erase = erase_sector_jedec, |
| 4004 | }, { |
| 4005 | .eraseblocks = { {512 * 1024, 1} }, |
| 4006 | .block_erase = erase_chip_block_jedec, |
| 4007 | } |
| 4008 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4009 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4010 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4011 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4012 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4013 | { |
| 4014 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4015 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4016 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4017 | .manufacture_id = SST_ID, |
| 4018 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4019 | .total_size = 1024, |
| 4020 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4021 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4022 | .tested = TEST_UNTESTED, |
| 4023 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4024 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4025 | .block_erasers = |
| 4026 | { |
| 4027 | { |
| 4028 | .eraseblocks = { {4 * 1024, 256} }, |
| 4029 | .block_erase = erase_sector_jedec, |
| 4030 | }, { |
| 4031 | .eraseblocks = { {64 * 1024, 16} }, |
| 4032 | .block_erase = erase_block_jedec, |
| 4033 | }, { |
| 4034 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4035 | .block_erase = erase_chip_block_jedec, |
| 4036 | } |
| 4037 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4038 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4039 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4040 | }, |
| 4041 | |
| 4042 | { |
| 4043 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4044 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4045 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4046 | .manufacture_id = SST_ID, |
| 4047 | .model_id = SST_49LF002A, |
| 4048 | .total_size = 256, |
| 4049 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4050 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4051 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4052 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4053 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4054 | .block_erasers = |
| 4055 | { |
| 4056 | { |
| 4057 | .eraseblocks = { {4 * 1024, 64} }, |
| 4058 | .block_erase = erase_sst_fwhub_sector, |
| 4059 | }, { |
| 4060 | .eraseblocks = { {16 * 1024, 16} }, |
| 4061 | .block_erase = erase_sst_fwhub_block, |
| 4062 | }, { |
| 4063 | .eraseblocks = { {256 * 1024, 1} }, |
| 4064 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4065 | } |
| 4066 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4067 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4068 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4069 | }, |
| 4070 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4071 | { |
| 4072 | .vendor = "SST", |
| 4073 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4074 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4075 | .manufacture_id = SST_ID, |
| 4076 | .model_id = SST_49LF003A, |
| 4077 | .total_size = 384, |
| 4078 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4079 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4080 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4081 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4082 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4083 | .block_erasers = |
| 4084 | { |
| 4085 | { |
| 4086 | .eraseblocks = { {4 * 1024, 96} }, |
| 4087 | .block_erase = erase_sst_fwhub_sector, |
| 4088 | }, { |
| 4089 | .eraseblocks = { {64 * 1024, 6} }, |
| 4090 | .block_erase = erase_sst_fwhub_block, |
| 4091 | }, { |
| 4092 | .eraseblocks = { {384 * 1024, 1} }, |
| 4093 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4094 | } |
| 4095 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4096 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4097 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4098 | }, |
| 4099 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4100 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4101 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4102 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4103 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4104 | .vendor = "SST", |
| 4105 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4106 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4107 | .manufacture_id = SST_ID, |
| 4108 | .model_id = SST_49LF004A, |
| 4109 | .total_size = 512, |
| 4110 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4111 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4112 | .tested = TEST_OK_PREW, |
| 4113 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4114 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4115 | .block_erasers = |
| 4116 | { |
| 4117 | { |
| 4118 | .eraseblocks = { {4 * 1024, 128} }, |
| 4119 | .block_erase = erase_sector_jedec, /* missing unlock */ |
| 4120 | }, { |
| 4121 | .eraseblocks = { {64 * 1024, 8} }, |
Carl-Daniel Hailfinger | 11c9e68 | 2009-11-06 18:09:42 +0000 | [diff] [blame] | 4122 | .block_erase = erase_sst_fwhub_block, /* same as erase_block_jedec, but with unlock */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4123 | }, { |
| 4124 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4125 | .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] | 4126 | }, |
| 4127 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4128 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4129 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4130 | }, |
| 4131 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4132 | { |
| 4133 | .vendor = "SST", |
| 4134 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4135 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4136 | .manufacture_id = SST_ID, |
| 4137 | .model_id = SST_49LF004C, |
| 4138 | .total_size = 512, |
| 4139 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4140 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4141 | .tested = TEST_UNTESTED, |
| 4142 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4143 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4144 | .block_erasers = |
| 4145 | { |
| 4146 | { |
| 4147 | .eraseblocks = { {4 * 1024, 128} }, |
| 4148 | .block_erase = erase_sector_49lfxxxc, |
| 4149 | }, { |
| 4150 | .eraseblocks = { |
| 4151 | {64 * 1024, 7}, |
| 4152 | {32 * 1024, 1}, |
| 4153 | {8 * 1024, 2}, |
| 4154 | {16 * 1024, 1}, |
| 4155 | }, |
| 4156 | .block_erase = erase_block_49lfxxxc, |
| 4157 | } |
| 4158 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4159 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4160 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4161 | }, |
| 4162 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4163 | { |
| 4164 | .vendor = "SST", |
| 4165 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4166 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4167 | .manufacture_id = SST_ID, |
| 4168 | .model_id = SST_49LF008A, |
| 4169 | .total_size = 1024, |
| 4170 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4171 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4172 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4173 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4174 | .probe_timing = 1, /* 150 ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4175 | .block_erasers = |
| 4176 | { |
| 4177 | { |
| 4178 | .eraseblocks = { {4 * 1024, 256} }, |
| 4179 | .block_erase = erase_sst_fwhub_sector, |
| 4180 | }, { |
| 4181 | .eraseblocks = { {64 * 1024, 16} }, |
| 4182 | .block_erase = erase_sst_fwhub_block, |
| 4183 | }, { |
| 4184 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4185 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4186 | } |
| 4187 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4188 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4189 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4190 | }, |
| 4191 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4192 | { |
| 4193 | .vendor = "SST", |
| 4194 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4195 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4196 | .manufacture_id = SST_ID, |
| 4197 | .model_id = SST_49LF008C, |
| 4198 | .total_size = 1024, |
| 4199 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4200 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4201 | .tested = TEST_UNTESTED, |
| 4202 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4203 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4204 | .block_erasers = |
| 4205 | { |
| 4206 | { |
| 4207 | .eraseblocks = { {4 * 1024, 256} }, |
| 4208 | .block_erase = erase_sector_49lfxxxc, |
| 4209 | }, { |
| 4210 | .eraseblocks = { |
| 4211 | {64 * 1024, 15}, |
| 4212 | {32 * 1024, 1}, |
| 4213 | {8 * 1024, 2}, |
| 4214 | {16 * 1024, 1}, |
| 4215 | }, |
| 4216 | .block_erase = erase_block_49lfxxxc, |
| 4217 | } |
| 4218 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4219 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4220 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4221 | }, |
| 4222 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4223 | { |
| 4224 | .vendor = "SST", |
| 4225 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4226 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4227 | .manufacture_id = SST_ID, |
| 4228 | .model_id = SST_49LF016C, |
| 4229 | .total_size = 2048, |
| 4230 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4231 | .feature_bits = 0, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4232 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4233 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4234 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4235 | .block_erasers = |
| 4236 | { |
| 4237 | { |
| 4238 | .eraseblocks = { {4 * 1024, 512} }, |
| 4239 | .block_erase = erase_sector_49lfxxxc, |
| 4240 | }, { |
| 4241 | .eraseblocks = { |
| 4242 | {64 * 1024, 31}, |
| 4243 | {32 * 1024, 1}, |
| 4244 | {8 * 1024, 2}, |
| 4245 | {16 * 1024, 1}, |
| 4246 | }, |
| 4247 | .block_erase = erase_block_49lfxxxc, |
| 4248 | } |
| 4249 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4250 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4251 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4252 | }, |
| 4253 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4254 | { |
| 4255 | .vendor = "SST", |
| 4256 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4257 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4258 | .manufacture_id = SST_ID, |
| 4259 | .model_id = SST_49LF020, |
| 4260 | .total_size = 256, |
| 4261 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4262 | .feature_bits = FEATURE_EITHER_RESET, |
| 4263 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4264 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4265 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4266 | .block_erasers = |
| 4267 | { |
| 4268 | { |
| 4269 | .eraseblocks = { {4 * 1024, 64} }, |
| 4270 | .block_erase = erase_sector_jedec, |
| 4271 | }, { |
| 4272 | .eraseblocks = { {16 * 1024, 16} }, |
| 4273 | .block_erase = erase_block_jedec, |
| 4274 | }, { |
| 4275 | .eraseblocks = { {256 * 1024, 1} }, |
| 4276 | .block_erase = NULL, |
| 4277 | } |
| 4278 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4279 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4280 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 4281 | }, |
| 4282 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4283 | { |
| 4284 | .vendor = "SST", |
| 4285 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4286 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4287 | .manufacture_id = SST_ID, |
| 4288 | .model_id = SST_49LF020A, |
| 4289 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 4290 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4291 | .feature_bits = FEATURE_EITHER_RESET, |
| 4292 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4293 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4294 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4295 | .block_erasers = |
| 4296 | { |
| 4297 | { |
| 4298 | .eraseblocks = { {4 * 1024, 64} }, |
| 4299 | .block_erase = erase_sector_jedec, |
| 4300 | }, { |
| 4301 | .eraseblocks = { {16 * 1024, 16} }, |
| 4302 | .block_erase = erase_block_jedec, |
| 4303 | }, { |
| 4304 | .eraseblocks = { {256 * 1024, 1} }, |
| 4305 | .block_erase = NULL, |
| 4306 | } |
| 4307 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4308 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4309 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4310 | }, |
| 4311 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4312 | { |
| 4313 | .vendor = "SST", |
| 4314 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4315 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4316 | .manufacture_id = SST_ID, |
| 4317 | .model_id = SST_49LF040, |
| 4318 | .total_size = 512, |
| 4319 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4320 | .feature_bits = FEATURE_EITHER_RESET, |
| 4321 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4322 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4323 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4324 | .block_erasers = |
| 4325 | { |
| 4326 | { |
| 4327 | .eraseblocks = { {4 * 1024, 128} }, |
| 4328 | .block_erase = erase_sector_jedec, |
| 4329 | }, { |
| 4330 | .eraseblocks = { {64 * 1024, 8} }, |
| 4331 | .block_erase = erase_block_jedec, |
| 4332 | }, { |
| 4333 | .eraseblocks = { {512 * 1024, 1} }, |
| 4334 | .block_erase = NULL, |
| 4335 | } |
| 4336 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4337 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4338 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4339 | }, |
| 4340 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4341 | { |
| 4342 | .vendor = "SST", |
| 4343 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4344 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4345 | .manufacture_id = SST_ID, |
| 4346 | .model_id = SST_49LF040B, |
| 4347 | .total_size = 512, |
| 4348 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4349 | .feature_bits = FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4350 | .tested = TEST_UNTESTED, |
| 4351 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4352 | .probe_timing = 1, /* 150ns | routine is wrapper to probe_jedec (sst_fwhub.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4353 | .block_erasers = |
| 4354 | { |
| 4355 | { |
| 4356 | .eraseblocks = { {4 * 1024, 128} }, |
| 4357 | .block_erase = erase_sector_jedec, |
| 4358 | }, { |
| 4359 | .eraseblocks = { {64 * 1024, 8} }, |
| 4360 | .block_erase = erase_block_jedec, |
| 4361 | }, { |
| 4362 | .eraseblocks = { {512 * 1024, 1} }, |
| 4363 | .block_erase = NULL, |
| 4364 | } |
| 4365 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4366 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4367 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4368 | }, |
| 4369 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4370 | { |
| 4371 | .vendor = "SST", |
| 4372 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4373 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4374 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4375 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4376 | .total_size = 1024, |
| 4377 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4378 | .feature_bits = FEATURE_EITHER_RESET, |
| 4379 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4380 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4381 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4382 | .block_erasers = |
| 4383 | { |
| 4384 | { |
| 4385 | .eraseblocks = { {4 * 1024, 256} }, |
| 4386 | .block_erase = erase_sector_jedec, |
| 4387 | }, { |
| 4388 | .eraseblocks = { {64 * 1024, 16} }, |
| 4389 | .block_erase = erase_block_jedec, |
| 4390 | }, { |
| 4391 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4392 | .block_erase = NULL, |
| 4393 | } |
| 4394 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4395 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4396 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4397 | }, |
| 4398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4399 | { |
| 4400 | .vendor = "SST", |
| 4401 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4402 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4403 | .manufacture_id = SST_ID, |
| 4404 | .model_id = SST_49LF160C, |
| 4405 | .total_size = 2048, |
| 4406 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4407 | .feature_bits = 0, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4408 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4409 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4410 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4411 | .block_erasers = |
| 4412 | { |
| 4413 | { |
| 4414 | .eraseblocks = { {4 * 1024, 512} }, |
| 4415 | .block_erase = erase_sector_49lfxxxc, |
| 4416 | }, { |
| 4417 | .eraseblocks = { |
| 4418 | {64 * 1024, 31}, |
| 4419 | {32 * 1024, 1}, |
| 4420 | {8 * 1024, 2}, |
| 4421 | {16 * 1024, 1}, |
| 4422 | }, |
| 4423 | .block_erase = erase_block_49lfxxxc, |
| 4424 | } |
| 4425 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4426 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4427 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4428 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4429 | }, |
| 4430 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4431 | { |
| 4432 | .vendor = "ST", |
| 4433 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4434 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4435 | .manufacture_id = ST_ID, |
| 4436 | .model_id = ST_M25P05A, |
| 4437 | .total_size = 64, |
| 4438 | .page_size = 256, |
| 4439 | .tested = TEST_UNTESTED, |
| 4440 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4441 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4442 | .block_erasers = |
| 4443 | { |
| 4444 | { |
| 4445 | .eraseblocks = { {32 * 1024, 2} }, |
| 4446 | .block_erase = spi_block_erase_d8, |
| 4447 | }, { |
| 4448 | .eraseblocks = { {64 * 1024, 1} }, |
| 4449 | .block_erase = spi_block_erase_c7, |
| 4450 | } |
| 4451 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4452 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4453 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4454 | }, |
| 4455 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4456 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 4457 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
| 4458 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res |
| 4459 | * only is successful if RDID does not work. |
| 4460 | */ |
| 4461 | { |
| 4462 | .vendor = "ST", |
| 4463 | .name = "M25P05.RES", |
| 4464 | .bustype = CHIP_BUSTYPE_SPI, |
| 4465 | .manufacture_id = ST_ID, |
| 4466 | .model_id = ST_M25P05_RES, |
| 4467 | .total_size = 64, |
| 4468 | .page_size = 256, |
| 4469 | .tested = TEST_UNTESTED, |
| 4470 | .probe = probe_spi_res, |
| 4471 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4472 | .block_erasers = |
| 4473 | { |
| 4474 | { |
| 4475 | .eraseblocks = { {32 * 1024, 2} }, |
| 4476 | .block_erase = spi_block_erase_d8, |
| 4477 | }, { |
| 4478 | .eraseblocks = { {64 * 1024, 1} }, |
| 4479 | .block_erase = spi_block_erase_c7, |
| 4480 | } |
| 4481 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4482 | .write = spi_chip_write_1, /* 128 */ |
| 4483 | .read = spi_chip_read, |
| 4484 | }, |
| 4485 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4486 | { |
| 4487 | .vendor = "ST", |
| 4488 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4489 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4490 | .manufacture_id = ST_ID, |
| 4491 | .model_id = ST_M25P10A, |
| 4492 | .total_size = 128, |
| 4493 | .page_size = 256, |
| 4494 | .tested = TEST_UNTESTED, |
| 4495 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4496 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4497 | .block_erasers = |
| 4498 | { |
| 4499 | { |
| 4500 | .eraseblocks = { {32 * 1024, 4} }, |
| 4501 | .block_erase = spi_block_erase_d8, |
| 4502 | }, { |
| 4503 | .eraseblocks = { {128 * 1024, 1} }, |
| 4504 | .block_erase = spi_block_erase_c7, |
| 4505 | } |
| 4506 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4507 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4508 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4509 | }, |
| 4510 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4511 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 4512 | { |
| 4513 | .vendor = "ST", |
| 4514 | .name = "M25P10.RES", |
| 4515 | .bustype = CHIP_BUSTYPE_SPI, |
| 4516 | .manufacture_id = ST_ID, |
| 4517 | .model_id = ST_M25P10_RES, |
| 4518 | .total_size = 128, |
| 4519 | .page_size = 256, |
| 4520 | .tested = TEST_UNTESTED, |
| 4521 | .probe = probe_spi_res, |
| 4522 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4523 | .block_erasers = |
| 4524 | { |
| 4525 | { |
| 4526 | .eraseblocks = { {32 * 1024, 4} }, |
| 4527 | .block_erase = spi_block_erase_d8, |
| 4528 | }, { |
| 4529 | .eraseblocks = { {128 * 1024, 1} }, |
| 4530 | .block_erase = spi_block_erase_c7, |
| 4531 | } |
| 4532 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4533 | .write = spi_chip_write_1, /* 128 */ |
| 4534 | .read = spi_chip_read, |
| 4535 | }, |
| 4536 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4537 | { |
| 4538 | .vendor = "ST", |
| 4539 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4540 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4541 | .manufacture_id = ST_ID, |
| 4542 | .model_id = ST_M25P20, |
| 4543 | .total_size = 256, |
| 4544 | .page_size = 256, |
| 4545 | .tested = TEST_UNTESTED, |
| 4546 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4547 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4548 | .block_erasers = |
| 4549 | { |
| 4550 | { |
| 4551 | .eraseblocks = { {64 * 1024, 4} }, |
| 4552 | .block_erase = spi_block_erase_d8, |
| 4553 | }, { |
| 4554 | .eraseblocks = { {256 * 1024, 1} }, |
| 4555 | .block_erase = spi_block_erase_c7, |
| 4556 | } |
| 4557 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4558 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4559 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4560 | }, |
| 4561 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4562 | { |
| 4563 | .vendor = "ST", |
| 4564 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4565 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4566 | .manufacture_id = ST_ID, |
| 4567 | .model_id = ST_M25P40, |
| 4568 | .total_size = 512, |
| 4569 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4570 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4571 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4572 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4573 | .block_erasers = |
| 4574 | { |
| 4575 | { |
| 4576 | .eraseblocks = { {64 * 1024, 8} }, |
| 4577 | .block_erase = spi_block_erase_d8, |
| 4578 | }, { |
| 4579 | .eraseblocks = { {512 * 1024, 1} }, |
| 4580 | .block_erase = spi_block_erase_c7, |
| 4581 | } |
| 4582 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4583 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4584 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4585 | }, |
| 4586 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4587 | { |
| 4588 | .vendor = "ST", |
| 4589 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4590 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4591 | .manufacture_id = ST_ID, |
| 4592 | .model_id = ST_M25P40_RES, |
| 4593 | .total_size = 512, |
| 4594 | .page_size = 256, |
| 4595 | .tested = TEST_UNTESTED, |
| 4596 | .probe = probe_spi_res, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4597 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4598 | .block_erasers = |
| 4599 | { |
| 4600 | { |
| 4601 | .eraseblocks = { {64 * 1024, 8} }, |
| 4602 | .block_erase = spi_block_erase_d8, |
| 4603 | }, { |
| 4604 | .eraseblocks = { {512 * 1024, 1} }, |
| 4605 | .block_erase = spi_block_erase_c7, |
| 4606 | } |
| 4607 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4608 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4609 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4610 | }, |
| 4611 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4612 | { |
| 4613 | .vendor = "ST", |
| 4614 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4615 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4616 | .manufacture_id = ST_ID, |
| 4617 | .model_id = ST_M25P80, |
| 4618 | .total_size = 1024, |
| 4619 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4620 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4621 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4622 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4623 | .block_erasers = |
| 4624 | { |
| 4625 | { |
| 4626 | .eraseblocks = { {64 * 1024, 16} }, |
| 4627 | .block_erase = spi_block_erase_d8, |
| 4628 | }, { |
| 4629 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4630 | .block_erase = spi_block_erase_c7, |
| 4631 | } |
| 4632 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4633 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4634 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4635 | }, |
| 4636 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4637 | { |
| 4638 | .vendor = "ST", |
| 4639 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4640 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4641 | .manufacture_id = ST_ID, |
| 4642 | .model_id = ST_M25P16, |
| 4643 | .total_size = 2048, |
| 4644 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4645 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4646 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4647 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4648 | .block_erasers = |
| 4649 | { |
| 4650 | { |
| 4651 | .eraseblocks = { {64 * 1024, 32} }, |
| 4652 | .block_erase = spi_block_erase_d8, |
| 4653 | }, { |
| 4654 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4655 | .block_erase = spi_block_erase_c7, |
| 4656 | } |
| 4657 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4658 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4659 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4660 | }, |
| 4661 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4662 | { |
| 4663 | .vendor = "ST", |
| 4664 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4665 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4666 | .manufacture_id = ST_ID, |
| 4667 | .model_id = ST_M25P32, |
| 4668 | .total_size = 4096, |
| 4669 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4670 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4671 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4672 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4673 | .block_erasers = |
| 4674 | { |
| 4675 | { |
| 4676 | .eraseblocks = { {64 * 1024, 64} }, |
| 4677 | .block_erase = spi_block_erase_d8, |
| 4678 | }, { |
| 4679 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4680 | .block_erase = spi_block_erase_c7, |
| 4681 | } |
| 4682 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4683 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4684 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4685 | }, |
| 4686 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4687 | { |
| 4688 | .vendor = "ST", |
| 4689 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4690 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4691 | .manufacture_id = ST_ID, |
| 4692 | .model_id = ST_M25P64, |
| 4693 | .total_size = 8192, |
| 4694 | .page_size = 256, |
| 4695 | .tested = TEST_UNTESTED, |
| 4696 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4697 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4698 | .block_erasers = |
| 4699 | { |
| 4700 | { |
| 4701 | .eraseblocks = { {64 * 1024, 128} }, |
| 4702 | .block_erase = spi_block_erase_d8, |
| 4703 | }, { |
| 4704 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4705 | .block_erase = spi_block_erase_c7, |
| 4706 | } |
| 4707 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4708 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4709 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4710 | }, |
| 4711 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4712 | { |
| 4713 | .vendor = "ST", |
| 4714 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4715 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4716 | .manufacture_id = ST_ID, |
| 4717 | .model_id = ST_M25P128, |
| 4718 | .total_size = 16384, |
| 4719 | .page_size = 256, |
| 4720 | .tested = TEST_UNTESTED, |
| 4721 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4722 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4723 | .block_erasers = |
| 4724 | { |
| 4725 | { |
| 4726 | .eraseblocks = { {256 * 1024, 64} }, |
| 4727 | .block_erase = spi_block_erase_d8, |
| 4728 | }, { |
| 4729 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4730 | .block_erase = spi_block_erase_c7, |
| 4731 | } |
| 4732 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4733 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4734 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4735 | }, |
| 4736 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4737 | { |
| 4738 | .vendor = "ST", |
| 4739 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4740 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4741 | .manufacture_id = ST_ID, |
| 4742 | .model_id = ST_M29F002B, |
| 4743 | .total_size = 256, |
| 4744 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4745 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4746 | .tested = TEST_UNTESTED, |
| 4747 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4748 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4749 | .block_erasers = |
| 4750 | { |
| 4751 | { |
| 4752 | .eraseblocks = { |
| 4753 | {16 * 1024, 1}, |
| 4754 | {8 * 1024, 2}, |
| 4755 | {32 * 1024, 1}, |
| 4756 | {64 * 1024, 3}, |
| 4757 | }, |
| 4758 | .block_erase = erase_sector_jedec, |
| 4759 | }, { |
| 4760 | .eraseblocks = { {256 * 1024, 1} }, |
| 4761 | .block_erase = erase_chip_block_jedec, |
| 4762 | } |
| 4763 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4764 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4765 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4766 | }, |
| 4767 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4768 | { |
| 4769 | .vendor = "ST", |
| 4770 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4771 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4772 | .manufacture_id = ST_ID, |
| 4773 | .model_id = ST_M29F002T, |
| 4774 | .total_size = 256, |
| 4775 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4776 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 4777 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4778 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4779 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4780 | .block_erasers = |
| 4781 | { |
| 4782 | { |
| 4783 | .eraseblocks = { |
| 4784 | {64 * 1024, 3}, |
| 4785 | {32 * 1024, 1}, |
| 4786 | {8 * 1024, 2}, |
| 4787 | {16 * 1024, 1}, |
| 4788 | }, |
| 4789 | .block_erase = erase_sector_jedec, |
| 4790 | }, { |
| 4791 | .eraseblocks = { {256 * 1024, 1} }, |
| 4792 | .block_erase = erase_chip_block_jedec, |
| 4793 | } |
| 4794 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4795 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4796 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4797 | }, |
| 4798 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4799 | { |
| 4800 | .vendor = "ST", |
| 4801 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4802 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4803 | .manufacture_id = ST_ID, |
| 4804 | .model_id = ST_M29F040B, |
| 4805 | .total_size = 512, |
| 4806 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4807 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4808 | .tested = TEST_UNTESTED, |
| 4809 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4810 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4811 | .block_erasers = |
| 4812 | { |
| 4813 | { |
| 4814 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4815 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4816 | }, { |
| 4817 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4818 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4819 | } |
| 4820 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4821 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4822 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4823 | }, |
| 4824 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4825 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4826 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4827 | .vendor = "ST", |
| 4828 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4829 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4830 | .manufacture_id = ST_ID, |
| 4831 | .model_id = ST_M29F400BT, |
| 4832 | .total_size = 512, |
| 4833 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4834 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4835 | .tested = TEST_UNTESTED, |
| 4836 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4837 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4838 | .block_erasers = |
| 4839 | { |
| 4840 | { |
| 4841 | .eraseblocks = { |
| 4842 | {64 * 1024, 7}, |
| 4843 | {32 * 1024, 1}, |
| 4844 | {8 * 1024, 2}, |
| 4845 | {16 * 1024, 1}, |
| 4846 | }, |
| 4847 | .block_erase = block_erase_m29f400bt, |
| 4848 | }, { |
| 4849 | .eraseblocks = { {512 * 1024, 1} }, |
| 4850 | .block_erase = block_erase_chip_m29f400bt, |
| 4851 | } |
| 4852 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4853 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4854 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4855 | }, |
| 4856 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4857 | { |
| 4858 | .vendor = "ST", |
| 4859 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4860 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4861 | .manufacture_id = ST_ID, |
| 4862 | .model_id = ST_M29W010B, |
| 4863 | .total_size = 128, |
| 4864 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4865 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4866 | .tested = TEST_UNTESTED, |
| 4867 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4868 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4869 | .block_erasers = |
| 4870 | { |
| 4871 | { |
| 4872 | .eraseblocks = { {16 * 1024, 8}, }, |
| 4873 | .block_erase = erase_sector_jedec, |
| 4874 | }, { |
| 4875 | .eraseblocks = { {128 * 1024, 1} }, |
| 4876 | .block_erase = erase_chip_block_jedec, |
| 4877 | } |
| 4878 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4879 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4880 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4881 | }, |
| 4882 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4883 | { |
| 4884 | .vendor = "ST", |
| 4885 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4886 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4887 | .manufacture_id = ST_ID, |
| 4888 | .model_id = ST_M29W040B, |
| 4889 | .total_size = 512, |
| 4890 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4891 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4892 | .tested = TEST_UNTESTED, |
| 4893 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4894 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4895 | .block_erasers = |
| 4896 | { |
| 4897 | { |
| 4898 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4899 | .block_erase = erase_sector_jedec, |
| 4900 | }, { |
| 4901 | .eraseblocks = { {512 * 1024, 1} }, |
| 4902 | .block_erase = erase_chip_block_jedec, |
| 4903 | } |
| 4904 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4905 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4906 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4907 | }, |
| 4908 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 4909 | { |
| 4910 | .vendor = "ST", |
| 4911 | .name = "M29W512B", |
| 4912 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4913 | .manufacture_id = ST_ID, |
| 4914 | .model_id = ST_M29W512B, |
| 4915 | .total_size = 64, |
| 4916 | .page_size = 64 * 1024, |
| 4917 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4918 | .tested = TEST_OK_PREW, |
| 4919 | .probe = probe_jedec, |
| 4920 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 4921 | .block_erasers = |
| 4922 | { |
| 4923 | { |
| 4924 | .eraseblocks = { {64 * 1024, 1} }, |
| 4925 | .block_erase = erase_chip_block_jedec, |
| 4926 | } |
| 4927 | }, |
| 4928 | .write = write_jedec_1, |
| 4929 | .read = read_memmapped, |
| 4930 | }, |
| 4931 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4932 | { |
| 4933 | .vendor = "ST", |
| 4934 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4935 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4936 | .manufacture_id = ST_ID, |
| 4937 | .model_id = ST_M50FLW040A, |
| 4938 | .total_size = 512, |
| 4939 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4940 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4941 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4942 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 4943 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4944 | .block_erasers = |
| 4945 | { |
| 4946 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 4947 | .eraseblocks = { |
| 4948 | {4 * 1024, 16}, /* sector */ |
| 4949 | {64 * 1024, 5}, /* block */ |
| 4950 | {4 * 1024, 16}, /* sector */ |
| 4951 | {4 * 1024, 16}, /* sector */ |
| 4952 | }, |
| 4953 | .block_erase = NULL, |
| 4954 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4955 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4956 | .block_erase = erase_block_stm50flw0x0x, |
| 4957 | }, { |
| 4958 | .eraseblocks = { {512 * 1024, 1} }, |
| 4959 | .block_erase = erase_chip_stm50flw0x0x, |
| 4960 | } |
| 4961 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4962 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4963 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4964 | }, |
| 4965 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4966 | { |
| 4967 | .vendor = "ST", |
| 4968 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4969 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4970 | .manufacture_id = ST_ID, |
| 4971 | .model_id = ST_M50FLW040B, |
| 4972 | .total_size = 512, |
| 4973 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4974 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4975 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4976 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 4977 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4978 | .block_erasers = |
| 4979 | { |
| 4980 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 4981 | .eraseblocks = { |
| 4982 | {4 * 1024, 16}, /* sector */ |
| 4983 | {4 * 1024, 16}, /* sector */ |
| 4984 | {64 * 1024, 5}, /* block */ |
| 4985 | {4 * 1024, 16}, /* sector */ |
| 4986 | }, |
| 4987 | .block_erase = NULL, |
| 4988 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4989 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4990 | .block_erase = erase_block_stm50flw0x0x, |
| 4991 | }, { |
| 4992 | .eraseblocks = { {512 * 1024, 1} }, |
| 4993 | .block_erase = erase_chip_stm50flw0x0x, |
| 4994 | } |
| 4995 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4996 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4997 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4998 | }, |
| 4999 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5000 | { |
| 5001 | .vendor = "ST", |
| 5002 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5003 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5004 | .manufacture_id = ST_ID, |
| 5005 | .model_id = ST_M50FLW080A, |
| 5006 | .total_size = 1024, |
| 5007 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5008 | .feature_bits = 0, |
| 5009 | .tested = TEST_UNTESTED, |
| 5010 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5011 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5012 | .block_erasers = |
| 5013 | { |
| 5014 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5015 | .eraseblocks = { |
| 5016 | {4 * 1024, 16}, /* sector */ |
| 5017 | {64 * 1024, 13}, /* block */ |
| 5018 | {4 * 1024, 16}, /* sector */ |
| 5019 | {4 * 1024, 16}, /* sector */ |
| 5020 | }, |
| 5021 | .block_erase = NULL, |
| 5022 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5023 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5024 | .block_erase = erase_block_stm50flw0x0x, |
| 5025 | }, { |
| 5026 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5027 | .block_erase = erase_chip_stm50flw0x0x, |
| 5028 | } |
| 5029 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5030 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5031 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5032 | }, |
| 5033 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5034 | { |
| 5035 | .vendor = "ST", |
| 5036 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5037 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5038 | .manufacture_id = ST_ID, |
| 5039 | .model_id = ST_M50FLW080B, |
| 5040 | .total_size = 1024, |
| 5041 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5042 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5043 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5044 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5045 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5046 | .block_erasers = |
| 5047 | { |
| 5048 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5049 | .eraseblocks = { |
| 5050 | {4 * 1024, 16}, /* sector */ |
| 5051 | {4 * 1024, 16}, /* sector */ |
| 5052 | {64 * 1024, 13}, /* block */ |
| 5053 | {4 * 1024, 16}, /* sector */ |
| 5054 | }, |
| 5055 | .block_erase = NULL, |
| 5056 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5057 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5058 | .block_erase = erase_block_stm50flw0x0x, |
| 5059 | }, { |
| 5060 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5061 | .block_erase = erase_chip_stm50flw0x0x, |
| 5062 | } |
| 5063 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5064 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5065 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5066 | }, |
| 5067 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5068 | { |
| 5069 | .vendor = "ST", |
| 5070 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5071 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5072 | .manufacture_id = ST_ID, |
| 5073 | .model_id = ST_M50FW002, |
| 5074 | .total_size = 256, |
| 5075 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5076 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5077 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5078 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5079 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5080 | .block_erasers = |
| 5081 | { |
| 5082 | { |
| 5083 | .eraseblocks = { |
| 5084 | {64 * 1024, 3}, |
| 5085 | {32 * 1024, 1}, |
| 5086 | {8 * 1024, 2}, |
| 5087 | {16 * 1024, 1}, |
| 5088 | }, |
| 5089 | .block_erase = erase_block_stm50flw0x0x, |
| 5090 | }, { |
| 5091 | .eraseblocks = { {256 * 1024, 1} }, |
| 5092 | .block_erase = erase_chip_stm50flw0x0x, |
| 5093 | } |
| 5094 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5095 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5096 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5097 | }, |
| 5098 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5099 | { |
| 5100 | .vendor = "ST", |
| 5101 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5102 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5103 | .manufacture_id = ST_ID, |
| 5104 | .model_id = ST_M50FW016, |
| 5105 | .total_size = 2048, |
| 5106 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5107 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5108 | .tested = TEST_UNTESTED, |
| 5109 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5110 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5111 | .block_erasers = |
| 5112 | { |
| 5113 | { |
| 5114 | .eraseblocks = { {64 * 1024, 32}, }, |
| 5115 | .block_erase = erase_block_stm50flw0x0x, |
| 5116 | }, { |
| 5117 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5118 | .block_erase = erase_chip_stm50flw0x0x, |
| 5119 | } |
| 5120 | }, |
| 5121 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5122 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5123 | }, |
| 5124 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5125 | { |
| 5126 | .vendor = "ST", |
| 5127 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5128 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5129 | .manufacture_id = ST_ID, |
| 5130 | .model_id = ST_M50FW040, |
| 5131 | .total_size = 512, |
| 5132 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5133 | .feature_bits = 0, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5134 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5135 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5136 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5137 | .block_erasers = |
| 5138 | { |
| 5139 | { |
| 5140 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5141 | .block_erase = erase_block_stm50flw0x0x, |
| 5142 | }, { |
| 5143 | .eraseblocks = { {512 * 1024, 1} }, |
| 5144 | .block_erase = erase_chip_stm50flw0x0x, |
| 5145 | } |
| 5146 | }, |
| 5147 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5148 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5149 | }, |
| 5150 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5151 | { |
| 5152 | .vendor = "ST", |
| 5153 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5154 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5155 | .manufacture_id = ST_ID, |
| 5156 | .model_id = ST_M50FW080, |
| 5157 | .total_size = 1024, |
| 5158 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5159 | .feature_bits = 0, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5160 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5161 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5162 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5163 | .block_erasers = |
| 5164 | { |
| 5165 | { |
| 5166 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5167 | .block_erase = erase_block_stm50flw0x0x, |
| 5168 | }, { |
| 5169 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5170 | .block_erase = erase_chip_stm50flw0x0x, |
| 5171 | } |
| 5172 | }, |
| 5173 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5174 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5175 | }, |
| 5176 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5177 | { |
| 5178 | .vendor = "ST", |
| 5179 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5180 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5181 | .manufacture_id = ST_ID, |
| 5182 | .model_id = ST_M50LPW116, |
| 5183 | .total_size = 2048, |
| 5184 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5185 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5186 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5187 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5188 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5189 | .block_erasers = |
| 5190 | { |
| 5191 | { |
| 5192 | .eraseblocks = { |
| 5193 | {4 * 1024, 16}, |
| 5194 | {64 * 1024, 30}, |
| 5195 | {32 * 1024, 1}, |
| 5196 | {8 * 1024, 2}, |
| 5197 | {16 * 1024, 1}, |
| 5198 | }, |
| 5199 | .block_erase = erase_block_stm50flw0x0x, |
| 5200 | }, { |
| 5201 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5202 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5203 | } |
| 5204 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5205 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5206 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5207 | }, |
| 5208 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5209 | { |
| 5210 | .vendor = "SyncMOS", |
| 5211 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5212 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5213 | .manufacture_id = SYNCMOS_ID, |
| 5214 | .model_id = S29C31004T, |
| 5215 | .total_size = 512, |
| 5216 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5217 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5218 | .tested = TEST_UNTESTED, |
| 5219 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5220 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5221 | .block_erasers = |
| 5222 | { |
| 5223 | { |
| 5224 | .eraseblocks = { {1 * 1024, 512} }, |
| 5225 | .block_erase = erase_sector_jedec, |
| 5226 | }, { |
| 5227 | .eraseblocks = { {512 * 1024, 1} }, |
| 5228 | .block_erase = erase_chip_block_jedec, |
| 5229 | }, |
| 5230 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5231 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5232 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5233 | }, |
| 5234 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5235 | { |
| 5236 | .vendor = "SyncMOS", |
| 5237 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5238 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5239 | .manufacture_id = SYNCMOS_ID, |
| 5240 | .model_id = S29C51001T, |
| 5241 | .total_size = 128, |
| 5242 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5243 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5244 | .tested = TEST_UNTESTED, |
| 5245 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5246 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5247 | .block_erasers = |
| 5248 | { |
| 5249 | { |
| 5250 | .eraseblocks = { {512, 256} }, |
| 5251 | .block_erase = erase_sector_jedec, |
| 5252 | }, { |
| 5253 | .eraseblocks = { {128 * 1024, 1} }, |
| 5254 | .block_erase = erase_chip_block_jedec, |
| 5255 | }, |
| 5256 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5257 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5258 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5259 | }, |
| 5260 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5261 | { |
| 5262 | .vendor = "SyncMOS", |
| 5263 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5264 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5265 | .manufacture_id = SYNCMOS_ID, |
| 5266 | .model_id = S29C51002T, |
| 5267 | .total_size = 256, |
| 5268 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5269 | .feature_bits = FEATURE_EITHER_RESET, |
| 5270 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5271 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5272 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5273 | .block_erasers = |
| 5274 | { |
| 5275 | { |
| 5276 | .eraseblocks = { {512, 512} }, |
| 5277 | .block_erase = erase_sector_jedec, |
| 5278 | }, { |
| 5279 | .eraseblocks = { {256 * 1024, 1} }, |
| 5280 | .block_erase = erase_chip_block_jedec, |
| 5281 | }, |
| 5282 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5283 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5284 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5285 | }, |
| 5286 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5287 | { |
| 5288 | .vendor = "SyncMOS", |
| 5289 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5290 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5291 | .manufacture_id = SYNCMOS_ID, |
| 5292 | .model_id = S29C51004T, |
| 5293 | .total_size = 512, |
| 5294 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5295 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5296 | .tested = TEST_UNTESTED, |
| 5297 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5298 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5299 | .block_erasers = |
| 5300 | { |
| 5301 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 5302 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5303 | .block_erase = erase_sector_jedec, |
| 5304 | }, { |
| 5305 | .eraseblocks = { {512 * 1024, 1} }, |
| 5306 | .block_erase = erase_chip_block_jedec, |
| 5307 | }, |
| 5308 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5309 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5310 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5311 | }, |
| 5312 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5313 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5314 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5315 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5316 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5317 | .manufacture_id = TI_OLD_ID, |
| 5318 | .model_id = TI_TMS29F002RB, |
| 5319 | .total_size = 256, |
| 5320 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5321 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5322 | .tested = TEST_UNTESTED, |
| 5323 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5324 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5325 | .block_erasers = |
| 5326 | { |
| 5327 | { |
| 5328 | .eraseblocks = { |
| 5329 | {16 * 1024, 1}, |
| 5330 | {8 * 1024, 2}, |
| 5331 | {32 * 1024, 1}, |
| 5332 | {64 * 1024, 3}, |
| 5333 | }, |
| 5334 | .block_erase = erase_sector_jedec, |
| 5335 | }, { |
| 5336 | .eraseblocks = { {256 * 1024, 1} }, |
| 5337 | .block_erase = erase_chip_block_jedec, |
| 5338 | }, |
| 5339 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5340 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5341 | .read = read_memmapped, |
| 5342 | }, |
| 5343 | |
| 5344 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5345 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5346 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5347 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5348 | .manufacture_id = TI_OLD_ID, |
| 5349 | .model_id = TI_TMS29F002RT, |
| 5350 | .total_size = 256, |
| 5351 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5352 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5353 | .tested = TEST_UNTESTED, |
| 5354 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5355 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5356 | .block_erasers = |
| 5357 | { |
| 5358 | { |
| 5359 | .eraseblocks = { |
| 5360 | {64 * 1024, 3}, |
| 5361 | {32 * 1024, 1}, |
| 5362 | {8 * 1024, 2}, |
| 5363 | {16 * 1024, 1}, |
| 5364 | }, |
| 5365 | .block_erase = erase_sector_jedec, |
| 5366 | }, { |
| 5367 | .eraseblocks = { {256 * 1024, 1} }, |
| 5368 | .block_erase = erase_chip_block_jedec, |
| 5369 | }, |
| 5370 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5371 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5372 | .read = read_memmapped, |
| 5373 | }, |
| 5374 | |
| 5375 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5376 | .vendor = "Winbond", |
| 5377 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5378 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5379 | .manufacture_id = WINBOND_NEX_ID, |
| 5380 | .model_id = W_25X10, |
| 5381 | .total_size = 128, |
| 5382 | .page_size = 256, |
| 5383 | .tested = TEST_UNTESTED, |
| 5384 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5385 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5386 | .block_erasers = |
| 5387 | { |
| 5388 | { |
| 5389 | .eraseblocks = { {4 * 1024, 32} }, |
| 5390 | .block_erase = spi_block_erase_20, |
| 5391 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5392 | .eraseblocks = { {64 * 1024, 2} }, |
| 5393 | .block_erase = spi_block_erase_d8, |
| 5394 | }, { |
| 5395 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5396 | .block_erase = spi_block_erase_c7, |
| 5397 | } |
| 5398 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5399 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5400 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5401 | }, |
| 5402 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5403 | { |
| 5404 | .vendor = "Winbond", |
| 5405 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5406 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5407 | .manufacture_id = WINBOND_NEX_ID, |
| 5408 | .model_id = W_25X20, |
| 5409 | .total_size = 256, |
| 5410 | .page_size = 256, |
| 5411 | .tested = TEST_UNTESTED, |
| 5412 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5413 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5414 | .block_erasers = |
| 5415 | { |
| 5416 | { |
| 5417 | .eraseblocks = { {4 * 1024, 64} }, |
| 5418 | .block_erase = spi_block_erase_20, |
| 5419 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5420 | .eraseblocks = { {64 * 1024, 4} }, |
| 5421 | .block_erase = spi_block_erase_d8, |
| 5422 | }, { |
| 5423 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5424 | .block_erase = spi_block_erase_c7, |
| 5425 | } |
| 5426 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5427 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5428 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5429 | }, |
| 5430 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5431 | { |
| 5432 | .vendor = "Winbond", |
| 5433 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5434 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5435 | .manufacture_id = WINBOND_NEX_ID, |
| 5436 | .model_id = W_25X40, |
| 5437 | .total_size = 512, |
| 5438 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5439 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5440 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5441 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5442 | .block_erasers = |
| 5443 | { |
| 5444 | { |
| 5445 | .eraseblocks = { {4 * 1024, 128} }, |
| 5446 | .block_erase = spi_block_erase_20, |
| 5447 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5448 | .eraseblocks = { {64 * 1024, 8} }, |
| 5449 | .block_erase = spi_block_erase_d8, |
| 5450 | }, { |
| 5451 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5452 | .block_erase = spi_block_erase_c7, |
| 5453 | } |
| 5454 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5455 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5456 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5457 | }, |
| 5458 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5459 | { |
| 5460 | .vendor = "Winbond", |
| 5461 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5462 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5463 | .manufacture_id = WINBOND_NEX_ID, |
| 5464 | .model_id = W_25X80, |
| 5465 | .total_size = 1024, |
| 5466 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5467 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5468 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5469 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5470 | .block_erasers = |
| 5471 | { |
| 5472 | { |
| 5473 | .eraseblocks = { {4 * 1024, 256} }, |
| 5474 | .block_erase = spi_block_erase_20, |
| 5475 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5476 | .eraseblocks = { {64 * 1024, 16} }, |
| 5477 | .block_erase = spi_block_erase_d8, |
| 5478 | }, { |
| 5479 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5480 | .block_erase = spi_block_erase_c7, |
| 5481 | } |
| 5482 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5483 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5484 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5485 | }, |
| 5486 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5487 | { |
| 5488 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5489 | .name = "W25x16", |
| 5490 | .bustype = CHIP_BUSTYPE_SPI, |
| 5491 | .manufacture_id = WINBOND_NEX_ID, |
| 5492 | .model_id = W_25X16, |
| 5493 | .total_size = 2048, |
| 5494 | .page_size = 256, |
| 5495 | .tested = TEST_OK_PR, |
| 5496 | .probe = probe_spi_rdid, |
| 5497 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5498 | .block_erasers = |
| 5499 | { |
| 5500 | { |
| 5501 | .eraseblocks = { {4 * 1024, 512} }, |
| 5502 | .block_erase = spi_block_erase_20, |
| 5503 | }, { |
| 5504 | .eraseblocks = { {32 * 1024, 64} }, |
| 5505 | .block_erase = spi_block_erase_52, |
| 5506 | }, { |
| 5507 | .eraseblocks = { {64 * 1024, 32} }, |
| 5508 | .block_erase = spi_block_erase_d8, |
| 5509 | }, { |
| 5510 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5511 | .block_erase = spi_block_erase_60, |
| 5512 | }, { |
| 5513 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5514 | .block_erase = spi_block_erase_c7, |
| 5515 | } |
| 5516 | }, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5517 | .write = spi_chip_write_256, |
| 5518 | .read = spi_chip_read, |
| 5519 | }, |
| 5520 | |
| 5521 | { |
| 5522 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5523 | .name = "W25x32", |
| 5524 | .bustype = CHIP_BUSTYPE_SPI, |
| 5525 | .manufacture_id = WINBOND_NEX_ID, |
| 5526 | .model_id = W_25X32, |
| 5527 | .total_size = 4096, |
| 5528 | .page_size = 256, |
| 5529 | .tested = TEST_OK_PROBE, |
| 5530 | .probe = probe_spi_rdid, |
| 5531 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5532 | .block_erasers = |
| 5533 | { |
| 5534 | { |
| 5535 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5536 | .block_erase = spi_block_erase_20, |
| 5537 | }, { |
| 5538 | .eraseblocks = { {32 * 1024, 128} }, |
| 5539 | .block_erase = spi_block_erase_52, |
| 5540 | }, { |
| 5541 | .eraseblocks = { {64 * 1024, 64} }, |
| 5542 | .block_erase = spi_block_erase_d8, |
| 5543 | }, { |
| 5544 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5545 | .block_erase = spi_block_erase_60, |
| 5546 | }, { |
| 5547 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5548 | .block_erase = spi_block_erase_c7, |
| 5549 | } |
| 5550 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5551 | .write = spi_chip_write_256, |
| 5552 | .read = spi_chip_read, |
| 5553 | }, |
| 5554 | |
| 5555 | { |
| 5556 | .vendor = "Winbond", |
| 5557 | .name = "W25x64", |
| 5558 | .bustype = CHIP_BUSTYPE_SPI, |
| 5559 | .manufacture_id = WINBOND_NEX_ID, |
| 5560 | .model_id = W_25X64, |
| 5561 | .total_size = 8192, |
| 5562 | .page_size = 256, |
| 5563 | .tested = TEST_UNTESTED, |
| 5564 | .probe = probe_spi_rdid, |
| 5565 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5566 | .block_erasers = |
| 5567 | { |
| 5568 | { |
| 5569 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5570 | .block_erase = spi_block_erase_20, |
| 5571 | }, { |
| 5572 | .eraseblocks = { {32 * 1024, 256} }, |
| 5573 | .block_erase = spi_block_erase_52, |
| 5574 | }, { |
| 5575 | .eraseblocks = { {64 * 1024, 128} }, |
| 5576 | .block_erase = spi_block_erase_d8, |
| 5577 | }, { |
| 5578 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5579 | .block_erase = spi_block_erase_60, |
| 5580 | }, { |
| 5581 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5582 | .block_erase = spi_block_erase_c7, |
| 5583 | } |
| 5584 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5585 | .write = spi_chip_write_256, |
| 5586 | .read = spi_chip_read, |
| 5587 | }, |
| 5588 | |
| 5589 | { |
| 5590 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5591 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5592 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5593 | .manufacture_id = WINBOND_ID, |
| 5594 | .model_id = W_29C011, |
| 5595 | .total_size = 128, |
| 5596 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5597 | .feature_bits = FEATURE_LONG_RESET, |
| 5598 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5599 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5600 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5601 | .block_erasers = |
| 5602 | { |
| 5603 | { |
| 5604 | .eraseblocks = { {128 * 1024, 1} }, |
| 5605 | .block_erase = erase_chip_block_jedec, |
| 5606 | } |
| 5607 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5608 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5609 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5610 | }, |
| 5611 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5612 | { |
| 5613 | .vendor = "Winbond", |
| 5614 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5615 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5616 | .manufacture_id = WINBOND_ID, |
| 5617 | .model_id = W_29C020C, |
| 5618 | .total_size = 256, |
| 5619 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5620 | .feature_bits = FEATURE_LONG_RESET, |
| 5621 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5622 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5623 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5624 | .block_erasers = |
| 5625 | { |
| 5626 | { |
| 5627 | .eraseblocks = { {256 * 1024, 1} }, |
| 5628 | .block_erase = erase_chip_block_jedec, |
| 5629 | } |
| 5630 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5631 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5632 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5633 | }, |
| 5634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5635 | { |
| 5636 | .vendor = "Winbond", |
| 5637 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5638 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5639 | .manufacture_id = WINBOND_ID, |
| 5640 | .model_id = W_29C040P, |
| 5641 | .total_size = 512, |
| 5642 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5643 | .feature_bits = FEATURE_LONG_RESET, |
| 5644 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5645 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5646 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5647 | .block_erasers = |
| 5648 | { |
| 5649 | { |
| 5650 | .eraseblocks = { {512 * 1024, 1} }, |
| 5651 | .block_erase = erase_chip_block_jedec, |
| 5652 | } |
| 5653 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5654 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5655 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5656 | }, |
| 5657 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5658 | { |
| 5659 | .vendor = "Winbond", |
| 5660 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5661 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5662 | .manufacture_id = WINBOND_ID, |
| 5663 | .model_id = W_29C011, |
| 5664 | .total_size = 128, |
| 5665 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5666 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5667 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5668 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5669 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5670 | .block_erasers = |
| 5671 | { |
| 5672 | { |
| 5673 | .eraseblocks = { {128 * 1024, 1} }, |
| 5674 | .block_erase = erase_chip_block_jedec, |
| 5675 | } |
| 5676 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5677 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5678 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5679 | }, |
| 5680 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5681 | { |
| 5682 | .vendor = "Winbond", |
| 5683 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5684 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5685 | .manufacture_id = WINBOND_ID, |
| 5686 | .model_id = W_39V040A, |
| 5687 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5688 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5689 | .feature_bits = FEATURE_EITHER_RESET, |
| 5690 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5691 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5692 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5693 | .block_erasers = |
| 5694 | { |
| 5695 | { |
| 5696 | .eraseblocks = { {64 * 1024, 8} }, |
| 5697 | .block_erase = erase_sector_jedec, |
| 5698 | }, { |
| 5699 | .eraseblocks = { {512 * 1024, 1} }, |
| 5700 | .block_erase = erase_chip_block_jedec, |
| 5701 | } |
| 5702 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5703 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5704 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5705 | }, |
| 5706 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5707 | { |
| 5708 | .vendor = "Winbond", |
| 5709 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5710 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5711 | .manufacture_id = WINBOND_ID, |
| 5712 | .model_id = W_39V040B, |
| 5713 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5714 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5715 | .feature_bits = FEATURE_EITHER_RESET, |
| 5716 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5717 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5718 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5719 | .block_erasers = |
| 5720 | { |
| 5721 | { |
| 5722 | .eraseblocks = { {64 * 1024, 8} }, |
| 5723 | .block_erase = erase_sector_jedec, |
| 5724 | }, { |
| 5725 | .eraseblocks = { {512 * 1024, 1} }, |
| 5726 | .block_erase = erase_chip_block_jedec, |
| 5727 | } |
| 5728 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5729 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5730 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5731 | }, |
| 5732 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5733 | { |
| 5734 | .vendor = "Winbond", |
| 5735 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5736 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5737 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5738 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5739 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5740 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5741 | .feature_bits = FEATURE_EITHER_RESET, |
| 5742 | .tested = TEST_UNTESTED, |
| 5743 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5744 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5745 | .block_erasers = |
| 5746 | { |
| 5747 | { |
| 5748 | .eraseblocks = { {64 * 1024, 8} }, |
| 5749 | .block_erase = erase_sector_jedec, |
| 5750 | }, { |
| 5751 | .eraseblocks = { {512 * 1024, 1} }, |
| 5752 | .block_erase = erase_chip_block_jedec, |
| 5753 | } |
| 5754 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5755 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5756 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5757 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5758 | }, |
| 5759 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5760 | { |
| 5761 | .vendor = "Winbond", |
| 5762 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5763 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5764 | .manufacture_id = WINBOND_ID, |
| 5765 | .model_id = W_39V040FA, |
| 5766 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5767 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5768 | .feature_bits = FEATURE_EITHER_RESET, |
| 5769 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5770 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5771 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5772 | .block_erasers = |
| 5773 | { |
| 5774 | { |
| 5775 | .eraseblocks = { {4 * 1024, 128} }, |
| 5776 | .block_erase = erase_block_jedec, |
| 5777 | }, { |
| 5778 | .eraseblocks = { {64 * 1024, 8} }, |
| 5779 | .block_erase = erase_sector_jedec, |
| 5780 | }, { |
| 5781 | .eraseblocks = { {512 * 1024, 1} }, |
| 5782 | .block_erase = erase_chip_block_jedec, |
| 5783 | } |
| 5784 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5785 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5786 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5787 | }, |
| 5788 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5789 | { |
| 5790 | .vendor = "Winbond", |
| 5791 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5792 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5793 | .manufacture_id = WINBOND_ID, |
| 5794 | .model_id = W_39V080A, |
| 5795 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5796 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5797 | .feature_bits = FEATURE_EITHER_RESET, |
| 5798 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5799 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5800 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5801 | .block_erasers = |
| 5802 | { |
| 5803 | { |
| 5804 | .eraseblocks = { {64 * 1024, 16} }, |
| 5805 | .block_erase = erase_sector_jedec, |
| 5806 | }, { |
| 5807 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5808 | .block_erase = erase_chip_block_jedec, |
| 5809 | } |
| 5810 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5811 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5812 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5813 | }, |
| 5814 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5815 | { |
| 5816 | .vendor = "Winbond", |
| 5817 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5818 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5819 | .manufacture_id = WINBOND_ID, |
| 5820 | .model_id = W_49F002U, |
| 5821 | .total_size = 256, |
| 5822 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5823 | .feature_bits = FEATURE_EITHER_RESET, |
| 5824 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5825 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5826 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5827 | .block_erasers = |
| 5828 | { |
| 5829 | { |
| 5830 | .eraseblocks = { |
| 5831 | {128 * 1024, 1}, |
| 5832 | {96 * 1024, 1}, |
| 5833 | {8 * 1024, 2}, |
| 5834 | {16 * 1024, 1}, |
| 5835 | }, |
| 5836 | .block_erase = erase_sector_jedec, |
| 5837 | }, { |
| 5838 | .eraseblocks = { {256 * 1024, 1} }, |
| 5839 | .block_erase = erase_chip_block_jedec, |
| 5840 | } |
| 5841 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5842 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5843 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5844 | }, |
| 5845 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5846 | { |
| 5847 | .vendor = "Winbond", |
| 5848 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5849 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5850 | .manufacture_id = WINBOND_ID, |
| 5851 | .model_id = W_49V002A, |
| 5852 | .total_size = 256, |
| 5853 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5854 | .feature_bits = FEATURE_EITHER_RESET, |
| 5855 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5856 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5857 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5858 | .block_erasers = |
| 5859 | { |
| 5860 | { |
| 5861 | .eraseblocks = { |
| 5862 | {64 * 1024, 3}, |
| 5863 | {32 * 1024, 1}, |
| 5864 | {8 * 1024, 2}, |
| 5865 | {16 * 1024, 1}, |
| 5866 | }, |
| 5867 | .block_erase = erase_sector_jedec, |
| 5868 | }, { |
| 5869 | .eraseblocks = { {256 * 1024, 1} }, |
| 5870 | .block_erase = erase_chip_block_jedec, |
| 5871 | } |
| 5872 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5873 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5874 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5875 | }, |
| 5876 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5877 | { |
| 5878 | .vendor = "Winbond", |
| 5879 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5880 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5881 | .manufacture_id = WINBOND_ID, |
| 5882 | .model_id = W_49V002FA, |
| 5883 | .total_size = 256, |
| 5884 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5885 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5886 | .tested = TEST_UNTESTED, |
| 5887 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5888 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5889 | .block_erasers = |
| 5890 | { |
| 5891 | { |
| 5892 | .eraseblocks = { |
| 5893 | {64 * 1024, 3}, |
| 5894 | {32 * 1024, 1}, |
| 5895 | {8 * 1024, 2}, |
| 5896 | {16 * 1024, 1}, |
| 5897 | }, |
| 5898 | .block_erase = erase_sector_jedec, |
| 5899 | }, { |
| 5900 | .eraseblocks = { {256 * 1024, 1} }, |
| 5901 | .block_erase = erase_chip_block_jedec, |
| 5902 | } |
| 5903 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5904 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5905 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5906 | }, |
| 5907 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5908 | { |
| 5909 | .vendor = "Winbond", |
| 5910 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5911 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5912 | .manufacture_id = WINBOND_ID, |
| 5913 | .model_id = W_39V080FA, |
| 5914 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5915 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5916 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 5917 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5918 | .probe = probe_jedec, |
| 5919 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5920 | .block_erasers = |
| 5921 | { |
| 5922 | { |
| 5923 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5924 | .block_erase = erase_sector_jedec, |
| 5925 | }, { |
| 5926 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5927 | .block_erase = erase_chip_block_jedec, |
| 5928 | } |
| 5929 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5930 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5931 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5932 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5933 | }, |
| 5934 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5935 | { |
| 5936 | .vendor = "Winbond", |
| 5937 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5938 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5939 | .manufacture_id = WINBOND_ID, |
| 5940 | .model_id = W_39V080FA_DM, |
| 5941 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5942 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5943 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5944 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5945 | .probe = probe_jedec, |
| 5946 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5947 | .block_erasers = |
| 5948 | { |
| 5949 | { |
| 5950 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5951 | .block_erase = erase_sector_jedec, |
| 5952 | }, { |
| 5953 | .eraseblocks = { {512 * 1024, 1} }, |
| 5954 | .block_erase = erase_chip_block_jedec, |
| 5955 | } |
| 5956 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5957 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5958 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5959 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5960 | }, |
| 5961 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5962 | { |
| 5963 | .vendor = "Atmel", |
| 5964 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5965 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5966 | .manufacture_id = ATMEL_ID, |
| 5967 | .model_id = GENERIC_DEVICE_ID, |
| 5968 | .total_size = 0, |
| 5969 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 5970 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5971 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5972 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5973 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5974 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5975 | }, |
| 5976 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5977 | { |
| 5978 | .vendor = "EON", |
| 5979 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5980 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5981 | .manufacture_id = EON_ID_NOPREFIX, |
| 5982 | .model_id = GENERIC_DEVICE_ID, |
| 5983 | .total_size = 0, |
| 5984 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 5985 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5986 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5987 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5988 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5989 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5990 | }, |
| 5991 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5992 | { |
| 5993 | .vendor = "Macronix", |
| 5994 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5995 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5996 | .manufacture_id = MX_ID, |
| 5997 | .model_id = GENERIC_DEVICE_ID, |
| 5998 | .total_size = 0, |
| 5999 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6000 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6001 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6002 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6003 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6004 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6005 | }, |
| 6006 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6007 | { |
| 6008 | .vendor = "PMC", |
| 6009 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6010 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6011 | .manufacture_id = PMC_ID, |
| 6012 | .model_id = GENERIC_DEVICE_ID, |
| 6013 | .total_size = 0, |
| 6014 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6015 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6016 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6017 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6018 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6019 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6020 | }, |
| 6021 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6022 | { |
| 6023 | .vendor = "SST", |
| 6024 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6025 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6026 | .manufacture_id = SST_ID, |
| 6027 | .model_id = GENERIC_DEVICE_ID, |
| 6028 | .total_size = 0, |
| 6029 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6030 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6031 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6032 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6033 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6034 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6035 | }, |
| 6036 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6037 | { |
| 6038 | .vendor = "ST", |
| 6039 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6040 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6041 | .manufacture_id = ST_ID, |
| 6042 | .model_id = GENERIC_DEVICE_ID, |
| 6043 | .total_size = 0, |
| 6044 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6045 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6046 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6047 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6048 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6049 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6050 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 6051 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6052 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6053 | .vendor = "Sanyo", |
| 6054 | .name = "unknown Sanyo SPI chip", |
| 6055 | .bustype = CHIP_BUSTYPE_SPI, |
| 6056 | .manufacture_id = SANYO_ID, |
| 6057 | .model_id = GENERIC_DEVICE_ID, |
| 6058 | .total_size = 0, |
| 6059 | .page_size = 256, |
| 6060 | .tested = TEST_BAD_PREW, |
| 6061 | .probe = probe_spi_rdid, |
| 6062 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6063 | .write = NULL, |
| 6064 | .read = NULL, |
| 6065 | }, |
| 6066 | |
| 6067 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6068 | .vendor = "Generic", |
| 6069 | .name = "unknown SPI chip (RDID)", |
| 6070 | .bustype = CHIP_BUSTYPE_SPI, |
| 6071 | .manufacture_id = GENERIC_MANUF_ID, |
| 6072 | .model_id = GENERIC_DEVICE_ID, |
| 6073 | .total_size = 0, |
| 6074 | .page_size = 256, |
| 6075 | .tested = TEST_BAD_PREW, |
| 6076 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6077 | .write = NULL, |
| 6078 | }, |
| 6079 | { |
| 6080 | .vendor = "Generic", |
| 6081 | .name = "unknown SPI chip (REMS)", |
| 6082 | .bustype = CHIP_BUSTYPE_SPI, |
| 6083 | .manufacture_id = GENERIC_MANUF_ID, |
| 6084 | .model_id = GENERIC_DEVICE_ID, |
| 6085 | .total_size = 0, |
| 6086 | .page_size = 256, |
| 6087 | .tested = TEST_BAD_PREW, |
| 6088 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6089 | .write = NULL, |
| 6090 | }, |
| 6091 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6092 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 6093 | }; |