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 |
| 47 | * .erase = Chip erase function |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 48 | * .block_erasers[] = Array of erase layouts and erase functions |
| 49 | * { |
| 50 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 51 | * .block_erase = Block erase function |
| 52 | * } |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 53 | * .write = Chip write function |
| 54 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 55 | */ |
| 56 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 57 | { |
| 58 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 59 | .name = "Am29F010A/B", |
| 60 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 61 | .manufacture_id = AMD_ID, |
| 62 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 63 | .total_size = 128, |
| 64 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 65 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 66 | .tested = TEST_UNTESTED, |
| 67 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 68 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 69 | .erase = NULL, |
| 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 | .erase = NULL, |
| 97 | .block_erasers = |
| 98 | { |
| 99 | { |
| 100 | .eraseblocks = { |
| 101 | {16 * 1024, 1}, |
| 102 | {8 * 1024, 2}, |
| 103 | {32 * 1024, 1}, |
| 104 | {64 * 1024, 3}, |
| 105 | }, |
| 106 | .block_erase = erase_sector_jedec, |
| 107 | }, { |
| 108 | .eraseblocks = { {256 * 1024, 1} }, |
| 109 | .block_erase = erase_chip_block_jedec, |
| 110 | }, |
| 111 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 114 | }, |
| 115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 116 | { |
| 117 | .vendor = "AMD", |
| 118 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 120 | .manufacture_id = AMD_ID, |
| 121 | .model_id = AM_29F002BT, |
| 122 | .total_size = 256, |
| 123 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 124 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 125 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 126 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 128 | .erase = NULL, |
| 129 | .block_erasers = |
| 130 | { |
| 131 | { |
| 132 | .eraseblocks = { |
| 133 | {64 * 1024, 3}, |
| 134 | {32 * 1024, 1}, |
| 135 | {8 * 1024, 2}, |
| 136 | {16 * 1024, 1}, |
| 137 | }, |
| 138 | .block_erase = erase_sector_jedec, |
| 139 | }, { |
| 140 | .eraseblocks = { {256 * 1024, 1} }, |
| 141 | .block_erase = erase_chip_block_jedec, |
| 142 | }, |
| 143 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 144 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 145 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 146 | }, |
| 147 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 148 | { |
| 149 | .vendor = "AMD", |
| 150 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 151 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 152 | .manufacture_id = AMD_ID, |
| 153 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 154 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 155 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 156 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 157 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 158 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 159 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 160 | .erase = NULL, |
| 161 | .block_erasers = |
| 162 | { |
| 163 | { |
| 164 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 165 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 166 | }, { |
| 167 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 168 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 169 | }, |
| 170 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 171 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 172 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 173 | }, |
| 174 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 175 | { |
| 176 | .vendor = "AMD", |
| 177 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 178 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 179 | .manufacture_id = AMD_ID, |
| 180 | .model_id = AM_29F040B, |
| 181 | .total_size = 512, |
| 182 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 183 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 184 | .tested = TEST_UNTESTED, |
| 185 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 186 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 187 | .erase = NULL, |
| 188 | .block_erasers = |
| 189 | { |
| 190 | { |
| 191 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 193 | }, { |
| 194 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 195 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 196 | }, |
| 197 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 198 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 199 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 200 | }, |
| 201 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 202 | { |
| 203 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 204 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 205 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 206 | .manufacture_id = AMD_ID, |
| 207 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 208 | .total_size = 1024, |
| 209 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 210 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 211 | .tested = TEST_UNTESTED, |
| 212 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 213 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 214 | .erase = NULL, |
| 215 | .block_erasers = |
| 216 | { |
| 217 | { |
| 218 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 219 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 220 | }, { |
| 221 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 222 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 223 | }, |
| 224 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 225 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 226 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 227 | }, |
| 228 | |
| 229 | { |
| 230 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 231 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 232 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 233 | .manufacture_id = AMD_ID, |
| 234 | .model_id = AM_29LV040B, |
| 235 | .total_size = 512, |
| 236 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 237 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 238 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 239 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 240 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 241 | .erase = NULL, |
| 242 | .block_erasers = |
| 243 | { |
| 244 | { |
| 245 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 246 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 247 | }, { |
| 248 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 249 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 250 | }, |
| 251 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 252 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 253 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 254 | }, |
| 255 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 256 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .vendor = "AMD", |
| 258 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 259 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 260 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 261 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 262 | .total_size = 1024, |
| 263 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 264 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 265 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 266 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 267 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | .erase = NULL, |
| 269 | .block_erasers = |
| 270 | { |
| 271 | { |
| 272 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 273 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 274 | }, { |
| 275 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 276 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 277 | }, |
| 278 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 279 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 280 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 281 | }, |
| 282 | |
| 283 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 284 | .vendor = "ASD", |
| 285 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 286 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 287 | .manufacture_id = ASD_ID, |
| 288 | .model_id = ASD_AE49F2008, |
| 289 | .total_size = 256, |
| 290 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 291 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 292 | .tested = TEST_UNTESTED, |
| 293 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 294 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 295 | .erase = NULL, |
| 296 | .block_erasers = |
| 297 | { |
| 298 | { |
| 299 | .eraseblocks = { |
| 300 | {128 * 1024, 1}, |
| 301 | {96 * 1024, 1}, |
| 302 | {8 * 1024, 2}, |
| 303 | {16 * 1024, 1}, |
| 304 | }, |
| 305 | .block_erase = erase_sector_jedec, |
| 306 | }, { |
| 307 | .eraseblocks = { {256 * 1024, 1} }, |
| 308 | .block_erase = erase_chip_block_jedec, |
| 309 | } |
| 310 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 311 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 312 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 313 | }, |
| 314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 315 | { |
| 316 | .vendor = "Atmel", |
| 317 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 318 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 319 | .manufacture_id = ATMEL_ID, |
| 320 | .model_id = AT_25DF021, |
| 321 | .total_size = 256, |
| 322 | .page_size = 256, |
| 323 | .tested = TEST_UNTESTED, |
| 324 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 325 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 326 | .erase = NULL, |
| 327 | .block_erasers = |
| 328 | { |
| 329 | { |
| 330 | .eraseblocks = { {4 * 1024, 64} }, |
| 331 | .block_erase = spi_block_erase_20, |
| 332 | }, { |
| 333 | .eraseblocks = { {32 * 1024, 8} }, |
| 334 | .block_erase = spi_block_erase_52, |
| 335 | }, { |
| 336 | .eraseblocks = { {64 * 1024, 4} }, |
| 337 | .block_erase = spi_block_erase_d8, |
| 338 | }, { |
| 339 | .eraseblocks = { {256 * 1024, 1} }, |
| 340 | .block_erase = spi_block_erase_60, |
| 341 | }, { |
| 342 | .eraseblocks = { {256 * 1024, 1} }, |
| 343 | .block_erase = spi_block_erase_c7, |
| 344 | } |
| 345 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 346 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 347 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 348 | }, |
| 349 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 350 | { |
| 351 | .vendor = "Atmel", |
| 352 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 353 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 354 | .manufacture_id = ATMEL_ID, |
| 355 | .model_id = AT_25DF041A, |
| 356 | .total_size = 512, |
| 357 | .page_size = 256, |
| 358 | .tested = TEST_UNTESTED, |
| 359 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 360 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 361 | .erase = NULL, |
| 362 | .block_erasers = |
| 363 | { |
| 364 | { |
| 365 | .eraseblocks = { {4 * 1024, 128} }, |
| 366 | .block_erase = spi_block_erase_20, |
| 367 | }, { |
| 368 | .eraseblocks = { {32 * 1024, 16} }, |
| 369 | .block_erase = spi_block_erase_52, |
| 370 | }, { |
| 371 | .eraseblocks = { {64 * 1024, 8} }, |
| 372 | .block_erase = spi_block_erase_d8, |
| 373 | }, { |
| 374 | .eraseblocks = { {512 * 1024, 1} }, |
| 375 | .block_erase = spi_block_erase_60, |
| 376 | }, { |
| 377 | .eraseblocks = { {512 * 1024, 1} }, |
| 378 | .block_erase = spi_block_erase_c7, |
| 379 | } |
| 380 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 381 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 382 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 383 | }, |
| 384 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 385 | { |
| 386 | .vendor = "Atmel", |
| 387 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 388 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 389 | .manufacture_id = ATMEL_ID, |
| 390 | .model_id = AT_25DF081, |
| 391 | .total_size = 1024, |
| 392 | .page_size = 256, |
| 393 | .tested = TEST_UNTESTED, |
| 394 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 395 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 396 | .erase = NULL, |
| 397 | .block_erasers = |
| 398 | { |
| 399 | { |
| 400 | .eraseblocks = { {4 * 1024, 256} }, |
| 401 | .block_erase = spi_block_erase_20, |
| 402 | }, { |
| 403 | .eraseblocks = { {32 * 1024, 32} }, |
| 404 | .block_erase = spi_block_erase_52, |
| 405 | }, { |
| 406 | .eraseblocks = { {64 * 1024, 16} }, |
| 407 | .block_erase = spi_block_erase_d8, |
| 408 | }, { |
| 409 | .eraseblocks = { {1024 * 1024, 1} }, |
| 410 | .block_erase = spi_block_erase_60, |
| 411 | }, { |
| 412 | .eraseblocks = { {1024 * 1024, 1} }, |
| 413 | .block_erase = spi_block_erase_c7, |
| 414 | } |
| 415 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 416 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 417 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 418 | }, |
| 419 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 420 | { |
| 421 | .vendor = "Atmel", |
| 422 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 423 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 424 | .manufacture_id = ATMEL_ID, |
| 425 | .model_id = AT_25DF161, |
| 426 | .total_size = 2048, |
| 427 | .page_size = 256, |
| 428 | .tested = TEST_UNTESTED, |
| 429 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 430 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 431 | .erase = NULL, |
| 432 | .block_erasers = |
| 433 | { |
| 434 | { |
| 435 | .eraseblocks = { {4 * 1024, 512} }, |
| 436 | .block_erase = spi_block_erase_20, |
| 437 | }, { |
| 438 | .eraseblocks = { {32 * 1024, 64} }, |
| 439 | .block_erase = spi_block_erase_52, |
| 440 | }, { |
| 441 | .eraseblocks = { {64 * 1024, 32} }, |
| 442 | .block_erase = spi_block_erase_d8, |
| 443 | }, { |
| 444 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 445 | .block_erase = spi_block_erase_60, |
| 446 | }, { |
| 447 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 448 | .block_erase = spi_block_erase_c7, |
| 449 | } |
| 450 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 451 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 452 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 453 | }, |
| 454 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 455 | { |
| 456 | .vendor = "Atmel", |
| 457 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 458 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 459 | .manufacture_id = ATMEL_ID, |
| 460 | .model_id = AT_25DF321, |
| 461 | .total_size = 4096, |
| 462 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 463 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 464 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 465 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 466 | .erase = NULL, |
| 467 | .block_erasers = |
| 468 | { |
| 469 | { |
| 470 | .eraseblocks = { {4 * 1024, 1024} }, |
| 471 | .block_erase = spi_block_erase_20, |
| 472 | }, { |
| 473 | .eraseblocks = { {32 * 1024, 128} }, |
| 474 | .block_erase = spi_block_erase_52, |
| 475 | }, { |
| 476 | .eraseblocks = { {64 * 1024, 64} }, |
| 477 | .block_erase = spi_block_erase_d8, |
| 478 | }, { |
| 479 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 480 | .block_erase = spi_block_erase_60, |
| 481 | }, { |
| 482 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 483 | .block_erase = spi_block_erase_c7, |
| 484 | } |
| 485 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 486 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 487 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 488 | }, |
| 489 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 490 | { |
| 491 | .vendor = "Atmel", |
| 492 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 493 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 494 | .manufacture_id = ATMEL_ID, |
| 495 | .model_id = AT_25DF321A, |
| 496 | .total_size = 4096, |
| 497 | .page_size = 256, |
| 498 | .tested = TEST_UNTESTED, |
| 499 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 500 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 501 | .erase = NULL, |
| 502 | .block_erasers = |
| 503 | { |
| 504 | { |
| 505 | .eraseblocks = { {4 * 1024, 1024} }, |
| 506 | .block_erase = spi_block_erase_20, |
| 507 | }, { |
| 508 | .eraseblocks = { {32 * 1024, 128} }, |
| 509 | .block_erase = spi_block_erase_52, |
| 510 | }, { |
| 511 | .eraseblocks = { {64 * 1024, 64} }, |
| 512 | .block_erase = spi_block_erase_d8, |
| 513 | }, { |
| 514 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 515 | .block_erase = spi_block_erase_60, |
| 516 | }, { |
| 517 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 518 | .block_erase = spi_block_erase_c7, |
| 519 | } |
| 520 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 521 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 522 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 523 | }, |
| 524 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 525 | { |
| 526 | .vendor = "Atmel", |
| 527 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 528 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 529 | .manufacture_id = ATMEL_ID, |
| 530 | .model_id = AT_25DF641, |
| 531 | .total_size = 8192, |
| 532 | .page_size = 256, |
| 533 | .tested = TEST_UNTESTED, |
| 534 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 535 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 536 | .erase = NULL, |
| 537 | .block_erasers = |
| 538 | { |
| 539 | { |
| 540 | .eraseblocks = { {4 * 1024, 2048} }, |
| 541 | .block_erase = spi_block_erase_20, |
| 542 | }, { |
| 543 | .eraseblocks = { {32 * 1024, 256} }, |
| 544 | .block_erase = spi_block_erase_52, |
| 545 | }, { |
| 546 | .eraseblocks = { {64 * 1024, 128} }, |
| 547 | .block_erase = spi_block_erase_d8, |
| 548 | }, { |
| 549 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 550 | .block_erase = spi_block_erase_60, |
| 551 | }, { |
| 552 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 553 | .block_erase = spi_block_erase_c7, |
| 554 | } |
| 555 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 556 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 557 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 558 | }, |
| 559 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 560 | { |
| 561 | .vendor = "Atmel", |
| 562 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 563 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 564 | .manufacture_id = ATMEL_ID, |
| 565 | .model_id = AT_25F512B, |
| 566 | .total_size = 64, |
| 567 | .page_size = 256, |
| 568 | .tested = TEST_UNTESTED, |
| 569 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 570 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 571 | .erase = NULL, |
| 572 | .block_erasers = |
| 573 | { |
| 574 | { |
| 575 | .eraseblocks = { {4 * 1024, 16} }, |
| 576 | .block_erase = spi_block_erase_20, |
| 577 | }, { |
| 578 | .eraseblocks = { {32 * 1024, 2} }, |
| 579 | .block_erase = spi_block_erase_52, |
| 580 | }, { |
| 581 | .eraseblocks = { {32 * 1024, 2} }, |
| 582 | .block_erase = spi_block_erase_d8, |
| 583 | }, { |
| 584 | .eraseblocks = { {64 * 1024, 1} }, |
| 585 | .block_erase = spi_block_erase_60, |
| 586 | }, { |
| 587 | .eraseblocks = { {64 * 1024, 1} }, |
| 588 | .block_erase = spi_block_erase_c7, |
| 589 | } |
| 590 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 591 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 592 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 593 | }, |
| 594 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 595 | { |
| 596 | .vendor = "Atmel", |
| 597 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 598 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 599 | .manufacture_id = ATMEL_ID, |
| 600 | .model_id = AT_25FS010, |
| 601 | .total_size = 128, |
| 602 | .page_size = 256, |
| 603 | .tested = TEST_UNTESTED, |
| 604 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 605 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 606 | .erase = NULL, |
| 607 | .block_erasers = |
| 608 | { |
| 609 | { |
| 610 | .eraseblocks = { {4 * 1024, 32} }, |
| 611 | .block_erase = spi_block_erase_20, |
| 612 | }, { |
| 613 | .eraseblocks = { {32 * 1024, 4} }, |
| 614 | .block_erase = spi_block_erase_52, |
| 615 | }, { |
| 616 | .eraseblocks = { {32 * 1024, 4} }, |
| 617 | .block_erase = spi_block_erase_d8, |
| 618 | }, { |
| 619 | .eraseblocks = { {128 * 1024, 1} }, |
| 620 | .block_erase = spi_block_erase_60, |
| 621 | }, { |
| 622 | .eraseblocks = { {128 * 1024, 1} }, |
| 623 | .block_erase = spi_block_erase_c7, |
| 624 | } |
| 625 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 626 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 627 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 628 | }, |
| 629 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 630 | { |
| 631 | .vendor = "Atmel", |
| 632 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 633 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 634 | .manufacture_id = ATMEL_ID, |
| 635 | .model_id = AT_25FS040, |
| 636 | .total_size = 512, |
| 637 | .page_size = 256, |
| 638 | .tested = TEST_UNTESTED, |
| 639 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 640 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 641 | .erase = NULL, |
| 642 | .block_erasers = |
| 643 | { |
| 644 | { |
| 645 | .eraseblocks = { {4 * 1024, 128} }, |
| 646 | .block_erase = spi_block_erase_20, |
| 647 | }, { |
| 648 | .eraseblocks = { {64 * 1024, 8} }, |
| 649 | .block_erase = spi_block_erase_52, |
| 650 | }, { |
| 651 | .eraseblocks = { {64 * 1024, 8} }, |
| 652 | .block_erase = spi_block_erase_d8, |
| 653 | }, { |
| 654 | .eraseblocks = { {512 * 1024, 1} }, |
| 655 | .block_erase = spi_block_erase_60, |
| 656 | }, { |
| 657 | .eraseblocks = { {512 * 1024, 1} }, |
| 658 | .block_erase = spi_block_erase_c7, |
| 659 | } |
| 660 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 661 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 662 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 663 | }, |
| 664 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 665 | { |
| 666 | .vendor = "Atmel", |
| 667 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 668 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 669 | .manufacture_id = ATMEL_ID, |
| 670 | .model_id = AT_26DF041, |
| 671 | .total_size = 512, |
| 672 | .page_size = 256, |
| 673 | .tested = TEST_UNTESTED, |
| 674 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 675 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 676 | .erase = NULL, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 677 | .block_erasers = |
| 678 | { |
| 679 | { |
| 680 | .eraseblocks = { {4 * 1024, 128} }, |
| 681 | .block_erase = spi_block_erase_20, |
| 682 | } |
| 683 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 684 | .write = NULL /* Incompatible Page write */, |
| 685 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 686 | }, |
| 687 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 688 | { |
| 689 | .vendor = "Atmel", |
| 690 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 691 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 692 | .manufacture_id = ATMEL_ID, |
| 693 | .model_id = AT_26DF081A, |
| 694 | .total_size = 1024, |
| 695 | .page_size = 256, |
| 696 | .tested = TEST_UNTESTED, |
| 697 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 698 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 699 | .erase = NULL, |
| 700 | .block_erasers = |
| 701 | { |
| 702 | { |
| 703 | .eraseblocks = { {4 * 1024, 256} }, |
| 704 | .block_erase = spi_block_erase_20, |
| 705 | }, { |
| 706 | .eraseblocks = { {32 * 1024, 32} }, |
| 707 | .block_erase = spi_block_erase_52, |
| 708 | }, { |
| 709 | .eraseblocks = { {64 * 1024, 16} }, |
| 710 | .block_erase = spi_block_erase_d8, |
| 711 | }, { |
| 712 | .eraseblocks = { {1024 * 1024, 1} }, |
| 713 | .block_erase = spi_block_erase_60, |
| 714 | }, { |
| 715 | .eraseblocks = { {1024 * 1024, 1} }, |
| 716 | .block_erase = spi_block_erase_c7, |
| 717 | } |
| 718 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 719 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 720 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 721 | }, |
| 722 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 723 | { |
| 724 | .vendor = "Atmel", |
| 725 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 726 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 727 | .manufacture_id = ATMEL_ID, |
| 728 | .model_id = AT_26DF161, |
| 729 | .total_size = 2048, |
| 730 | .page_size = 256, |
| 731 | .tested = TEST_UNTESTED, |
| 732 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 733 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 734 | .erase = NULL, |
| 735 | .block_erasers = |
| 736 | { |
| 737 | { |
| 738 | .eraseblocks = { {4 * 1024, 512} }, |
| 739 | .block_erase = spi_block_erase_20, |
| 740 | }, { |
| 741 | .eraseblocks = { {32 * 1024, 64} }, |
| 742 | .block_erase = spi_block_erase_52, |
| 743 | }, { |
| 744 | .eraseblocks = { {64 * 1024, 32} }, |
| 745 | .block_erase = spi_block_erase_d8, |
| 746 | }, { |
| 747 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 748 | .block_erase = spi_block_erase_60, |
| 749 | }, { |
| 750 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 751 | .block_erase = spi_block_erase_c7, |
| 752 | } |
| 753 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 754 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 755 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 756 | }, |
| 757 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 758 | { |
| 759 | .vendor = "Atmel", |
| 760 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 761 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 762 | .manufacture_id = ATMEL_ID, |
| 763 | .model_id = AT_26DF161A, |
| 764 | .total_size = 2048, |
| 765 | .page_size = 256, |
| 766 | .tested = TEST_UNTESTED, |
| 767 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 768 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 769 | .erase = NULL, |
| 770 | .block_erasers = |
| 771 | { |
| 772 | { |
| 773 | .eraseblocks = { {4 * 1024, 512} }, |
| 774 | .block_erase = spi_block_erase_20, |
| 775 | }, { |
| 776 | .eraseblocks = { {32 * 1024, 64} }, |
| 777 | .block_erase = spi_block_erase_52, |
| 778 | }, { |
| 779 | .eraseblocks = { {64 * 1024, 32} }, |
| 780 | .block_erase = spi_block_erase_d8, |
| 781 | }, { |
| 782 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 783 | .block_erase = spi_block_erase_60, |
| 784 | }, { |
| 785 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 786 | .block_erase = spi_block_erase_c7, |
| 787 | } |
| 788 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 789 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 790 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 791 | }, |
| 792 | |
| 793 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 794 | /*{ |
| 795 | .vendor = "Atmel", |
| 796 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 797 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 798 | .manufacture_id = ATMEL_ID, |
| 799 | .model_id = AT_26DF321, |
| 800 | .total_size = 4096, |
| 801 | .page_size = 256, |
| 802 | .tested = TEST_UNTESTED, |
| 803 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 804 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f8bc28f | 2009-01-08 16:53:13 +0000 | [diff] [blame] | 805 | .erase = spi_chip_erase_60_c7, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 806 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 807 | .read = spi_chip_read, |
| 808 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 809 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 810 | { |
| 811 | .vendor = "Atmel", |
| 812 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 813 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 814 | .manufacture_id = ATMEL_ID, |
| 815 | .model_id = AT_26F004, |
| 816 | .total_size = 512, |
| 817 | .page_size = 256, |
| 818 | .tested = TEST_UNTESTED, |
| 819 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 820 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 821 | .erase = NULL, |
| 822 | .block_erasers = |
| 823 | { |
| 824 | { |
| 825 | .eraseblocks = { {4 * 1024, 128} }, |
| 826 | .block_erase = spi_block_erase_20, |
| 827 | }, { |
| 828 | .eraseblocks = { {32 * 1024, 16} }, |
| 829 | .block_erase = spi_block_erase_52, |
| 830 | }, { |
| 831 | .eraseblocks = { {64 * 1024, 8} }, |
| 832 | .block_erase = spi_block_erase_d8, |
| 833 | }, { |
| 834 | .eraseblocks = { {512 * 1024, 1} }, |
| 835 | .block_erase = spi_block_erase_60, |
| 836 | }, { |
| 837 | .eraseblocks = { {512 * 1024, 1} }, |
| 838 | .block_erase = spi_block_erase_c7, |
| 839 | } |
| 840 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 841 | .write = NULL /* Incompatible Page write */, |
| 842 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 843 | }, |
| 844 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 845 | { |
| 846 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 847 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 848 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 849 | .manufacture_id = ATMEL_ID, |
| 850 | .model_id = AT_29C512, |
| 851 | .total_size = 64, |
| 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, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +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 | .erase = NULL, |
| 858 | .block_erasers = |
| 859 | { |
| 860 | { |
| 861 | .eraseblocks = { {64 * 1024, 1} }, |
| 862 | .block_erase = erase_chip_block_jedec, |
| 863 | } |
| 864 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 865 | .write = write_jedec, |
| 866 | .read = read_memmapped, |
| 867 | |
| 868 | }, |
| 869 | |
| 870 | { |
| 871 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 872 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 873 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 874 | .manufacture_id = ATMEL_ID, |
| 875 | .model_id = AT_29C010A, |
| 876 | .total_size = 128, |
| 877 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 878 | .feature_bits = FEATURE_LONG_RESET, |
| 879 | .tested = TEST_UNTESTED, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 880 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 881 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 882 | .erase = NULL, |
| 883 | .block_erasers = |
| 884 | { |
| 885 | { |
| 886 | .eraseblocks = { {128 * 1024, 1} }, |
| 887 | .block_erase = erase_chip_block_jedec, |
| 888 | } |
| 889 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 890 | .write = write_jedec, /* FIXME */ |
| 891 | .read = read_memmapped, |
| 892 | }, |
| 893 | |
| 894 | { |
| 895 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 896 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 897 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 898 | .manufacture_id = ATMEL_ID, |
| 899 | .model_id = AT_29C020, |
| 900 | .total_size = 256, |
| 901 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 902 | .feature_bits = FEATURE_LONG_RESET, |
| 903 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 904 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 905 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 906 | .erase = NULL, |
| 907 | .block_erasers = |
| 908 | { |
| 909 | { |
| 910 | .eraseblocks = { {256 * 1024, 1} }, |
| 911 | .block_erase = erase_chip_block_jedec, |
| 912 | } |
| 913 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 914 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 915 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 916 | }, |
| 917 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 918 | { |
| 919 | .vendor = "Atmel", |
| 920 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 921 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 922 | .manufacture_id = ATMEL_ID, |
| 923 | .model_id = AT_29C040A, |
| 924 | .total_size = 512, |
| 925 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 926 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 927 | .tested = TEST_UNTESTED, |
| 928 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 929 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 930 | .erase = NULL, |
| 931 | .block_erasers = |
| 932 | { |
| 933 | { |
| 934 | .eraseblocks = { {512 * 1024, 1} }, |
| 935 | .block_erase = erase_chip_block_jedec, |
| 936 | } |
| 937 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 938 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 939 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 940 | }, |
| 941 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 942 | { |
| 943 | .vendor = "Atmel", |
| 944 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 945 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 946 | .manufacture_id = ATMEL_ID, |
| 947 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 948 | .total_size = 16896 /* No power of two sizes */, |
| 949 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 950 | .tested = TEST_BAD_READ, |
| 951 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 952 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 953 | .erase = NULL, |
| 954 | .write = NULL /* Incompatible Page write */, |
| 955 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 956 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 957 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 958 | { |
| 959 | .vendor = "Atmel", |
| 960 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 961 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 962 | .manufacture_id = ATMEL_ID, |
| 963 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 964 | .total_size = 128 /* Size can only be determined from status register */, |
| 965 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 966 | .tested = TEST_BAD_READ, |
| 967 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 968 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 969 | .erase = NULL, |
| 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 = "AT45DB021D", |
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_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 980 | .total_size = 256 /* 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 | .erase = NULL, |
| 986 | .write = NULL, |
| 987 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 988 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 989 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 990 | { |
| 991 | .vendor = "Atmel", |
| 992 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 993 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 994 | .manufacture_id = ATMEL_ID, |
| 995 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 996 | .total_size = 512 /* Size can only be determined from status register */, |
| 997 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 998 | .tested = TEST_BAD_READ, |
| 999 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1000 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1001 | .erase = NULL, |
| 1002 | .write = NULL, |
| 1003 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1004 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1005 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1006 | { |
| 1007 | .vendor = "Atmel", |
| 1008 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1009 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1010 | .manufacture_id = ATMEL_ID, |
| 1011 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1012 | .total_size = 1024 /* Size can only be determined from status register */, |
| 1013 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1014 | .tested = TEST_BAD_READ, |
| 1015 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1016 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1017 | .erase = NULL, |
| 1018 | .write = NULL, |
| 1019 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1020 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1021 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1022 | { |
| 1023 | .vendor = "Atmel", |
| 1024 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1025 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1026 | .manufacture_id = ATMEL_ID, |
| 1027 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1028 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1029 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1030 | .tested = TEST_BAD_READ, |
| 1031 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1032 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1033 | .erase = NULL, |
| 1034 | .write = NULL, |
| 1035 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1036 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1037 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1038 | { |
| 1039 | .vendor = "Atmel", |
| 1040 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1041 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1042 | .manufacture_id = ATMEL_ID, |
| 1043 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1044 | .total_size = 4224 /* No power of two sizes */, |
| 1045 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1046 | .tested = TEST_BAD_READ, |
| 1047 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1048 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1049 | .erase = NULL, |
| 1050 | .write = NULL, |
| 1051 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1052 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1053 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1054 | { |
| 1055 | .vendor = "Atmel", |
| 1056 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1057 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1058 | .manufacture_id = ATMEL_ID, |
| 1059 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1060 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1061 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1062 | .tested = TEST_BAD_READ, |
| 1063 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1064 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1065 | .erase = NULL, |
| 1066 | .write = NULL, |
| 1067 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1068 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1069 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1070 | { |
| 1071 | .vendor = "Atmel", |
| 1072 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1073 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1074 | .manufacture_id = ATMEL_ID, |
| 1075 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1076 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1077 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1078 | .tested = TEST_BAD_READ, |
| 1079 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1080 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1081 | .erase = NULL, |
| 1082 | .write = NULL, |
| 1083 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1084 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1085 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1086 | { |
| 1087 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1088 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1089 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1090 | .manufacture_id = ATMEL_ID, |
| 1091 | .model_id = AT_49BV512, |
| 1092 | .total_size = 64, |
| 1093 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1094 | .feature_bits = FEATURE_EITHER_RESET, |
| 1095 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1096 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1097 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1098 | .erase = NULL, |
| 1099 | .block_erasers = |
| 1100 | { |
| 1101 | { |
| 1102 | .eraseblocks = { {64 * 1024, 1} }, |
| 1103 | .block_erase = erase_chip_block_jedec, |
| 1104 | } |
| 1105 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1106 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1107 | .read = read_memmapped, |
| 1108 | }, |
| 1109 | |
| 1110 | { |
| 1111 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1112 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1113 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1114 | .manufacture_id = ATMEL_ID, |
| 1115 | .model_id = AT_49F002N, |
| 1116 | .total_size = 256, |
| 1117 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1118 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1119 | .tested = TEST_UNTESTED, |
| 1120 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1121 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1122 | .erase = NULL, |
| 1123 | .block_erasers = |
| 1124 | { |
| 1125 | { |
| 1126 | .eraseblocks = { |
| 1127 | {16 * 1024, 1}, |
| 1128 | {8 * 1024, 2}, |
| 1129 | {96 * 1024, 1}, |
| 1130 | {128 * 1024, 1}, |
| 1131 | }, |
| 1132 | .block_erase = erase_sector_jedec, |
| 1133 | }, { |
| 1134 | .eraseblocks = { {256 * 1024, 1} }, |
| 1135 | .block_erase = erase_chip_block_jedec, |
| 1136 | } |
| 1137 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1138 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1139 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1140 | }, |
| 1141 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1142 | { |
| 1143 | .vendor = "Atmel", |
| 1144 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1145 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1146 | .manufacture_id = ATMEL_ID, |
| 1147 | .model_id = AT_49F002NT, |
| 1148 | .total_size = 256, |
| 1149 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1150 | .feature_bits = FEATURE_EITHER_RESET, |
| 1151 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1152 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1153 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1154 | .erase = NULL, |
| 1155 | .block_erasers = |
| 1156 | { |
| 1157 | { |
| 1158 | .eraseblocks = { |
| 1159 | {128 * 1024, 1}, |
| 1160 | {96 * 1024, 1}, |
| 1161 | {8 * 1024, 2}, |
| 1162 | {16 * 1024, 1}, |
| 1163 | }, |
| 1164 | .block_erase = erase_sector_jedec, |
| 1165 | }, { |
| 1166 | .eraseblocks = { {256 * 1024, 1} }, |
| 1167 | .block_erase = erase_chip_block_jedec, |
| 1168 | } |
| 1169 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1170 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1171 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1172 | }, |
| 1173 | |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1174 | /* The next two chip definitions have top/bottom boot blocks, but has no |
| 1175 | device differenciation between the two */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1176 | { |
| 1177 | .vendor = "AMIC", |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1178 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1179 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1180 | .manufacture_id = AMIC_ID, |
| 1181 | .model_id = AMIC_A25L40P, |
| 1182 | .total_size = 512, |
| 1183 | .page_size = 256, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1184 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1185 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1186 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1187 | .erase = NULL, |
| 1188 | .block_erasers = |
| 1189 | { |
| 1190 | { |
| 1191 | .eraseblocks = { |
| 1192 | {64 * 1024, 7}, |
| 1193 | {32 * 1024, 1}, |
| 1194 | {16 * 1024, 1}, |
| 1195 | {8 * 1024, 1}, |
| 1196 | {4 * 1024, 2}, |
| 1197 | }, |
| 1198 | .block_erase = spi_block_erase_d8, |
| 1199 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1200 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1201 | .block_erase = spi_block_erase_c7, |
| 1202 | } |
| 1203 | }, |
| 1204 | .write = spi_chip_write_256, |
| 1205 | .read = spi_chip_read, |
| 1206 | }, |
| 1207 | |
| 1208 | { |
| 1209 | .vendor = "AMIC", |
| 1210 | .name = "A25L40PU", |
| 1211 | .bustype = CHIP_BUSTYPE_SPI, |
| 1212 | .manufacture_id = AMIC_ID, |
| 1213 | .model_id = AMIC_A25L40P, |
| 1214 | .total_size = 512, |
| 1215 | .page_size = 256, |
| 1216 | .tested = TEST_OK_PRW, |
| 1217 | .probe = probe_spi_rdid4, |
| 1218 | .probe_timing = TIMING_ZERO, |
| 1219 | .erase = NULL, |
| 1220 | .block_erasers = |
| 1221 | { |
| 1222 | { |
| 1223 | .eraseblocks = { |
| 1224 | {4 * 1024, 2}, |
| 1225 | {8 * 1024, 1}, |
| 1226 | {16 * 1024, 1}, |
| 1227 | {32 * 1024, 1}, |
| 1228 | {64 * 1024, 7}, |
| 1229 | }, |
| 1230 | .block_erase = spi_block_erase_d8, |
| 1231 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1232 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1233 | .block_erase = spi_block_erase_c7, |
| 1234 | } |
| 1235 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1236 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1237 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1238 | }, |
| 1239 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1240 | { |
| 1241 | .vendor = "AMIC", |
| 1242 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1243 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1244 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1245 | .model_id = AMIC_A29002B, |
| 1246 | .total_size = 256, |
| 1247 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1248 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1249 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1250 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1251 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1252 | .erase = NULL, |
| 1253 | .block_erasers = |
| 1254 | { |
| 1255 | { |
| 1256 | .eraseblocks = { |
| 1257 | {16 * 1024, 1}, |
| 1258 | {8 * 1024, 2}, |
| 1259 | {32 * 1024, 1}, |
| 1260 | {64 * 1024, 3}, |
| 1261 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1262 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1263 | }, { |
| 1264 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1265 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1266 | }, |
| 1267 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1268 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1269 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1270 | }, |
| 1271 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1272 | { |
| 1273 | .vendor = "AMIC", |
| 1274 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1275 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1276 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1277 | .model_id = AMIC_A29002T, |
| 1278 | .total_size = 256, |
| 1279 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1280 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1281 | .tested = TEST_UNTESTED, |
| 1282 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1283 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1284 | .erase = NULL, |
| 1285 | .block_erasers = |
| 1286 | { |
| 1287 | { |
| 1288 | .eraseblocks = { |
| 1289 | {64 * 1024, 3}, |
| 1290 | {32 * 1024, 1}, |
| 1291 | {8 * 1024, 2}, |
| 1292 | {16 * 1024, 1}, |
| 1293 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1294 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1295 | }, { |
| 1296 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1297 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1298 | }, |
| 1299 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1300 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1301 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1302 | }, |
| 1303 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1304 | { |
| 1305 | .vendor = "AMIC", |
| 1306 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1307 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1308 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1309 | .model_id = AMIC_A29040B, |
| 1310 | .total_size = 512, |
| 1311 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1312 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1313 | .tested = TEST_UNTESTED, |
| 1314 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1315 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1316 | .erase = NULL, |
| 1317 | .block_erasers = |
| 1318 | { |
| 1319 | { |
| 1320 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1321 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1322 | }, { |
| 1323 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1324 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1325 | }, |
| 1326 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1327 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1328 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1329 | }, |
| 1330 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1331 | { |
| 1332 | .vendor = "AMIC", |
| 1333 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1334 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1335 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1336 | .model_id = AMIC_A49LF040A, |
| 1337 | .total_size = 512, |
| 1338 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1339 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 1340 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1341 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1342 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1343 | .erase = NULL, |
| 1344 | .block_erasers = |
| 1345 | { |
| 1346 | { |
| 1347 | .eraseblocks = { {64 * 1024, 8} }, |
| 1348 | .block_erase = erase_block_jedec, |
| 1349 | }, { |
| 1350 | .eraseblocks = { {512 * 1024, 1} }, |
| 1351 | .block_erase = erase_chip_block_jedec, |
| 1352 | } |
| 1353 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1354 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1355 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1356 | }, |
| 1357 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1358 | { |
| 1359 | .vendor = "EMST", |
| 1360 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1361 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1362 | .manufacture_id = EMST_ID, |
| 1363 | .model_id = EMST_F49B002UA, |
| 1364 | .total_size = 256, |
| 1365 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1366 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1367 | .tested = TEST_UNTESTED, |
| 1368 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1369 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1370 | .erase = NULL, |
| 1371 | .block_erasers = |
| 1372 | { |
| 1373 | { |
| 1374 | .eraseblocks = { |
| 1375 | {128 * 1024, 1}, |
| 1376 | {96 * 1024, 1}, |
| 1377 | {8 * 1024, 2}, |
| 1378 | {16 * 1024, 1}, |
| 1379 | }, |
| 1380 | .block_erase = erase_sector_jedec, |
| 1381 | }, { |
| 1382 | .eraseblocks = { {256 * 1024, 1} }, |
| 1383 | .block_erase = erase_chip_block_jedec, |
| 1384 | } |
| 1385 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1386 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1387 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1388 | }, |
| 1389 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1390 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1391 | .vendor = "Eon", |
| 1392 | .name = "EN25B05", |
| 1393 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1394 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1395 | .model_id = EN_25B05, |
| 1396 | .total_size = 64, |
| 1397 | .page_size = 256, |
| 1398 | .tested = TEST_UNTESTED, |
| 1399 | .probe = probe_spi_rdid, |
| 1400 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1401 | .erase = NULL, |
| 1402 | .block_erasers = |
| 1403 | { |
| 1404 | { |
| 1405 | .eraseblocks = { |
| 1406 | {4 * 1024, 2}, |
| 1407 | {8 * 1024, 1}, |
| 1408 | {16 * 1024, 1}, |
| 1409 | {32 * 1024, 1}, |
| 1410 | }, |
| 1411 | .block_erase = spi_block_erase_d8, |
| 1412 | }, { |
| 1413 | .eraseblocks = { {64 * 1024, 1} }, |
| 1414 | .block_erase = spi_block_erase_c7, |
| 1415 | } |
| 1416 | }, |
| 1417 | .write = spi_chip_write_256, |
| 1418 | .read = spi_chip_read, |
| 1419 | }, |
| 1420 | |
| 1421 | { |
| 1422 | .vendor = "Eon", |
| 1423 | .name = "EN25B05T", |
| 1424 | .bustype = CHIP_BUSTYPE_SPI, |
| 1425 | .manufacture_id = EON_ID_NOPREFIX, |
| 1426 | .model_id = EN_25B05, |
| 1427 | .total_size = 64, |
| 1428 | .page_size = 256, |
| 1429 | .tested = TEST_UNTESTED, |
| 1430 | .probe = probe_spi_rdid, |
| 1431 | .probe_timing = TIMING_ZERO, |
| 1432 | .erase = NULL, |
| 1433 | .block_erasers = |
| 1434 | { |
| 1435 | { |
| 1436 | .eraseblocks = { |
| 1437 | {32 * 1024, 1}, |
| 1438 | {16 * 1024, 1}, |
| 1439 | {8 * 1024, 1}, |
| 1440 | {4 * 1024, 2}, |
| 1441 | }, |
| 1442 | .block_erase = spi_block_erase_d8, |
| 1443 | }, { |
| 1444 | .eraseblocks = { {64 * 1024, 1} }, |
| 1445 | .block_erase = spi_block_erase_c7, |
| 1446 | } |
| 1447 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1448 | .write = spi_chip_write_256, |
| 1449 | .read = spi_chip_read, |
| 1450 | }, |
| 1451 | |
| 1452 | { |
| 1453 | .vendor = "Eon", |
| 1454 | .name = "EN25B10", |
| 1455 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1456 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1457 | .model_id = EN_25B10, |
| 1458 | .total_size = 128, |
| 1459 | .page_size = 256, |
| 1460 | .tested = TEST_UNTESTED, |
| 1461 | .probe = probe_spi_rdid, |
| 1462 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1463 | .erase = NULL, |
| 1464 | .block_erasers = |
| 1465 | { |
| 1466 | { |
| 1467 | .eraseblocks = { |
| 1468 | {4 * 1024, 2}, |
| 1469 | {8 * 1024, 1}, |
| 1470 | {16 * 1024, 1}, |
| 1471 | {32 * 1024, 3}, |
| 1472 | }, |
| 1473 | .block_erase = spi_block_erase_d8, |
| 1474 | }, { |
| 1475 | .eraseblocks = { {128 * 1024, 1} }, |
| 1476 | .block_erase = spi_block_erase_c7, |
| 1477 | } |
| 1478 | }, |
| 1479 | .write = spi_chip_write_256, |
| 1480 | .read = spi_chip_read, |
| 1481 | }, |
| 1482 | |
| 1483 | { |
| 1484 | .vendor = "Eon", |
| 1485 | .name = "EN25B10T", |
| 1486 | .bustype = CHIP_BUSTYPE_SPI, |
| 1487 | .manufacture_id = EON_ID_NOPREFIX, |
| 1488 | .model_id = EN_25B10, |
| 1489 | .total_size = 128, |
| 1490 | .page_size = 256, |
| 1491 | .tested = TEST_UNTESTED, |
| 1492 | .probe = probe_spi_rdid, |
| 1493 | .probe_timing = TIMING_ZERO, |
| 1494 | .erase = NULL, |
| 1495 | .block_erasers = |
| 1496 | { |
| 1497 | { |
| 1498 | .eraseblocks = { |
| 1499 | {32 * 1024, 3}, |
| 1500 | {16 * 1024, 1}, |
| 1501 | {8 * 1024, 1}, |
| 1502 | {4 * 1024, 2}, |
| 1503 | }, |
| 1504 | .block_erase = spi_block_erase_d8, |
| 1505 | }, { |
| 1506 | .eraseblocks = { {128 * 1024, 1} }, |
| 1507 | .block_erase = spi_block_erase_c7, |
| 1508 | } |
| 1509 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1510 | .write = spi_chip_write_256, |
| 1511 | .read = spi_chip_read, |
| 1512 | }, |
| 1513 | |
| 1514 | { |
| 1515 | .vendor = "Eon", |
| 1516 | .name = "EN25B20", |
| 1517 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1518 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1519 | .model_id = EN_25B20, |
| 1520 | .total_size = 256, |
| 1521 | .page_size = 256, |
| 1522 | .tested = TEST_UNTESTED, |
| 1523 | .probe = probe_spi_rdid, |
| 1524 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1525 | .erase = NULL, |
| 1526 | .block_erasers = |
| 1527 | { |
| 1528 | { |
| 1529 | .eraseblocks = { |
| 1530 | {4 * 1024, 2}, |
| 1531 | {8 * 1024, 1}, |
| 1532 | {16 * 1024, 1}, |
| 1533 | {32 * 1024, 1}, |
| 1534 | {64 * 1024, 3} |
| 1535 | }, |
| 1536 | .block_erase = spi_block_erase_d8, |
| 1537 | }, { |
| 1538 | .eraseblocks = { {256 * 1024, 1} }, |
| 1539 | .block_erase = spi_block_erase_c7, |
| 1540 | } |
| 1541 | }, |
| 1542 | .write = spi_chip_write_256, |
| 1543 | .read = spi_chip_read, |
| 1544 | }, |
| 1545 | |
| 1546 | { |
| 1547 | .vendor = "Eon", |
| 1548 | .name = "EN25B20T", |
| 1549 | .bustype = CHIP_BUSTYPE_SPI, |
| 1550 | .manufacture_id = EON_ID_NOPREFIX, |
| 1551 | .model_id = EN_25B20, |
| 1552 | .total_size = 256, |
| 1553 | .page_size = 256, |
| 1554 | .tested = TEST_UNTESTED, |
| 1555 | .probe = probe_spi_rdid, |
| 1556 | .probe_timing = TIMING_ZERO, |
| 1557 | .erase = NULL, |
| 1558 | .block_erasers = |
| 1559 | { |
| 1560 | { |
| 1561 | .eraseblocks = { |
| 1562 | {64 * 1024, 3}, |
| 1563 | {32 * 1024, 1}, |
| 1564 | {16 * 1024, 1}, |
| 1565 | {8 * 1024, 1}, |
| 1566 | {4 * 1024, 2}, |
| 1567 | }, |
| 1568 | .block_erase = spi_block_erase_d8, |
| 1569 | }, { |
| 1570 | .eraseblocks = { {256 * 1024, 1} }, |
| 1571 | .block_erase = spi_block_erase_c7, |
| 1572 | } |
| 1573 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1574 | .write = spi_chip_write_256, |
| 1575 | .read = spi_chip_read, |
| 1576 | }, |
| 1577 | |
| 1578 | { |
| 1579 | .vendor = "Eon", |
| 1580 | .name = "EN25B40", |
| 1581 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1582 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1583 | .model_id = EN_25B40, |
| 1584 | .total_size = 512, |
| 1585 | .page_size = 256, |
| 1586 | .tested = TEST_UNTESTED, |
| 1587 | .probe = probe_spi_rdid, |
| 1588 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1589 | .erase = NULL, |
| 1590 | .block_erasers = |
| 1591 | { |
| 1592 | { |
| 1593 | .eraseblocks = { |
| 1594 | {4 * 1024, 2}, |
| 1595 | {8 * 1024, 1}, |
| 1596 | {16 * 1024, 1}, |
| 1597 | {32 * 1024, 1}, |
| 1598 | {64 * 1024, 7} |
| 1599 | }, |
| 1600 | .block_erase = spi_block_erase_d8, |
| 1601 | }, { |
| 1602 | .eraseblocks = { {512 * 1024, 1} }, |
| 1603 | .block_erase = spi_block_erase_c7, |
| 1604 | } |
| 1605 | }, |
| 1606 | .write = spi_chip_write_256, |
| 1607 | .read = spi_chip_read, |
| 1608 | }, |
| 1609 | |
| 1610 | { |
| 1611 | .vendor = "Eon", |
| 1612 | .name = "EN25B40T", |
| 1613 | .bustype = CHIP_BUSTYPE_SPI, |
| 1614 | .manufacture_id = EON_ID_NOPREFIX, |
| 1615 | .model_id = EN_25B40, |
| 1616 | .total_size = 512, |
| 1617 | .page_size = 256, |
| 1618 | .tested = TEST_UNTESTED, |
| 1619 | .probe = probe_spi_rdid, |
| 1620 | .probe_timing = TIMING_ZERO, |
| 1621 | .erase = NULL, |
| 1622 | .block_erasers = |
| 1623 | { |
| 1624 | { |
| 1625 | .eraseblocks = { |
| 1626 | {64 * 1024, 7}, |
| 1627 | {32 * 1024, 1}, |
| 1628 | {16 * 1024, 1}, |
| 1629 | {8 * 1024, 1}, |
| 1630 | {4 * 1024, 2}, |
| 1631 | }, |
| 1632 | .block_erase = spi_block_erase_d8, |
| 1633 | }, { |
| 1634 | .eraseblocks = { {512 * 1024, 1} }, |
| 1635 | .block_erase = spi_block_erase_c7, |
| 1636 | } |
| 1637 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1638 | .write = spi_chip_write_256, |
| 1639 | .read = spi_chip_read, |
| 1640 | }, |
| 1641 | |
| 1642 | { |
| 1643 | .vendor = "Eon", |
| 1644 | .name = "EN25B80", |
| 1645 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1646 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1647 | .model_id = EN_25B80, |
| 1648 | .total_size = 1024, |
| 1649 | .page_size = 256, |
| 1650 | .tested = TEST_UNTESTED, |
| 1651 | .probe = probe_spi_rdid, |
| 1652 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1653 | .erase = NULL, |
| 1654 | .block_erasers = |
| 1655 | { |
| 1656 | { |
| 1657 | .eraseblocks = { |
| 1658 | {4 * 1024, 2}, |
| 1659 | {8 * 1024, 1}, |
| 1660 | {16 * 1024, 1}, |
| 1661 | {32 * 1024, 1}, |
| 1662 | {64 * 1024, 15} |
| 1663 | }, |
| 1664 | .block_erase = spi_block_erase_d8, |
| 1665 | }, { |
| 1666 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1667 | .block_erase = spi_block_erase_c7, |
| 1668 | } |
| 1669 | }, |
| 1670 | .write = spi_chip_write_256, |
| 1671 | .read = spi_chip_read, |
| 1672 | }, |
| 1673 | |
| 1674 | { |
| 1675 | .vendor = "Eon", |
| 1676 | .name = "EN25B80T", |
| 1677 | .bustype = CHIP_BUSTYPE_SPI, |
| 1678 | .manufacture_id = EON_ID_NOPREFIX, |
| 1679 | .model_id = EN_25B80, |
| 1680 | .total_size = 1024, |
| 1681 | .page_size = 256, |
| 1682 | .tested = TEST_UNTESTED, |
| 1683 | .probe = probe_spi_rdid, |
| 1684 | .probe_timing = TIMING_ZERO, |
| 1685 | .erase = NULL, |
| 1686 | .block_erasers = |
| 1687 | { |
| 1688 | { |
| 1689 | .eraseblocks = { |
| 1690 | {64 * 1024, 15}, |
| 1691 | {32 * 1024, 1}, |
| 1692 | {16 * 1024, 1}, |
| 1693 | {8 * 1024, 1}, |
| 1694 | {4 * 1024, 2}, |
| 1695 | }, |
| 1696 | .block_erase = spi_block_erase_d8, |
| 1697 | }, { |
| 1698 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1699 | .block_erase = spi_block_erase_c7, |
| 1700 | } |
| 1701 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1702 | .write = spi_chip_write_256, |
| 1703 | .read = spi_chip_read, |
| 1704 | }, |
| 1705 | |
| 1706 | { |
| 1707 | .vendor = "Eon", |
| 1708 | .name = "EN25B16", |
| 1709 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1710 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1711 | .model_id = EN_25B16, |
| 1712 | .total_size = 2048, |
| 1713 | .page_size = 256, |
| 1714 | .tested = TEST_UNTESTED, |
| 1715 | .probe = probe_spi_rdid, |
| 1716 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1717 | .erase = NULL, |
| 1718 | .block_erasers = |
| 1719 | { |
| 1720 | { |
| 1721 | .eraseblocks = { |
| 1722 | {4 * 1024, 2}, |
| 1723 | {8 * 1024, 1}, |
| 1724 | {16 * 1024, 1}, |
| 1725 | {32 * 1024, 1}, |
| 1726 | {64 * 1024, 31}, |
| 1727 | }, |
| 1728 | .block_erase = spi_block_erase_d8, |
| 1729 | }, { |
| 1730 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1731 | .block_erase = spi_block_erase_c7, |
| 1732 | } |
| 1733 | }, |
| 1734 | .write = spi_chip_write_256, |
| 1735 | .read = spi_chip_read, |
| 1736 | }, |
| 1737 | |
| 1738 | { |
| 1739 | .vendor = "Eon", |
| 1740 | .name = "EN25B16T", |
| 1741 | .bustype = CHIP_BUSTYPE_SPI, |
| 1742 | .manufacture_id = EON_ID_NOPREFIX, |
| 1743 | .model_id = EN_25B16, |
| 1744 | .total_size = 2048, |
| 1745 | .page_size = 256, |
| 1746 | .tested = TEST_UNTESTED, |
| 1747 | .probe = probe_spi_rdid, |
| 1748 | .probe_timing = TIMING_ZERO, |
| 1749 | .erase = NULL, |
| 1750 | .block_erasers = |
| 1751 | { |
| 1752 | { |
| 1753 | .eraseblocks = { |
| 1754 | {64 * 1024, 31}, |
| 1755 | {32 * 1024, 1}, |
| 1756 | {16 * 1024, 1}, |
| 1757 | {8 * 1024, 1}, |
| 1758 | {4 * 1024, 2}, |
| 1759 | }, |
| 1760 | .block_erase = spi_block_erase_d8, |
| 1761 | }, { |
| 1762 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1763 | .block_erase = spi_block_erase_c7, |
| 1764 | } |
| 1765 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1766 | .write = spi_chip_write_256, |
| 1767 | .read = spi_chip_read, |
| 1768 | }, |
| 1769 | |
| 1770 | { |
| 1771 | .vendor = "Eon", |
| 1772 | .name = "EN25B32", |
| 1773 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1774 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1775 | .model_id = EN_25B32, |
| 1776 | .total_size = 4096, |
| 1777 | .page_size = 256, |
| 1778 | .tested = TEST_UNTESTED, |
| 1779 | .probe = probe_spi_rdid, |
| 1780 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1781 | .erase = NULL, |
| 1782 | .block_erasers = |
| 1783 | { |
| 1784 | { |
| 1785 | .eraseblocks = { |
| 1786 | {4 * 1024, 2}, |
| 1787 | {8 * 1024, 1}, |
| 1788 | {16 * 1024, 1}, |
| 1789 | {32 * 1024, 1}, |
| 1790 | {64 * 1024, 63}, |
| 1791 | }, |
| 1792 | .block_erase = spi_block_erase_d8, |
| 1793 | }, { |
| 1794 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1795 | .block_erase = spi_block_erase_c7, |
| 1796 | } |
| 1797 | }, |
| 1798 | .write = spi_chip_write_256, |
| 1799 | .read = spi_chip_read, |
| 1800 | }, |
| 1801 | |
| 1802 | { |
| 1803 | .vendor = "Eon", |
| 1804 | .name = "EN25B32T", |
| 1805 | .bustype = CHIP_BUSTYPE_SPI, |
| 1806 | .manufacture_id = EON_ID_NOPREFIX, |
| 1807 | .model_id = EN_25B32, |
| 1808 | .total_size = 4096, |
| 1809 | .page_size = 256, |
| 1810 | .tested = TEST_UNTESTED, |
| 1811 | .probe = probe_spi_rdid, |
| 1812 | .probe_timing = TIMING_ZERO, |
| 1813 | .erase = NULL, |
| 1814 | .block_erasers = |
| 1815 | { |
| 1816 | { |
| 1817 | .eraseblocks = { |
| 1818 | {64 * 1024, 63}, |
| 1819 | {32 * 1024, 1}, |
| 1820 | {16 * 1024, 1}, |
| 1821 | {8 * 1024, 1}, |
| 1822 | {4 * 1024, 2}, |
| 1823 | }, |
| 1824 | .block_erase = spi_block_erase_d8, |
| 1825 | }, { |
| 1826 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1827 | .block_erase = spi_block_erase_c7, |
| 1828 | } |
| 1829 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1830 | .write = spi_chip_write_256, |
| 1831 | .read = spi_chip_read, |
| 1832 | }, |
| 1833 | |
| 1834 | { |
| 1835 | .vendor = "Eon", |
| 1836 | .name = "EN25B64", |
| 1837 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1838 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1839 | .model_id = EN_25B64, |
| 1840 | .total_size = 8192, |
| 1841 | .page_size = 256, |
| 1842 | .tested = TEST_UNTESTED, |
| 1843 | .probe = probe_spi_rdid, |
| 1844 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1845 | .erase = NULL, |
| 1846 | .block_erasers = |
| 1847 | { |
| 1848 | { |
| 1849 | .eraseblocks = { |
| 1850 | {4 * 1024, 2}, |
| 1851 | {8 * 1024, 1}, |
| 1852 | {16 * 1024, 1}, |
| 1853 | {32 * 1024, 1}, |
| 1854 | {64 * 1024, 127}, |
| 1855 | }, |
| 1856 | .block_erase = spi_block_erase_d8, |
| 1857 | }, { |
| 1858 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1859 | .block_erase = spi_block_erase_c7, |
| 1860 | } |
| 1861 | }, |
| 1862 | .write = spi_chip_write_256, |
| 1863 | .read = spi_chip_read, |
| 1864 | }, |
| 1865 | |
| 1866 | { |
| 1867 | .vendor = "Eon", |
| 1868 | .name = "EN25B64T", |
| 1869 | .bustype = CHIP_BUSTYPE_SPI, |
| 1870 | .manufacture_id = EON_ID_NOPREFIX, |
| 1871 | .model_id = EN_25B64, |
| 1872 | .total_size = 8192, |
| 1873 | .page_size = 256, |
| 1874 | .tested = TEST_UNTESTED, |
| 1875 | .probe = probe_spi_rdid, |
| 1876 | .probe_timing = TIMING_ZERO, |
| 1877 | .erase = NULL, |
| 1878 | .block_erasers = |
| 1879 | { |
| 1880 | { |
| 1881 | .eraseblocks = { |
| 1882 | {64 * 1024, 127}, |
| 1883 | {32 * 1024, 1}, |
| 1884 | {16 * 1024, 1}, |
| 1885 | {8 * 1024, 1}, |
| 1886 | {4 * 1024, 2}, |
| 1887 | }, |
| 1888 | .block_erase = spi_block_erase_d8, |
| 1889 | }, { |
| 1890 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1891 | .block_erase = spi_block_erase_c7, |
| 1892 | } |
| 1893 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1894 | .write = spi_chip_write_256, |
| 1895 | .read = spi_chip_read, |
| 1896 | }, |
| 1897 | |
| 1898 | { |
| 1899 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1900 | .name = "EN25D16", |
| 1901 | .bustype = CHIP_BUSTYPE_SPI, |
| 1902 | .manufacture_id = EON_ID_NOPREFIX, |
| 1903 | .model_id = EN_25D16, |
| 1904 | .total_size = 2048, |
| 1905 | .page_size = 256, |
| 1906 | .tested = TEST_UNTESTED, |
| 1907 | .probe = probe_spi_rdid, |
| 1908 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1909 | .erase = NULL, |
| 1910 | .block_erasers = |
| 1911 | { |
| 1912 | { |
| 1913 | .eraseblocks = { {4 * 1024, 512} }, |
| 1914 | .block_erase = spi_block_erase_20, |
| 1915 | }, { |
| 1916 | .eraseblocks = { {64 * 1024, 32} }, |
| 1917 | .block_erase = spi_block_erase_d8, |
| 1918 | }, { |
| 1919 | .eraseblocks = { {64 * 1024, 32} }, |
| 1920 | .block_erase = spi_block_erase_52, |
| 1921 | }, { |
| 1922 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1923 | .block_erase = spi_block_erase_60, |
| 1924 | }, { |
| 1925 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1926 | .block_erase = spi_block_erase_c7, |
| 1927 | } |
| 1928 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1929 | .write = spi_chip_write_256, |
| 1930 | .read = spi_chip_read, |
| 1931 | }, |
| 1932 | |
| 1933 | { |
| 1934 | .vendor = "Eon", |
| 1935 | .name = "EN25F05", |
| 1936 | .bustype = CHIP_BUSTYPE_SPI, |
| 1937 | .manufacture_id = EON_ID_NOPREFIX, |
| 1938 | .model_id = EN_25F05, |
| 1939 | .total_size = 64, |
| 1940 | .page_size = 256, |
| 1941 | .tested = TEST_UNTESTED, |
| 1942 | .probe = probe_spi_rdid, |
| 1943 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1944 | .erase = NULL, |
| 1945 | .block_erasers = |
| 1946 | { |
| 1947 | { |
| 1948 | .eraseblocks = { {4 * 1024, 16} }, |
| 1949 | .block_erase = spi_block_erase_20, |
| 1950 | }, { |
| 1951 | .eraseblocks = { {32 * 1024, 2} }, |
| 1952 | .block_erase = spi_block_erase_d8, |
| 1953 | }, { |
| 1954 | .eraseblocks = { {32 * 1024, 2} }, |
| 1955 | .block_erase = spi_block_erase_52, |
| 1956 | }, { |
| 1957 | .eraseblocks = { {64 * 1024, 1} }, |
| 1958 | .block_erase = spi_block_erase_60, |
| 1959 | }, { |
| 1960 | .eraseblocks = { {64 * 1024, 1} }, |
| 1961 | .block_erase = spi_block_erase_c7, |
| 1962 | } |
| 1963 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1964 | .write = spi_chip_write_256, |
| 1965 | .read = spi_chip_read, |
| 1966 | }, |
| 1967 | |
| 1968 | { |
| 1969 | .vendor = "Eon", |
| 1970 | .name = "EN25F10", |
| 1971 | .bustype = CHIP_BUSTYPE_SPI, |
| 1972 | .manufacture_id = EON_ID_NOPREFIX, |
| 1973 | .model_id = EN_25F10, |
| 1974 | .total_size = 128, |
| 1975 | .page_size = 256, |
| 1976 | .tested = TEST_UNTESTED, |
| 1977 | .probe = probe_spi_rdid, |
| 1978 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1979 | .erase = NULL, |
| 1980 | .block_erasers = |
| 1981 | { |
| 1982 | { |
| 1983 | .eraseblocks = { {4 * 1024, 32} }, |
| 1984 | .block_erase = spi_block_erase_20, |
| 1985 | }, { |
| 1986 | .eraseblocks = { {32 * 1024, 4} }, |
| 1987 | .block_erase = spi_block_erase_d8, |
| 1988 | }, { |
| 1989 | .eraseblocks = { {32 * 1024, 4} }, |
| 1990 | .block_erase = spi_block_erase_52, |
| 1991 | }, { |
| 1992 | .eraseblocks = { {128 * 1024, 1} }, |
| 1993 | .block_erase = spi_block_erase_60, |
| 1994 | }, { |
| 1995 | .eraseblocks = { {128 * 1024, 1} }, |
| 1996 | .block_erase = spi_block_erase_c7, |
| 1997 | } |
| 1998 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1999 | .write = spi_chip_write_256, |
| 2000 | .read = spi_chip_read, |
| 2001 | }, |
| 2002 | |
| 2003 | { |
| 2004 | .vendor = "Eon", |
| 2005 | .name = "EN25F20", |
| 2006 | .bustype = CHIP_BUSTYPE_SPI, |
| 2007 | .manufacture_id = EON_ID_NOPREFIX, |
| 2008 | .model_id = EN_25F20, |
| 2009 | .total_size = 256, |
| 2010 | .page_size = 256, |
| 2011 | .tested = TEST_UNTESTED, |
| 2012 | .probe = probe_spi_rdid, |
| 2013 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2014 | .erase = NULL, |
| 2015 | .block_erasers = |
| 2016 | { |
| 2017 | { |
| 2018 | .eraseblocks = { {4 * 1024, 64} }, |
| 2019 | .block_erase = spi_block_erase_20, |
| 2020 | }, { |
| 2021 | .eraseblocks = { {64 * 1024, 4} }, |
| 2022 | .block_erase = spi_block_erase_d8, |
| 2023 | }, { |
| 2024 | .eraseblocks = { {64 * 1024, 4} }, |
| 2025 | .block_erase = spi_block_erase_52, |
| 2026 | }, { |
| 2027 | .eraseblocks = { {256 * 1024, 1} }, |
| 2028 | .block_erase = spi_block_erase_60, |
| 2029 | }, { |
| 2030 | .eraseblocks = { {256 * 1024, 1} }, |
| 2031 | .block_erase = spi_block_erase_c7, |
| 2032 | } |
| 2033 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2034 | .write = spi_chip_write_256, |
| 2035 | .read = spi_chip_read, |
| 2036 | }, |
| 2037 | |
| 2038 | { |
| 2039 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2040 | .name = "EN25F40", |
| 2041 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2042 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2043 | .model_id = EN_25F40, |
| 2044 | .total_size = 512, |
| 2045 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2046 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2047 | .probe = probe_spi_rdid, |
| 2048 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2049 | .erase = NULL, |
| 2050 | .block_erasers = |
| 2051 | { |
| 2052 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2053 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2054 | .block_erase = spi_block_erase_20, |
| 2055 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2056 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2057 | .block_erase = spi_block_erase_d8, |
| 2058 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2059 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2060 | .block_erase = spi_block_erase_60, |
| 2061 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2062 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2063 | .block_erase = spi_block_erase_c7, |
| 2064 | }, |
| 2065 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2066 | .write = spi_chip_write_256, |
| 2067 | .read = spi_chip_read, |
| 2068 | }, |
| 2069 | |
| 2070 | { |
| 2071 | .vendor = "Eon", |
| 2072 | .name = "EN25F80", |
| 2073 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2074 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2075 | .model_id = EN_25F80, |
| 2076 | .total_size = 1024, |
| 2077 | .page_size = 256, |
| 2078 | .tested = TEST_UNTESTED, |
| 2079 | .probe = probe_spi_rdid, |
| 2080 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2081 | .erase = NULL, |
| 2082 | .block_erasers = |
| 2083 | { |
| 2084 | { |
| 2085 | .eraseblocks = { {4 * 1024, 256} }, |
| 2086 | .block_erase = spi_block_erase_20, |
| 2087 | }, { |
| 2088 | .eraseblocks = { {64 * 1024, 16} }, |
| 2089 | .block_erase = spi_block_erase_d8, |
| 2090 | }, { |
| 2091 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2092 | .block_erase = spi_block_erase_60, |
| 2093 | }, { |
| 2094 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2095 | .block_erase = spi_block_erase_c7, |
| 2096 | } |
| 2097 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2098 | .write = spi_chip_write_256, |
| 2099 | .read = spi_chip_read, |
| 2100 | }, |
| 2101 | |
| 2102 | { |
| 2103 | .vendor = "Eon", |
| 2104 | .name = "EN25F16", |
| 2105 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2106 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2107 | .model_id = EN_25F16, |
| 2108 | .total_size = 2048, |
| 2109 | .page_size = 256, |
| 2110 | .tested = TEST_UNTESTED, |
| 2111 | .probe = probe_spi_rdid, |
| 2112 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2113 | .erase = NULL, |
| 2114 | .block_erasers = |
| 2115 | { |
| 2116 | { |
| 2117 | .eraseblocks = { {4 * 1024, 512} }, |
| 2118 | .block_erase = spi_block_erase_20, |
| 2119 | }, { |
| 2120 | .eraseblocks = { {64 * 1024, 32} }, |
| 2121 | .block_erase = spi_block_erase_d8, |
| 2122 | }, { |
| 2123 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2124 | .block_erase = spi_block_erase_60, |
| 2125 | }, { |
| 2126 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2127 | .block_erase = spi_block_erase_c7, |
| 2128 | } |
| 2129 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2130 | .write = spi_chip_write_256, |
| 2131 | .read = spi_chip_read, |
| 2132 | }, |
| 2133 | |
| 2134 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2135 | .vendor = "Eon", |
| 2136 | .name = "EN25F32", |
| 2137 | .bustype = CHIP_BUSTYPE_SPI, |
| 2138 | .manufacture_id = EON_ID_NOPREFIX, |
| 2139 | .model_id = EN_25F32, |
| 2140 | .total_size = 4096, |
| 2141 | .page_size = 256, |
| 2142 | .tested = TEST_UNTESTED, |
| 2143 | .probe = probe_spi_rdid, |
| 2144 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2145 | .erase = NULL, |
| 2146 | .block_erasers = |
| 2147 | { |
| 2148 | { |
| 2149 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2150 | .block_erase = spi_block_erase_20, |
| 2151 | }, { |
| 2152 | .eraseblocks = { {64 * 1024, 64} }, |
| 2153 | .block_erase = spi_block_erase_d8, |
| 2154 | }, { |
| 2155 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2156 | .block_erase = spi_block_erase_60, |
| 2157 | }, { |
| 2158 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2159 | .block_erase = spi_block_erase_c7, |
| 2160 | } |
| 2161 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2162 | .write = spi_chip_write_256, |
| 2163 | .read = spi_chip_read, |
| 2164 | }, |
| 2165 | |
| 2166 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2167 | .vendor = "EON", |
| 2168 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2169 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2170 | .manufacture_id = EON_ID, |
| 2171 | .model_id = EN_29F002B, |
| 2172 | .total_size = 256, |
| 2173 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2174 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2175 | .tested = TEST_UNTESTED, |
| 2176 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2177 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2178 | .erase = NULL, |
| 2179 | .block_erasers = |
| 2180 | { |
| 2181 | { |
| 2182 | .eraseblocks = { |
| 2183 | {64 * 1024, 3}, |
| 2184 | {32 * 1024, 1}, |
| 2185 | {8 * 1024, 2}, |
| 2186 | {16 * 1024, 1}, |
| 2187 | }, |
| 2188 | .block_erase = erase_sector_jedec, |
| 2189 | }, { |
| 2190 | .eraseblocks = { {256 * 1024, 1} }, |
| 2191 | .block_erase = erase_chip_block_jedec, |
| 2192 | }, |
| 2193 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2194 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2195 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2196 | }, |
| 2197 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2198 | { |
| 2199 | .vendor = "EON", |
| 2200 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2201 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2202 | .manufacture_id = EON_ID, |
| 2203 | .model_id = EN_29F002T, |
| 2204 | .total_size = 256, |
| 2205 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2206 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 2207 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2208 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2209 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2210 | .erase = NULL, |
| 2211 | .block_erasers = |
| 2212 | { |
| 2213 | { |
| 2214 | .eraseblocks = { |
| 2215 | {16 * 1024, 1}, |
| 2216 | {8 * 1024, 2}, |
| 2217 | {32 * 1024, 1}, |
| 2218 | {64 * 1024, 3}, |
| 2219 | }, |
| 2220 | .block_erase = erase_sector_jedec, |
| 2221 | }, { |
| 2222 | .eraseblocks = { {256 * 1024, 1} }, |
| 2223 | .block_erase = erase_chip_block_jedec, |
| 2224 | }, |
| 2225 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2226 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2227 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2228 | }, |
| 2229 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2230 | { |
| 2231 | .vendor = "Fujitsu", |
| 2232 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2233 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2234 | .manufacture_id = FUJITSU_ID, |
| 2235 | .model_id = MBM29F004BC, |
| 2236 | .total_size = 512, |
| 2237 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2238 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2239 | .tested = TEST_UNTESTED, |
| 2240 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2241 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2242 | .erase = NULL, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2243 | .block_erasers = |
| 2244 | { |
| 2245 | { |
| 2246 | .eraseblocks = { |
| 2247 | {16 * 1024, 1}, |
| 2248 | {8 * 1024, 2}, |
| 2249 | {32 * 1024, 1}, |
| 2250 | {64 * 1024, 7}, |
| 2251 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2252 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2253 | }, { |
| 2254 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2255 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2256 | }, |
| 2257 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2258 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2259 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2260 | }, |
| 2261 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2262 | { |
| 2263 | .vendor = "Fujitsu", |
| 2264 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2265 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2266 | .manufacture_id = FUJITSU_ID, |
| 2267 | .model_id = MBM29F004TC, |
| 2268 | .total_size = 512, |
| 2269 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2270 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2271 | .tested = TEST_UNTESTED, |
| 2272 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2273 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2274 | .erase = NULL, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2275 | .block_erasers = |
| 2276 | { |
| 2277 | { |
| 2278 | .eraseblocks = { |
| 2279 | {64 * 1024, 7}, |
| 2280 | {32 * 1024, 1}, |
| 2281 | {8 * 1024, 2}, |
| 2282 | {16 * 1024, 1}, |
| 2283 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2284 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2285 | }, { |
| 2286 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2287 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2288 | }, |
| 2289 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2290 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2291 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2292 | }, |
| 2293 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2294 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2295 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2296 | .vendor = "Fujitsu", |
| 2297 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2298 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2299 | .manufacture_id = FUJITSU_ID, |
| 2300 | .model_id = MBM29F400BC, |
| 2301 | .total_size = 512, |
| 2302 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2303 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2304 | .tested = TEST_UNTESTED, |
| 2305 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2306 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2307 | .erase = NULL, |
| 2308 | .block_erasers = |
| 2309 | { |
| 2310 | { |
| 2311 | .eraseblocks = { |
| 2312 | {16 * 1024, 1}, |
| 2313 | {8 * 1024, 2}, |
| 2314 | {32 * 1024, 1}, |
| 2315 | {64 * 1024, 7}, |
| 2316 | }, |
| 2317 | .block_erase = block_erase_m29f400bt, |
| 2318 | }, { |
| 2319 | .eraseblocks = { {512 * 1024, 1} }, |
| 2320 | .block_erase = block_erase_chip_m29f400bt, |
| 2321 | }, |
| 2322 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2323 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2324 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2325 | }, |
| 2326 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2327 | { |
| 2328 | .vendor = "Fujitsu", |
| 2329 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2330 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2331 | .manufacture_id = FUJITSU_ID, |
| 2332 | .model_id = MBM29F400TC, |
| 2333 | .total_size = 512, |
| 2334 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2335 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2336 | .tested = TEST_UNTESTED, |
| 2337 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2338 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2339 | .erase = NULL, |
| 2340 | .block_erasers = |
| 2341 | { |
| 2342 | { |
| 2343 | .eraseblocks = { |
| 2344 | {64 * 1024, 7}, |
| 2345 | {32 * 1024, 1}, |
| 2346 | {8 * 1024, 2}, |
| 2347 | {16 * 1024, 1}, |
| 2348 | }, |
| 2349 | .block_erase = block_erase_m29f400bt, |
| 2350 | }, { |
| 2351 | .eraseblocks = { {512 * 1024, 1} }, |
| 2352 | .block_erase = block_erase_chip_m29f400bt, |
| 2353 | }, |
| 2354 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2355 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2356 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2357 | }, |
| 2358 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2359 | { |
| 2360 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2361 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2362 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2363 | .manufacture_id = INTEL_ID, |
| 2364 | .model_id = P28F001BXB, |
| 2365 | .total_size = 128, |
| 2366 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2367 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2368 | .tested = TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2369 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2370 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2371 | .erase = NULL, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2372 | .block_erasers = |
| 2373 | { |
| 2374 | { |
| 2375 | .eraseblocks = { |
| 2376 | {8 * 1024, 1}, |
| 2377 | {4 * 1024, 2}, |
| 2378 | {112 * 1024, 1}, |
| 2379 | }, |
| 2380 | .block_erase = erase_82802ab_block, |
| 2381 | }, |
| 2382 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2383 | .write = NULL, |
| 2384 | .read = read_memmapped, |
| 2385 | }, |
| 2386 | |
| 2387 | { |
| 2388 | .vendor = "Intel", |
| 2389 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2390 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2391 | .manufacture_id = INTEL_ID, |
| 2392 | .model_id = P28F001BXT, |
| 2393 | .total_size = 128, |
| 2394 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2395 | .feature_bits = 0, |
| 2396 | .tested = TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2397 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2398 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2399 | .erase = NULL, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2400 | .block_erasers = |
| 2401 | { |
| 2402 | { |
| 2403 | .eraseblocks = { |
| 2404 | {112 * 1024, 1}, |
| 2405 | {4 * 1024, 2}, |
| 2406 | {8 * 1024, 1}, |
| 2407 | }, |
| 2408 | .block_erase = erase_82802ab_block, |
| 2409 | }, |
| 2410 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2411 | .write = NULL, |
| 2412 | .read = read_memmapped, |
| 2413 | }, |
| 2414 | |
| 2415 | { |
| 2416 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2417 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2418 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2419 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2420 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2421 | .total_size = 512, |
| 2422 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2423 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2424 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2425 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2426 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2427 | .erase = NULL, |
| 2428 | .block_erasers = |
| 2429 | { |
| 2430 | { |
| 2431 | .eraseblocks = { {64 * 1024, 8} }, |
| 2432 | .block_erase = erase_82802ab_block, |
| 2433 | }, |
| 2434 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2435 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2436 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2437 | }, |
| 2438 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2439 | { |
| 2440 | .vendor = "Intel", |
| 2441 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2442 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2443 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2444 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2445 | .total_size = 1024, |
| 2446 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2447 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2448 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2449 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2450 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2451 | .erase = NULL, |
| 2452 | .block_erasers = |
| 2453 | { |
| 2454 | { |
| 2455 | .eraseblocks = { {64 * 1024, 16} }, |
| 2456 | .block_erase = erase_82802ab_block, |
| 2457 | }, |
| 2458 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2459 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2460 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2461 | }, |
| 2462 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2463 | { |
| 2464 | .vendor = "Macronix", |
| 2465 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2466 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2467 | .manufacture_id = MX_ID, |
| 2468 | .model_id = MX_25L512, |
| 2469 | .total_size = 64, |
| 2470 | .page_size = 256, |
| 2471 | .tested = TEST_UNTESTED, |
| 2472 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2473 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2474 | .erase = NULL, |
| 2475 | .block_erasers = |
| 2476 | { |
| 2477 | { |
| 2478 | .eraseblocks = { {4 * 1024, 16} }, |
| 2479 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2480 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2481 | .eraseblocks = { {64 * 1024, 1} }, |
| 2482 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2483 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2484 | .eraseblocks = { {64 * 1024, 1} }, |
| 2485 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2486 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2487 | .eraseblocks = { {64 * 1024, 1} }, |
| 2488 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2489 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2490 | .eraseblocks = { {64 * 1024, 1} }, |
| 2491 | .block_erase = spi_block_erase_c7, |
| 2492 | }, |
| 2493 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2494 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2495 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2496 | }, |
| 2497 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2498 | { |
| 2499 | .vendor = "Macronix", |
| 2500 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2501 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2502 | .manufacture_id = MX_ID, |
| 2503 | .model_id = MX_25L1005, |
| 2504 | .total_size = 128, |
| 2505 | .page_size = 256, |
| 2506 | .tested = TEST_UNTESTED, |
| 2507 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2508 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2509 | .erase = NULL, |
| 2510 | .block_erasers = |
| 2511 | { |
| 2512 | { |
| 2513 | .eraseblocks = { {4 * 1024, 32} }, |
| 2514 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2515 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2516 | .eraseblocks = { {64 * 1024, 2} }, |
| 2517 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2518 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2519 | .eraseblocks = { {128 * 1024, 1} }, |
| 2520 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2521 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2522 | .eraseblocks = { {128 * 1024, 1} }, |
| 2523 | .block_erase = spi_block_erase_c7, |
| 2524 | }, |
| 2525 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2526 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2527 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2528 | }, |
| 2529 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2530 | { |
| 2531 | .vendor = "Macronix", |
| 2532 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2533 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2534 | .manufacture_id = MX_ID, |
| 2535 | .model_id = MX_25L2005, |
| 2536 | .total_size = 256, |
| 2537 | .page_size = 256, |
| 2538 | .tested = TEST_UNTESTED, |
| 2539 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2540 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2541 | .erase = NULL, |
| 2542 | .block_erasers = |
| 2543 | { |
| 2544 | { |
| 2545 | .eraseblocks = { {4 * 1024, 64} }, |
| 2546 | .block_erase = spi_block_erase_20, |
| 2547 | }, { |
| 2548 | .eraseblocks = { {64 * 1024, 4} }, |
| 2549 | .block_erase = spi_block_erase_52, |
| 2550 | }, { |
| 2551 | .eraseblocks = { {64 * 1024, 4} }, |
| 2552 | .block_erase = spi_block_erase_d8, |
| 2553 | }, { |
| 2554 | .eraseblocks = { {256 * 1024, 1} }, |
| 2555 | .block_erase = spi_block_erase_60, |
| 2556 | }, { |
| 2557 | .eraseblocks = { {256 * 1024, 1} }, |
| 2558 | .block_erase = spi_block_erase_c7, |
| 2559 | }, |
| 2560 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2561 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2562 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2563 | }, |
| 2564 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2565 | { |
| 2566 | .vendor = "Macronix", |
| 2567 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2568 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2569 | .manufacture_id = MX_ID, |
| 2570 | .model_id = MX_25L4005, |
| 2571 | .total_size = 512, |
| 2572 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2573 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2574 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2575 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2576 | .erase = NULL, |
| 2577 | .block_erasers = |
| 2578 | { |
| 2579 | { |
| 2580 | .eraseblocks = { {4 * 1024, 128} }, |
| 2581 | .block_erase = spi_block_erase_20, |
| 2582 | }, { |
| 2583 | .eraseblocks = { {64 * 1024, 8} }, |
| 2584 | .block_erase = spi_block_erase_52, |
| 2585 | }, { |
| 2586 | .eraseblocks = { {64 * 1024, 8} }, |
| 2587 | .block_erase = spi_block_erase_d8, |
| 2588 | }, { |
| 2589 | .eraseblocks = { {512 * 1024, 1} }, |
| 2590 | .block_erase = spi_block_erase_60, |
| 2591 | }, { |
| 2592 | .eraseblocks = { {512 * 1024, 1} }, |
| 2593 | .block_erase = spi_block_erase_c7, |
| 2594 | }, |
| 2595 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2596 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2597 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2598 | }, |
| 2599 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2600 | { |
| 2601 | .vendor = "Macronix", |
| 2602 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2603 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2604 | .manufacture_id = MX_ID, |
| 2605 | .model_id = MX_25L8005, |
| 2606 | .total_size = 1024, |
| 2607 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2608 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2609 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2610 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2611 | .erase = NULL, |
| 2612 | .block_erasers = |
| 2613 | { |
| 2614 | { |
| 2615 | .eraseblocks = { {4 * 1024, 256} }, |
| 2616 | .block_erase = spi_block_erase_20, |
| 2617 | }, { |
| 2618 | .eraseblocks = { {64 * 1024, 16} }, |
| 2619 | .block_erase = spi_block_erase_52, |
| 2620 | }, { |
| 2621 | .eraseblocks = { {64 * 1024, 16} }, |
| 2622 | .block_erase = spi_block_erase_d8, |
| 2623 | }, { |
| 2624 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2625 | .block_erase = spi_block_erase_60, |
| 2626 | }, { |
| 2627 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2628 | .block_erase = spi_block_erase_c7, |
| 2629 | }, |
| 2630 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2631 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2632 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2633 | }, |
| 2634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2635 | { |
| 2636 | .vendor = "Macronix", |
| 2637 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2638 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2639 | .manufacture_id = MX_ID, |
| 2640 | .model_id = MX_25L1605, |
| 2641 | .total_size = 2048, |
| 2642 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2643 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2644 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2645 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2646 | .erase = NULL, |
| 2647 | .block_erasers = |
| 2648 | { |
| 2649 | { |
| 2650 | .eraseblocks = { {4 * 1024, 512} }, |
| 2651 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2652 | }, { |
| 2653 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 2654 | .block_erase = spi_block_erase_52, |
| 2655 | }, { |
| 2656 | .eraseblocks = { {64 * 1024, 32} }, |
| 2657 | .block_erase = spi_block_erase_d8, |
| 2658 | }, { |
| 2659 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2660 | .block_erase = spi_block_erase_60, |
| 2661 | }, { |
| 2662 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2663 | .block_erase = spi_block_erase_c7, |
| 2664 | }, |
| 2665 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2666 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2667 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2668 | }, |
| 2669 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2670 | { |
| 2671 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2672 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2673 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2674 | .manufacture_id = MX_ID, |
| 2675 | .model_id = MX_25L1635D, |
| 2676 | .total_size = 2048, |
| 2677 | .page_size = 256, |
| 2678 | .tested = TEST_UNTESTED, |
| 2679 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2680 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2681 | .erase = NULL, |
| 2682 | .block_erasers = |
| 2683 | { |
| 2684 | { |
| 2685 | .eraseblocks = { {4 * 1024, 512} }, |
| 2686 | .block_erase = spi_block_erase_20, |
| 2687 | }, { |
| 2688 | .eraseblocks = { {64 * 1024, 32} }, |
| 2689 | .block_erase = spi_block_erase_d8, |
| 2690 | }, { |
| 2691 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2692 | .block_erase = spi_block_erase_60, |
| 2693 | }, { |
| 2694 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2695 | .block_erase = spi_block_erase_c7, |
| 2696 | } |
| 2697 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2698 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2699 | .read = spi_chip_read, |
| 2700 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 2701 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2702 | { |
| 2703 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2704 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2705 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2706 | .manufacture_id = MX_ID, |
| 2707 | .model_id = MX_25L3205, |
| 2708 | .total_size = 4096, |
| 2709 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2710 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2711 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2712 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2713 | .erase = NULL, |
| 2714 | .block_erasers = |
| 2715 | { |
| 2716 | { |
| 2717 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2718 | .block_erase = spi_block_erase_20, |
| 2719 | }, { |
| 2720 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2721 | .block_erase = spi_block_erase_d8, |
| 2722 | }, { |
| 2723 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2724 | .block_erase = spi_block_erase_60, |
| 2725 | }, { |
| 2726 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2727 | .block_erase = spi_block_erase_c7, |
| 2728 | }, |
| 2729 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2730 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2731 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2732 | }, |
| 2733 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2734 | { |
| 2735 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2736 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2737 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2738 | .manufacture_id = MX_ID, |
| 2739 | .model_id = MX_25L3235D, |
| 2740 | .total_size = 4096, |
| 2741 | .page_size = 256, |
| 2742 | .tested = TEST_UNTESTED, |
| 2743 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2744 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2745 | .erase = NULL, |
| 2746 | .block_erasers = |
| 2747 | { |
| 2748 | { |
| 2749 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2750 | .block_erase = spi_block_erase_20, |
| 2751 | }, { |
| 2752 | .eraseblocks = { {64 * 1024, 64} }, |
| 2753 | .block_erase = spi_block_erase_d8, |
| 2754 | }, { |
| 2755 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2756 | .block_erase = spi_block_erase_60, |
| 2757 | }, { |
| 2758 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2759 | .block_erase = spi_block_erase_c7, |
| 2760 | } |
| 2761 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2762 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2763 | .read = spi_chip_read, |
| 2764 | }, |
| 2765 | |
| 2766 | { |
| 2767 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2768 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2769 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2770 | .manufacture_id = MX_ID, |
| 2771 | .model_id = MX_25L6405, |
| 2772 | .total_size = 8192, |
| 2773 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 2774 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2775 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2776 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2777 | .erase = NULL, |
| 2778 | .block_erasers = |
| 2779 | { |
| 2780 | { |
| 2781 | .eraseblocks = { {64 * 1024, 128} }, |
| 2782 | .block_erase = spi_block_erase_20, |
| 2783 | }, { |
| 2784 | .eraseblocks = { {64 * 1024, 128} }, |
| 2785 | .block_erase = spi_block_erase_d8, |
| 2786 | }, { |
| 2787 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2788 | .block_erase = spi_block_erase_60, |
| 2789 | }, { |
| 2790 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2791 | .block_erase = spi_block_erase_c7, |
| 2792 | } |
| 2793 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2794 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2795 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2796 | }, |
| 2797 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2798 | { |
| 2799 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2800 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2801 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2802 | .manufacture_id = MX_ID, |
| 2803 | .model_id = MX_25L12805, |
| 2804 | .total_size = 16384, |
| 2805 | .page_size = 256, |
| 2806 | .tested = TEST_UNTESTED, |
| 2807 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2808 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2809 | .erase = NULL, |
| 2810 | .block_erasers = |
| 2811 | { |
| 2812 | { |
| 2813 | .eraseblocks = { {4 * 1024, 4096} }, |
| 2814 | .block_erase = spi_block_erase_20, |
| 2815 | }, { |
| 2816 | .eraseblocks = { {64 * 1024, 256} }, |
| 2817 | .block_erase = spi_block_erase_d8, |
| 2818 | }, { |
| 2819 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2820 | .block_erase = spi_block_erase_60, |
| 2821 | }, { |
| 2822 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2823 | .block_erase = spi_block_erase_c7, |
| 2824 | } |
| 2825 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2826 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2827 | .read = spi_chip_read, |
| 2828 | }, |
| 2829 | |
| 2830 | { |
| 2831 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2832 | .name = "MX29F001B", |
| 2833 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2834 | .manufacture_id = MX_ID, |
| 2835 | .model_id = MX_29F001B, |
| 2836 | .total_size = 128, |
| 2837 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2838 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2839 | .tested = TEST_UNTESTED, |
| 2840 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2841 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2842 | .erase = NULL, |
| 2843 | .block_erasers = |
| 2844 | { |
| 2845 | { |
| 2846 | .eraseblocks = { |
| 2847 | {8 * 1024, 1}, |
| 2848 | {4 * 1024, 2}, |
| 2849 | {8 * 1024, 2}, |
| 2850 | {32 * 1024, 1}, |
| 2851 | {64 * 1024, 1}, |
| 2852 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2853 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2854 | }, { |
| 2855 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2856 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2857 | } |
| 2858 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2859 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2860 | .read = read_memmapped, |
| 2861 | }, |
| 2862 | |
| 2863 | { |
| 2864 | .vendor = "Macronix", |
| 2865 | .name = "MX29F001T", |
| 2866 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2867 | .manufacture_id = MX_ID, |
| 2868 | .model_id = MX_29F001T, |
| 2869 | .total_size = 128, |
| 2870 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2871 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2872 | .tested = TEST_UNTESTED, |
| 2873 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2874 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2875 | .erase = NULL, |
| 2876 | .block_erasers = |
| 2877 | { |
| 2878 | { |
| 2879 | .eraseblocks = { |
| 2880 | {64 * 1024, 1}, |
| 2881 | {32 * 1024, 1}, |
| 2882 | {8 * 1024, 2}, |
| 2883 | {4 * 1024, 2}, |
| 2884 | {8 * 1024, 1}, |
| 2885 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2886 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2887 | }, { |
| 2888 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2889 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2890 | } |
| 2891 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2892 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2893 | .read = read_memmapped, |
| 2894 | }, |
| 2895 | |
| 2896 | { |
| 2897 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2898 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2899 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2900 | .manufacture_id = MX_ID, |
| 2901 | .model_id = MX_29F002B, |
| 2902 | .total_size = 256, |
| 2903 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2904 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2905 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2906 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2907 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2908 | .erase = NULL, |
| 2909 | .block_erasers = |
| 2910 | { |
| 2911 | { |
| 2912 | .eraseblocks = { |
| 2913 | {16 * 1024, 1}, |
| 2914 | {8 * 1024, 2}, |
| 2915 | {32 * 1024, 1}, |
| 2916 | {64 * 1024, 3}, |
| 2917 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2918 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2919 | }, { |
| 2920 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2921 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2922 | }, |
| 2923 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2924 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2925 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2926 | }, |
| 2927 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2928 | { |
| 2929 | .vendor = "Macronix", |
| 2930 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2931 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2932 | .manufacture_id = MX_ID, |
| 2933 | .model_id = MX_29F002T, |
| 2934 | .total_size = 256, |
| 2935 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2936 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2937 | .tested = TEST_UNTESTED, |
| 2938 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2939 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2940 | .erase = NULL, |
| 2941 | .block_erasers = |
| 2942 | { |
| 2943 | { |
| 2944 | .eraseblocks = { |
| 2945 | {64 * 1024, 3}, |
| 2946 | {32 * 1024, 1}, |
| 2947 | {8 * 1024, 2}, |
| 2948 | {16 * 1024, 1}, |
| 2949 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2950 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2951 | }, { |
| 2952 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2953 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2954 | }, |
| 2955 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2956 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2957 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2958 | }, |
| 2959 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2960 | { |
| 2961 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2962 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2963 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2964 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2965 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2966 | .total_size = 512, |
| 2967 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2968 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2969 | .tested = TEST_UNTESTED, |
| 2970 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2971 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2972 | .erase = NULL, |
| 2973 | .block_erasers = |
| 2974 | { |
| 2975 | { |
| 2976 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2977 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2978 | }, { |
| 2979 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2980 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2981 | }, |
| 2982 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2983 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2984 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 2985 | }, |
| 2986 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2987 | { |
| 2988 | .vendor = "Numonyx", |
| 2989 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2990 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2991 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2992 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2993 | .total_size = 128, |
| 2994 | .page_size = 256, |
| 2995 | .tested = TEST_UNTESTED, |
| 2996 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2997 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2998 | .erase = NULL, |
| 2999 | .block_erasers = |
| 3000 | { |
| 3001 | { |
| 3002 | .eraseblocks = { {4 * 1024, 32} }, |
| 3003 | .block_erase = spi_block_erase_20, |
| 3004 | }, { |
| 3005 | .eraseblocks = { {64 * 1024, 2} }, |
| 3006 | .block_erase = spi_block_erase_d8, |
| 3007 | }, { |
| 3008 | .eraseblocks = { {128 * 1024, 1} }, |
| 3009 | .block_erase = spi_block_erase_c7, |
| 3010 | } |
| 3011 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3012 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3013 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3014 | }, |
| 3015 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3016 | { |
| 3017 | .vendor = "Numonyx", |
| 3018 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3019 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3020 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3021 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3022 | .total_size = 256, |
| 3023 | .page_size = 256, |
| 3024 | .tested = TEST_UNTESTED, |
| 3025 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3026 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3027 | .erase = NULL, |
| 3028 | .block_erasers = |
| 3029 | { |
| 3030 | { |
| 3031 | .eraseblocks = { {4 * 1024, 64} }, |
| 3032 | .block_erase = spi_block_erase_20, |
| 3033 | }, { |
| 3034 | .eraseblocks = { {64 * 1024, 4} }, |
| 3035 | .block_erase = spi_block_erase_d8, |
| 3036 | }, { |
| 3037 | .eraseblocks = { {256 * 1024, 1} }, |
| 3038 | .block_erase = spi_block_erase_c7, |
| 3039 | } |
| 3040 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3041 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3042 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3043 | }, |
| 3044 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3045 | { |
| 3046 | .vendor = "Numonyx", |
| 3047 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3048 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3049 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3050 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3051 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3052 | .page_size = 256, |
| 3053 | .tested = TEST_UNTESTED, |
| 3054 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3055 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3056 | .erase = NULL, |
| 3057 | .block_erasers = |
| 3058 | { |
| 3059 | { |
| 3060 | .eraseblocks = { {4 * 1024, 128} }, |
| 3061 | .block_erase = spi_block_erase_20, |
| 3062 | }, { |
| 3063 | .eraseblocks = { {64 * 1024, 8} }, |
| 3064 | .block_erase = spi_block_erase_d8, |
| 3065 | }, { |
| 3066 | .eraseblocks = { {512 * 1024, 1} }, |
| 3067 | .block_erase = spi_block_erase_c7, |
| 3068 | } |
| 3069 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3070 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3071 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3072 | }, |
| 3073 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3074 | { |
| 3075 | .vendor = "Numonyx", |
| 3076 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3077 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3078 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3079 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3080 | .total_size = 1024, |
| 3081 | .page_size = 256, |
| 3082 | .tested = TEST_OK_PREW, |
| 3083 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3084 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3085 | .erase = NULL, |
| 3086 | .block_erasers = |
| 3087 | { |
| 3088 | { |
| 3089 | .eraseblocks = { {4 * 1024, 256} }, |
| 3090 | .block_erase = spi_block_erase_20, |
| 3091 | }, { |
| 3092 | .eraseblocks = { {64 * 1024, 16} }, |
| 3093 | .block_erase = spi_block_erase_d8, |
| 3094 | }, { |
| 3095 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3096 | .block_erase = spi_block_erase_c7, |
| 3097 | } |
| 3098 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3099 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3100 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3101 | }, |
| 3102 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3103 | { |
| 3104 | .vendor = "Numonyx", |
| 3105 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3106 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3107 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3108 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3109 | .total_size = 2048, |
| 3110 | .page_size = 256, |
| 3111 | .tested = TEST_UNTESTED, |
| 3112 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3113 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3114 | .erase = NULL, |
| 3115 | .block_erasers = |
| 3116 | { |
| 3117 | { |
| 3118 | .eraseblocks = { {4 * 1024, 512} }, |
| 3119 | .block_erase = spi_block_erase_20, |
| 3120 | }, { |
| 3121 | .eraseblocks = { {64 * 1024, 32} }, |
| 3122 | .block_erase = spi_block_erase_d8, |
| 3123 | }, { |
| 3124 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3125 | .block_erase = spi_block_erase_c7, |
| 3126 | } |
| 3127 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3128 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3129 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3130 | }, |
| 3131 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3132 | { |
| 3133 | .vendor = "PMC", |
| 3134 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3135 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3136 | .manufacture_id = PMC_ID, |
| 3137 | .model_id = PMC_25LV010, |
| 3138 | .total_size = 128, |
| 3139 | .page_size = 256, |
| 3140 | .tested = TEST_UNTESTED, |
| 3141 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3142 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3143 | .erase = NULL, |
| 3144 | .block_erasers = |
| 3145 | { |
| 3146 | { |
| 3147 | .eraseblocks = { {4 * 1024, 32} }, |
| 3148 | .block_erase = spi_block_erase_d7, |
| 3149 | }, { |
| 3150 | .eraseblocks = { {32 * 1024, 4} }, |
| 3151 | .block_erase = spi_block_erase_d8, |
| 3152 | }, { |
| 3153 | .eraseblocks = { {128 * 1024, 1} }, |
| 3154 | .block_erase = spi_block_erase_c7, |
| 3155 | } |
| 3156 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3157 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3158 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3159 | }, |
| 3160 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3161 | { |
| 3162 | .vendor = "PMC", |
| 3163 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3164 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3165 | .manufacture_id = PMC_ID, |
| 3166 | .model_id = PMC_25LV016B, |
| 3167 | .total_size = 2048, |
| 3168 | .page_size = 256, |
| 3169 | .tested = TEST_UNTESTED, |
| 3170 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3171 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3172 | .erase = NULL, |
| 3173 | .block_erasers = |
| 3174 | { |
| 3175 | { |
| 3176 | .eraseblocks = { {4 * 1024, 512} }, |
| 3177 | .block_erase = spi_block_erase_d7, |
| 3178 | }, { |
| 3179 | .eraseblocks = { {4 * 1024, 512} }, |
| 3180 | .block_erase = spi_block_erase_20, |
| 3181 | }, { |
| 3182 | .eraseblocks = { {64 * 1024, 32} }, |
| 3183 | .block_erase = spi_block_erase_d8, |
| 3184 | }, { |
| 3185 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3186 | .block_erase = spi_block_erase_60, |
| 3187 | }, { |
| 3188 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3189 | .block_erase = spi_block_erase_c7, |
| 3190 | } |
| 3191 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3192 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3193 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3194 | }, |
| 3195 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3196 | { |
| 3197 | .vendor = "PMC", |
| 3198 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3199 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3200 | .manufacture_id = PMC_ID, |
| 3201 | .model_id = PMC_25LV020, |
| 3202 | .total_size = 256, |
| 3203 | .page_size = 256, |
| 3204 | .tested = TEST_UNTESTED, |
| 3205 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3206 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3207 | .erase = NULL, |
| 3208 | .block_erasers = |
| 3209 | { |
| 3210 | { |
| 3211 | .eraseblocks = { {4 * 1024, 64} }, |
| 3212 | .block_erase = spi_block_erase_d7, |
| 3213 | }, { |
| 3214 | .eraseblocks = { {64 * 1024, 4} }, |
| 3215 | .block_erase = spi_block_erase_d8, |
| 3216 | }, { |
| 3217 | .eraseblocks = { {256 * 1024, 1} }, |
| 3218 | .block_erase = spi_block_erase_c7, |
| 3219 | } |
| 3220 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3221 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3222 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3223 | }, |
| 3224 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3225 | { |
| 3226 | .vendor = "PMC", |
| 3227 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3228 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3229 | .manufacture_id = PMC_ID, |
| 3230 | .model_id = PMC_25LV040, |
| 3231 | .total_size = 512, |
| 3232 | .page_size = 256, |
| 3233 | .tested = TEST_UNTESTED, |
| 3234 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3235 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3236 | .erase = NULL, |
| 3237 | .block_erasers = |
| 3238 | { |
| 3239 | { |
| 3240 | .eraseblocks = { {4 * 1024, 128} }, |
| 3241 | .block_erase = spi_block_erase_d7, |
| 3242 | }, { |
| 3243 | .eraseblocks = { {64 * 1024, 8} }, |
| 3244 | .block_erase = spi_block_erase_d8, |
| 3245 | }, { |
| 3246 | .eraseblocks = { {512 * 1024, 1} }, |
| 3247 | .block_erase = spi_block_erase_c7, |
| 3248 | } |
| 3249 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3250 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3251 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3252 | }, |
| 3253 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3254 | { |
| 3255 | .vendor = "PMC", |
| 3256 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3257 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3258 | .manufacture_id = PMC_ID, |
| 3259 | .model_id = PMC_25LV080B, |
| 3260 | .total_size = 1024, |
| 3261 | .page_size = 256, |
| 3262 | .tested = TEST_UNTESTED, |
| 3263 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3264 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3265 | .erase = NULL, |
| 3266 | .block_erasers = |
| 3267 | { |
| 3268 | { |
| 3269 | .eraseblocks = { {4 * 1024, 256} }, |
| 3270 | .block_erase = spi_block_erase_d7, |
| 3271 | }, { |
| 3272 | .eraseblocks = { {4 * 1024, 256} }, |
| 3273 | .block_erase = spi_block_erase_20, |
| 3274 | }, { |
| 3275 | .eraseblocks = { {64 * 1024, 16} }, |
| 3276 | .block_erase = spi_block_erase_d8, |
| 3277 | }, { |
| 3278 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3279 | .block_erase = spi_block_erase_60, |
| 3280 | }, { |
| 3281 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3282 | .block_erase = spi_block_erase_c7, |
| 3283 | } |
| 3284 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3285 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3286 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3287 | }, |
| 3288 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3289 | { |
| 3290 | .vendor = "PMC", |
| 3291 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3292 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3293 | .manufacture_id = PMC_ID, |
| 3294 | .model_id = PMC_25LV512, |
| 3295 | .total_size = 64, |
| 3296 | .page_size = 256, |
| 3297 | .tested = TEST_UNTESTED, |
| 3298 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3299 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3300 | .erase = NULL, |
| 3301 | .block_erasers = |
| 3302 | { |
| 3303 | { |
| 3304 | .eraseblocks = { {4 * 1024, 16} }, |
| 3305 | .block_erase = spi_block_erase_d7, |
| 3306 | }, { |
| 3307 | .eraseblocks = { {32 * 1024, 2} }, |
| 3308 | .block_erase = spi_block_erase_d8, |
| 3309 | }, { |
| 3310 | .eraseblocks = { {64 * 1024, 1} }, |
| 3311 | .block_erase = spi_block_erase_c7, |
| 3312 | } |
| 3313 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3314 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3315 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3316 | }, |
| 3317 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3318 | { |
| 3319 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3320 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3321 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3322 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3323 | .model_id = PMC_29F002T, |
| 3324 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3325 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3326 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3327 | .tested = TEST_UNTESTED, |
| 3328 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3329 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3330 | .erase = NULL, |
| 3331 | .block_erasers = |
| 3332 | { |
| 3333 | { |
| 3334 | .eraseblocks = { |
| 3335 | {128 * 1024, 1}, |
| 3336 | {96 * 1024, 1}, |
| 3337 | {8 * 1024, 2}, |
| 3338 | {16 * 1024, 1}, |
| 3339 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3340 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3341 | }, { |
| 3342 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3343 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3344 | }, |
| 3345 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3346 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3347 | .read = read_memmapped, |
| 3348 | }, |
| 3349 | |
| 3350 | { |
| 3351 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3352 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3353 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3354 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3355 | .model_id = PMC_29F002B, |
| 3356 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3357 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3358 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3359 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3360 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3361 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3362 | .erase = NULL, |
| 3363 | .block_erasers = |
| 3364 | { |
| 3365 | { |
| 3366 | .eraseblocks = { |
| 3367 | {16 * 1024, 1}, |
| 3368 | {8 * 1024, 2}, |
| 3369 | {96 * 1024, 1}, |
| 3370 | {128 * 1024, 1}, |
| 3371 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3372 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3373 | }, { |
| 3374 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3375 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3376 | }, |
| 3377 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3378 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3379 | .read = read_memmapped, |
| 3380 | }, |
| 3381 | |
| 3382 | { |
| 3383 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3384 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3385 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3386 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3387 | .model_id = PMC_39F010, |
| 3388 | .total_size = 128, |
| 3389 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3390 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3391 | .tested = TEST_UNTESTED, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3392 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3393 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3394 | .erase = NULL, |
| 3395 | .block_erasers = |
| 3396 | { |
| 3397 | { |
| 3398 | .eraseblocks = { {4 * 1024, 32} }, |
| 3399 | .block_erase = erase_sector_jedec, |
| 3400 | }, { |
| 3401 | .eraseblocks = { {64 * 1024, 2} }, |
| 3402 | .block_erase = erase_block_jedec, |
| 3403 | }, { |
| 3404 | .eraseblocks = { {128 * 1024, 1} }, |
| 3405 | .block_erase = erase_chip_block_jedec, |
| 3406 | } |
| 3407 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3408 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3409 | .read = read_memmapped, |
| 3410 | }, |
| 3411 | |
| 3412 | { |
| 3413 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3414 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3415 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3416 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3417 | .model_id = PMC_49FL002, |
| 3418 | .total_size = 256, |
| 3419 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3420 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 3421 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3422 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3423 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3424 | .erase = NULL, /* Was: erase_49fl00x */ |
| 3425 | .block_erasers = |
| 3426 | { |
| 3427 | { |
| 3428 | .eraseblocks = { {4 * 1024, 64} }, |
| 3429 | .block_erase = erase_sector_jedec, |
| 3430 | }, { |
| 3431 | .eraseblocks = { {16 * 1024, 16} }, |
| 3432 | .block_erase = erase_block_jedec, |
| 3433 | }, { |
| 3434 | .eraseblocks = { {256 * 1024, 1} }, |
| 3435 | .block_erase = erase_chip_block_jedec, |
| 3436 | } |
| 3437 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3438 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3439 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3440 | }, |
| 3441 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3442 | { |
| 3443 | .vendor = "PMC", |
| 3444 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3445 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3446 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3447 | .model_id = PMC_49FL004, |
| 3448 | .total_size = 512, |
| 3449 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3450 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 3451 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3452 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3453 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3454 | .erase = NULL, /* Was: erase_49fl00x */ |
| 3455 | .block_erasers = |
| 3456 | { |
| 3457 | { |
| 3458 | .eraseblocks = { {4 * 1024, 128} }, |
| 3459 | .block_erase = erase_sector_jedec, |
| 3460 | }, { |
| 3461 | .eraseblocks = { {64 * 1024, 8} }, |
| 3462 | .block_erase = erase_block_jedec, |
| 3463 | }, { |
| 3464 | .eraseblocks = { {512 * 1024, 1} }, |
| 3465 | .block_erase = erase_chip_block_jedec, |
| 3466 | } |
| 3467 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3468 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3469 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3470 | }, |
| 3471 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3472 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3473 | .vendor = "Sanyo", |
| 3474 | .name = "LF25FW203A", |
| 3475 | .bustype = CHIP_BUSTYPE_SPI, |
| 3476 | .manufacture_id = SANYO_ID, |
| 3477 | .model_id = SANYO_LE25FW203A, |
| 3478 | .total_size = 2048, |
| 3479 | .page_size = 256, |
| 3480 | .tested = TEST_UNTESTED, |
| 3481 | .probe = probe_spi_rdid, |
| 3482 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3483 | .erase = NULL, |
| 3484 | .block_erasers = |
| 3485 | { |
| 3486 | { |
| 3487 | .eraseblocks = { {64 * 1024, 32} }, |
| 3488 | .block_erase = spi_block_erase_d8, |
| 3489 | }, { |
| 3490 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3491 | .block_erase = spi_block_erase_c7, |
| 3492 | } |
| 3493 | }, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3494 | .write = spi_chip_write_256, |
| 3495 | .read = spi_chip_read, |
| 3496 | }, |
| 3497 | |
| 3498 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3499 | .vendor = "Sharp", |
| 3500 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3501 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3502 | .manufacture_id = SHARP_ID, |
| 3503 | .model_id = SHARP_LHF00L04, |
| 3504 | .total_size = 1024, |
| 3505 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3506 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3507 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3508 | .probe = probe_49lfxxxc, |
| 3509 | .probe_timing = TIMING_ZERO, |
| 3510 | .erase = NULL, |
| 3511 | .block_erasers = |
| 3512 | { |
| 3513 | { |
| 3514 | .eraseblocks = { |
| 3515 | {64 * 1024, 15}, |
| 3516 | {8 * 1024, 8} |
| 3517 | }, |
| 3518 | .block_erase = erase_lhf00l04_block, |
| 3519 | }, { |
| 3520 | .eraseblocks = { |
| 3521 | {1024 * 1024, 1} |
| 3522 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3523 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3524 | }, |
| 3525 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3526 | .write = write_lhf00l04, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3527 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3528 | }, |
| 3529 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3530 | { |
| 3531 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3532 | .name = "S25FL008A", |
| 3533 | .bustype = CHIP_BUSTYPE_SPI, |
| 3534 | .manufacture_id = SPANSION_ID, |
| 3535 | .model_id = SPANSION_S25FL008A, |
| 3536 | .total_size = 1024, |
| 3537 | .page_size = 256, |
| 3538 | .tested = TEST_OK_PREW, |
| 3539 | .probe = probe_spi_rdid, |
| 3540 | .probe_timing = TIMING_ZERO, |
| 3541 | .erase = NULL, |
| 3542 | .block_erasers = |
| 3543 | { |
| 3544 | { |
| 3545 | .eraseblocks = { {64 * 1024, 16} }, |
| 3546 | .block_erase = spi_block_erase_d8, |
| 3547 | }, { |
| 3548 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3549 | .block_erase = spi_block_erase_c7, |
| 3550 | } |
| 3551 | }, |
| 3552 | .write = spi_chip_write_256, |
| 3553 | .read = spi_chip_read, |
| 3554 | }, |
| 3555 | |
| 3556 | { |
| 3557 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3558 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3559 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3560 | .manufacture_id = SPANSION_ID, |
| 3561 | .model_id = SPANSION_S25FL016A, |
| 3562 | .total_size = 2048, |
| 3563 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3564 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3565 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3566 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3567 | .erase = NULL, |
| 3568 | .block_erasers = |
| 3569 | { |
| 3570 | { |
| 3571 | .eraseblocks = { {64 * 1024, 32} }, |
| 3572 | .block_erase = spi_block_erase_d8, |
| 3573 | }, { |
| 3574 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3575 | .block_erase = spi_block_erase_c7, |
| 3576 | } |
| 3577 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3578 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3579 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3580 | }, |
| 3581 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3582 | { |
| 3583 | .vendor = "SST", |
| 3584 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3585 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3586 | .manufacture_id = SST_ID, |
| 3587 | .model_id = SST_25VF016B, |
| 3588 | .total_size = 2048, |
| 3589 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3590 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3591 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3592 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3593 | .erase = NULL, |
| 3594 | .block_erasers = |
| 3595 | { |
| 3596 | { |
| 3597 | .eraseblocks = { {4 * 1024, 512} }, |
| 3598 | .block_erase = spi_block_erase_20, |
| 3599 | }, { |
| 3600 | .eraseblocks = { {32 * 1024, 64} }, |
| 3601 | .block_erase = spi_block_erase_52, |
| 3602 | }, { |
| 3603 | .eraseblocks = { {64 * 1024, 32} }, |
| 3604 | .block_erase = spi_block_erase_d8, |
| 3605 | }, { |
| 3606 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3607 | .block_erase = spi_block_erase_60, |
| 3608 | }, { |
| 3609 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3610 | .block_erase = spi_block_erase_c7, |
| 3611 | }, |
| 3612 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3613 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3614 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3615 | }, |
| 3616 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3617 | { |
| 3618 | .vendor = "SST", |
| 3619 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3620 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3621 | .manufacture_id = SST_ID, |
| 3622 | .model_id = SST_25VF032B, |
| 3623 | .total_size = 4096, |
| 3624 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3625 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3626 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3627 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3628 | .erase = NULL, |
| 3629 | .block_erasers = |
| 3630 | { |
| 3631 | { |
| 3632 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3633 | .block_erase = spi_block_erase_20, |
| 3634 | }, { |
| 3635 | .eraseblocks = { {32 * 1024, 128} }, |
| 3636 | .block_erase = spi_block_erase_52, |
| 3637 | }, { |
| 3638 | .eraseblocks = { {64 * 1024, 64} }, |
| 3639 | .block_erase = spi_block_erase_d8, |
| 3640 | }, { |
| 3641 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3642 | .block_erase = spi_block_erase_60, |
| 3643 | }, { |
| 3644 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3645 | .block_erase = spi_block_erase_c7, |
| 3646 | }, |
| 3647 | }, |
| 3648 | .write = spi_chip_write_1, |
| 3649 | .read = spi_chip_read, |
| 3650 | }, |
| 3651 | |
| 3652 | { |
| 3653 | .vendor = "SST", |
| 3654 | .name = "SST25VF040.REMS", |
| 3655 | .bustype = CHIP_BUSTYPE_SPI, |
| 3656 | .manufacture_id = SST_ID, |
| 3657 | .model_id = SST_25VF040_REMS, |
| 3658 | .total_size = 512, |
| 3659 | .page_size = 256, |
| 3660 | .tested = TEST_OK_PR, |
| 3661 | .probe = probe_spi_rems, |
| 3662 | .probe_timing = TIMING_ZERO, |
| 3663 | .erase = NULL, |
| 3664 | .block_erasers = |
| 3665 | { |
| 3666 | { |
| 3667 | .eraseblocks = { {4 * 1024, 128} }, |
| 3668 | .block_erase = spi_block_erase_20, |
| 3669 | }, { |
| 3670 | .eraseblocks = { {32 * 1024, 16} }, |
| 3671 | .block_erase = spi_block_erase_52, |
| 3672 | }, { |
| 3673 | .eraseblocks = { {512 * 1024, 1} }, |
| 3674 | .block_erase = spi_block_erase_60, |
| 3675 | }, |
| 3676 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3677 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3678 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3679 | }, |
| 3680 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3681 | { |
| 3682 | .vendor = "SST", |
| 3683 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3684 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3685 | .manufacture_id = SST_ID, |
| 3686 | .model_id = SST_25VF040B, |
| 3687 | .total_size = 512, |
| 3688 | .page_size = 256, |
| 3689 | .tested = TEST_UNTESTED, |
| 3690 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3691 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3692 | .erase = NULL, |
| 3693 | .block_erasers = |
| 3694 | { |
| 3695 | { |
| 3696 | .eraseblocks = { {4 * 1024, 128} }, |
| 3697 | .block_erase = spi_block_erase_20, |
| 3698 | }, { |
| 3699 | .eraseblocks = { {32 * 1024, 16} }, |
| 3700 | .block_erase = spi_block_erase_52, |
| 3701 | }, { |
| 3702 | .eraseblocks = { {64 * 1024, 8} }, |
| 3703 | .block_erase = spi_block_erase_d8, |
| 3704 | }, { |
| 3705 | .eraseblocks = { {512 * 1024, 1} }, |
| 3706 | .block_erase = spi_block_erase_60, |
| 3707 | }, { |
| 3708 | .eraseblocks = { {512 * 1024, 1} }, |
| 3709 | .block_erase = spi_block_erase_c7, |
| 3710 | }, |
| 3711 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3712 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 3713 | .read = spi_chip_read, |
| 3714 | }, |
| 3715 | |
| 3716 | { |
| 3717 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3718 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3719 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3720 | .manufacture_id = SST_ID, |
| 3721 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3722 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3723 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3724 | .tested = TEST_OK_PR, |
| 3725 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3726 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3727 | .erase = NULL, |
| 3728 | .block_erasers = |
| 3729 | { |
| 3730 | { |
| 3731 | .eraseblocks = { {4 * 1024, 128} }, |
| 3732 | .block_erase = spi_block_erase_20, |
| 3733 | }, { |
| 3734 | .eraseblocks = { {32 * 1024, 16} }, |
| 3735 | .block_erase = spi_block_erase_52, |
| 3736 | }, { |
| 3737 | .eraseblocks = { {64 * 1024, 8} }, |
| 3738 | .block_erase = spi_block_erase_d8, |
| 3739 | }, { |
| 3740 | .eraseblocks = { {512 * 1024, 1} }, |
| 3741 | .block_erase = spi_block_erase_60, |
| 3742 | }, { |
| 3743 | .eraseblocks = { {512 * 1024, 1} }, |
| 3744 | .block_erase = spi_block_erase_c7, |
| 3745 | }, |
| 3746 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3747 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3748 | .read = spi_chip_read, |
| 3749 | }, |
| 3750 | |
| 3751 | { |
| 3752 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3753 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3754 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3755 | .manufacture_id = SST_ID, |
| 3756 | .model_id = SST_25VF080B, |
| 3757 | .total_size = 1024, |
| 3758 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3759 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3760 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3761 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3762 | .erase = NULL, |
| 3763 | .block_erasers = |
| 3764 | { |
| 3765 | { |
| 3766 | .eraseblocks = { {4 * 1024, 256} }, |
| 3767 | .block_erase = spi_block_erase_20, |
| 3768 | }, { |
| 3769 | .eraseblocks = { {32 * 1024, 32} }, |
| 3770 | .block_erase = spi_block_erase_52, |
| 3771 | }, { |
| 3772 | .eraseblocks = { {64 * 1024, 16} }, |
| 3773 | .block_erase = spi_block_erase_d8, |
| 3774 | }, { |
| 3775 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3776 | .block_erase = spi_block_erase_60, |
| 3777 | }, { |
| 3778 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3779 | .block_erase = spi_block_erase_c7, |
| 3780 | }, |
| 3781 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3782 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3783 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3784 | }, |
| 3785 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3786 | { |
| 3787 | .vendor = "SST", |
| 3788 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3789 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3790 | .manufacture_id = SST_ID, |
| 3791 | .model_id = SST_28SF040, |
| 3792 | .total_size = 512, |
| 3793 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3794 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3795 | .tested = TEST_UNTESTED, |
| 3796 | .probe = probe_28sf040, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3797 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3798 | .erase = NULL, |
| 3799 | .block_erasers = |
| 3800 | { |
| 3801 | { |
| 3802 | .eraseblocks = { {128, 4096} }, |
| 3803 | .block_erase = erase_sector_28sf040, |
| 3804 | }, { |
| 3805 | .eraseblocks = { {512 * 1024, 1} }, |
| 3806 | .block_erase = erase_chip_28sf040, |
| 3807 | } |
| 3808 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3809 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3810 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3811 | }, |
| 3812 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3813 | { |
| 3814 | .vendor = "SST", |
| 3815 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3816 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3817 | .manufacture_id = SST_ID, |
| 3818 | .model_id = SST_29EE010, |
| 3819 | .total_size = 128, |
| 3820 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3821 | .feature_bits = FEATURE_LONG_RESET, |
| 3822 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3823 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3824 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3825 | .erase = NULL, |
| 3826 | .block_erasers = |
| 3827 | { |
| 3828 | { |
| 3829 | .eraseblocks = { {128 * 1024, 1} }, |
| 3830 | .block_erase = erase_chip_block_jedec, |
| 3831 | } |
| 3832 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3833 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3834 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3835 | }, |
| 3836 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3837 | { |
| 3838 | .vendor = "SST", |
| 3839 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3840 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3841 | .manufacture_id = SST_ID, |
| 3842 | .model_id = SST_29LE010, |
| 3843 | .total_size = 128, |
| 3844 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3845 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3846 | .tested = TEST_UNTESTED, |
| 3847 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3848 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3849 | .erase = NULL, |
| 3850 | .block_erasers = |
| 3851 | { |
| 3852 | { |
| 3853 | .eraseblocks = { {128 * 1024, 1} }, |
| 3854 | .block_erase = erase_chip_block_jedec, |
| 3855 | } |
| 3856 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3857 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3858 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3859 | }, |
| 3860 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3861 | { |
| 3862 | .vendor = "SST", |
| 3863 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3864 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3865 | .manufacture_id = SST_ID, |
| 3866 | .model_id = SST_29EE020A, |
| 3867 | .total_size = 256, |
| 3868 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3869 | .feature_bits = FEATURE_LONG_RESET, |
| 3870 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3871 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3872 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3873 | .erase = NULL, |
| 3874 | .block_erasers = |
| 3875 | { |
| 3876 | { |
| 3877 | .eraseblocks = { {256 * 1024, 1} }, |
| 3878 | .block_erase = erase_chip_block_jedec, |
| 3879 | } |
| 3880 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3881 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3882 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3883 | }, |
| 3884 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3885 | { |
| 3886 | .vendor = "SST", |
| 3887 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3888 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3889 | .manufacture_id = SST_ID, |
| 3890 | .model_id = SST_29LE020, |
| 3891 | .total_size = 256, |
| 3892 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3893 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3894 | .tested = TEST_UNTESTED, |
| 3895 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3896 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3897 | .erase = NULL, |
| 3898 | .block_erasers = |
| 3899 | { |
| 3900 | { |
| 3901 | .eraseblocks = { {256 * 1024, 1} }, |
| 3902 | .block_erase = erase_chip_block_jedec, |
| 3903 | } |
| 3904 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3905 | .write = write_jedec, |
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", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3911 | .name = "SST39SF512", |
| 3912 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3913 | .manufacture_id = SST_ID, |
| 3914 | .model_id = SST_39SF512, |
| 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, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3919 | .probe = probe_jedec, |
| 3920 | .probe_timing = 1, /* 150 ns */ |
| 3921 | .erase = NULL, |
| 3922 | .block_erasers = |
| 3923 | { |
| 3924 | { |
| 3925 | .eraseblocks = { {4 * 1024, 16} }, |
| 3926 | .block_erase = erase_sector_jedec, |
| 3927 | }, { |
| 3928 | .eraseblocks = { {64 * 1024, 1} }, |
| 3929 | .block_erase = erase_chip_block_jedec, |
| 3930 | } |
| 3931 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3932 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3933 | .read = read_memmapped, |
| 3934 | }, |
| 3935 | |
| 3936 | { |
| 3937 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3938 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3939 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3940 | .manufacture_id = SST_ID, |
| 3941 | .model_id = SST_39SF010, |
| 3942 | .total_size = 128, |
| 3943 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3944 | .feature_bits = FEATURE_EITHER_RESET, |
| 3945 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3946 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3947 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3948 | .erase = NULL, |
| 3949 | .block_erasers = |
| 3950 | { |
| 3951 | { |
| 3952 | .eraseblocks = { {4 * 1024, 32} }, |
| 3953 | .block_erase = erase_sector_jedec, |
| 3954 | }, { |
| 3955 | .eraseblocks = { {128 * 1024, 1} }, |
| 3956 | .block_erase = erase_chip_block_jedec, |
| 3957 | } |
| 3958 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3959 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3960 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3961 | }, |
| 3962 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3963 | { |
| 3964 | .vendor = "SST", |
| 3965 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3966 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3967 | .manufacture_id = SST_ID, |
| 3968 | .model_id = SST_39SF020, |
| 3969 | .total_size = 256, |
| 3970 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3971 | .feature_bits = FEATURE_EITHER_RESET, |
| 3972 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3973 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3974 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3975 | .erase = NULL, |
| 3976 | .block_erasers = |
| 3977 | { |
| 3978 | { |
| 3979 | .eraseblocks = { {4 * 1024, 64} }, |
| 3980 | .block_erase = erase_sector_jedec, |
| 3981 | }, { |
| 3982 | .eraseblocks = { {256 * 1024, 1} }, |
| 3983 | .block_erase = erase_chip_block_jedec, |
| 3984 | } |
| 3985 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3986 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3987 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3988 | }, |
| 3989 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3990 | { |
| 3991 | .vendor = "SST", |
| 3992 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3993 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3994 | .manufacture_id = SST_ID, |
| 3995 | .model_id = SST_39SF040, |
| 3996 | .total_size = 512, |
| 3997 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3998 | .feature_bits = FEATURE_EITHER_RESET, |
| 3999 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4000 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4001 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4002 | .erase = NULL, |
| 4003 | .block_erasers = |
| 4004 | { |
| 4005 | { |
| 4006 | .eraseblocks = { {4 * 1024, 128} }, |
| 4007 | .block_erase = erase_sector_jedec, |
| 4008 | }, { |
| 4009 | .eraseblocks = { {512 * 1024, 1} }, |
| 4010 | .block_erase = erase_chip_block_jedec, |
| 4011 | } |
| 4012 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4013 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4014 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4015 | }, |
| 4016 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4017 | { |
| 4018 | .vendor = "SST", |
| 4019 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4020 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4021 | .manufacture_id = SST_ID, |
| 4022 | .model_id = SST_39VF512, |
| 4023 | .total_size = 64, |
| 4024 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4025 | .feature_bits = FEATURE_EITHER_RESET, |
| 4026 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4027 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4028 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4029 | .erase = NULL, |
| 4030 | .block_erasers = |
| 4031 | { |
| 4032 | { |
| 4033 | .eraseblocks = { {4 * 1024, 16} }, |
| 4034 | .block_erase = erase_sector_jedec, |
| 4035 | }, { |
| 4036 | .eraseblocks = { {64 * 1024, 1} }, |
| 4037 | .block_erase = erase_chip_block_jedec, |
| 4038 | } |
| 4039 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4040 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4041 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4042 | }, |
| 4043 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4044 | { |
| 4045 | .vendor = "SST", |
| 4046 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4047 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4048 | .manufacture_id = SST_ID, |
| 4049 | .model_id = SST_39VF010, |
| 4050 | .total_size = 128, |
| 4051 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4052 | .feature_bits = FEATURE_EITHER_RESET, |
| 4053 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4054 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4055 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4056 | .erase = NULL, |
| 4057 | .block_erasers = |
| 4058 | { |
| 4059 | { |
| 4060 | .eraseblocks = { {4 * 1024, 32} }, |
| 4061 | .block_erase = erase_sector_jedec, |
| 4062 | }, { |
| 4063 | .eraseblocks = { {128 * 1024, 1} }, |
| 4064 | .block_erase = erase_chip_block_jedec, |
| 4065 | } |
| 4066 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4067 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4068 | .read = read_memmapped, |
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 = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4074 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4075 | .manufacture_id = SST_ID, |
| 4076 | .model_id = SST_39VF020, |
| 4077 | .total_size = 256, |
| 4078 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4079 | .feature_bits = FEATURE_EITHER_RESET, |
| 4080 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4081 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4082 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4083 | .erase = NULL, |
| 4084 | .block_erasers = |
| 4085 | { |
| 4086 | { |
| 4087 | .eraseblocks = { {4 * 1024, 64} }, |
| 4088 | .block_erase = erase_sector_jedec, |
| 4089 | }, { |
| 4090 | .eraseblocks = { {256 * 1024, 1} }, |
| 4091 | .block_erase = erase_chip_block_jedec, |
| 4092 | } |
| 4093 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4094 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4095 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4096 | }, |
| 4097 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4098 | { |
| 4099 | .vendor = "SST", |
| 4100 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4101 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4102 | .manufacture_id = SST_ID, |
| 4103 | .model_id = SST_39VF040, |
| 4104 | .total_size = 512, |
| 4105 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4106 | .feature_bits = FEATURE_EITHER_RESET, |
| 4107 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4108 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4109 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4110 | .erase = NULL, |
| 4111 | .block_erasers = |
| 4112 | { |
| 4113 | { |
| 4114 | .eraseblocks = { {4 * 1024, 128} }, |
| 4115 | .block_erase = erase_sector_jedec, |
| 4116 | }, { |
| 4117 | .eraseblocks = { {512 * 1024, 1} }, |
| 4118 | .block_erase = erase_chip_block_jedec, |
| 4119 | } |
| 4120 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4121 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4122 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4123 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4124 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4125 | { |
| 4126 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4127 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4128 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4129 | .manufacture_id = SST_ID, |
| 4130 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4131 | .total_size = 1024, |
| 4132 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4133 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4134 | .tested = TEST_UNTESTED, |
| 4135 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4136 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4137 | .erase = NULL, |
| 4138 | .block_erasers = |
| 4139 | { |
| 4140 | { |
| 4141 | .eraseblocks = { {4 * 1024, 256} }, |
| 4142 | .block_erase = erase_sector_jedec, |
| 4143 | }, { |
| 4144 | .eraseblocks = { {64 * 1024, 16} }, |
| 4145 | .block_erase = erase_block_jedec, |
| 4146 | }, { |
| 4147 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4148 | .block_erase = erase_chip_block_jedec, |
| 4149 | } |
| 4150 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4151 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4152 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4153 | }, |
| 4154 | |
| 4155 | { |
| 4156 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4157 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4158 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4159 | .manufacture_id = SST_ID, |
| 4160 | .model_id = SST_49LF002A, |
| 4161 | .total_size = 256, |
| 4162 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4163 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4164 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4165 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4166 | .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] | 4167 | .erase = NULL, |
| 4168 | .block_erasers = |
| 4169 | { |
| 4170 | { |
| 4171 | .eraseblocks = { {4 * 1024, 64} }, |
| 4172 | .block_erase = erase_sst_fwhub_sector, |
| 4173 | }, { |
| 4174 | .eraseblocks = { {16 * 1024, 16} }, |
| 4175 | .block_erase = erase_sst_fwhub_block, |
| 4176 | }, { |
| 4177 | .eraseblocks = { {256 * 1024, 1} }, |
| 4178 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4179 | } |
| 4180 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4181 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4182 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4183 | }, |
| 4184 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4185 | { |
| 4186 | .vendor = "SST", |
| 4187 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4188 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4189 | .manufacture_id = SST_ID, |
| 4190 | .model_id = SST_49LF003A, |
| 4191 | .total_size = 384, |
| 4192 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4193 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4194 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4195 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4196 | .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] | 4197 | .erase = NULL, |
| 4198 | .block_erasers = |
| 4199 | { |
| 4200 | { |
| 4201 | .eraseblocks = { {4 * 1024, 96} }, |
| 4202 | .block_erase = erase_sst_fwhub_sector, |
| 4203 | }, { |
| 4204 | .eraseblocks = { {64 * 1024, 6} }, |
| 4205 | .block_erase = erase_sst_fwhub_block, |
| 4206 | }, { |
| 4207 | .eraseblocks = { {384 * 1024, 1} }, |
| 4208 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4209 | } |
| 4210 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4211 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4212 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4213 | }, |
| 4214 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4215 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4216 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4217 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4218 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4219 | .vendor = "SST", |
| 4220 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4221 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4222 | .manufacture_id = SST_ID, |
| 4223 | .model_id = SST_49LF004A, |
| 4224 | .total_size = 512, |
| 4225 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4226 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4227 | .tested = TEST_OK_PREW, |
| 4228 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4229 | .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] | 4230 | .erase = NULL, |
| 4231 | .block_erasers = |
| 4232 | { |
| 4233 | { |
| 4234 | .eraseblocks = { {4 * 1024, 128} }, |
| 4235 | .block_erase = erase_sector_jedec, /* missing unlock */ |
| 4236 | }, { |
| 4237 | .eraseblocks = { {64 * 1024, 8} }, |
Carl-Daniel Hailfinger | 11c9e68 | 2009-11-06 18:09:42 +0000 | [diff] [blame] | 4238 | .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] | 4239 | }, { |
| 4240 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4241 | .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] | 4242 | }, |
| 4243 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4244 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4245 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4246 | }, |
| 4247 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4248 | { |
| 4249 | .vendor = "SST", |
| 4250 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4251 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4252 | .manufacture_id = SST_ID, |
| 4253 | .model_id = SST_49LF004C, |
| 4254 | .total_size = 512, |
| 4255 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4256 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4257 | .tested = TEST_UNTESTED, |
| 4258 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4259 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4260 | .erase = NULL, |
| 4261 | .block_erasers = |
| 4262 | { |
| 4263 | { |
| 4264 | .eraseblocks = { {4 * 1024, 128} }, |
| 4265 | .block_erase = erase_sector_49lfxxxc, |
| 4266 | }, { |
| 4267 | .eraseblocks = { |
| 4268 | {64 * 1024, 7}, |
| 4269 | {32 * 1024, 1}, |
| 4270 | {8 * 1024, 2}, |
| 4271 | {16 * 1024, 1}, |
| 4272 | }, |
| 4273 | .block_erase = erase_block_49lfxxxc, |
| 4274 | } |
| 4275 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4276 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4277 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4278 | }, |
| 4279 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4280 | { |
| 4281 | .vendor = "SST", |
| 4282 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4283 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4284 | .manufacture_id = SST_ID, |
| 4285 | .model_id = SST_49LF008A, |
| 4286 | .total_size = 1024, |
| 4287 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4288 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4289 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4290 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4291 | .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] | 4292 | .erase = NULL, |
| 4293 | .block_erasers = |
| 4294 | { |
| 4295 | { |
| 4296 | .eraseblocks = { {4 * 1024, 256} }, |
| 4297 | .block_erase = erase_sst_fwhub_sector, |
| 4298 | }, { |
| 4299 | .eraseblocks = { {64 * 1024, 16} }, |
| 4300 | .block_erase = erase_sst_fwhub_block, |
| 4301 | }, { |
| 4302 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4303 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4304 | } |
| 4305 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4306 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4307 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4308 | }, |
| 4309 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4310 | { |
| 4311 | .vendor = "SST", |
| 4312 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4313 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4314 | .manufacture_id = SST_ID, |
| 4315 | .model_id = SST_49LF008C, |
| 4316 | .total_size = 1024, |
| 4317 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4318 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4319 | .tested = TEST_UNTESTED, |
| 4320 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4321 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4322 | .erase = NULL, |
| 4323 | .block_erasers = |
| 4324 | { |
| 4325 | { |
| 4326 | .eraseblocks = { {4 * 1024, 256} }, |
| 4327 | .block_erase = erase_sector_49lfxxxc, |
| 4328 | }, { |
| 4329 | .eraseblocks = { |
| 4330 | {64 * 1024, 15}, |
| 4331 | {32 * 1024, 1}, |
| 4332 | {8 * 1024, 2}, |
| 4333 | {16 * 1024, 1}, |
| 4334 | }, |
| 4335 | .block_erase = erase_block_49lfxxxc, |
| 4336 | } |
| 4337 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4338 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4339 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4340 | }, |
| 4341 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4342 | { |
| 4343 | .vendor = "SST", |
| 4344 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4345 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4346 | .manufacture_id = SST_ID, |
| 4347 | .model_id = SST_49LF016C, |
| 4348 | .total_size = 2048, |
| 4349 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4350 | .feature_bits = 0, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4351 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4352 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4353 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4354 | .erase = NULL, |
| 4355 | .block_erasers = |
| 4356 | { |
| 4357 | { |
| 4358 | .eraseblocks = { {4 * 1024, 512} }, |
| 4359 | .block_erase = erase_sector_49lfxxxc, |
| 4360 | }, { |
| 4361 | .eraseblocks = { |
| 4362 | {64 * 1024, 31}, |
| 4363 | {32 * 1024, 1}, |
| 4364 | {8 * 1024, 2}, |
| 4365 | {16 * 1024, 1}, |
| 4366 | }, |
| 4367 | .block_erase = erase_block_49lfxxxc, |
| 4368 | } |
| 4369 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4370 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4371 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4372 | }, |
| 4373 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4374 | { |
| 4375 | .vendor = "SST", |
| 4376 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4377 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4378 | .manufacture_id = SST_ID, |
| 4379 | .model_id = SST_49LF020, |
| 4380 | .total_size = 256, |
| 4381 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4382 | .feature_bits = FEATURE_EITHER_RESET, |
| 4383 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4384 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4385 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4386 | .erase = NULL, |
| 4387 | .block_erasers = |
| 4388 | { |
| 4389 | { |
| 4390 | .eraseblocks = { {4 * 1024, 64} }, |
| 4391 | .block_erase = erase_sector_jedec, |
| 4392 | }, { |
| 4393 | .eraseblocks = { {16 * 1024, 16} }, |
| 4394 | .block_erase = erase_block_jedec, |
| 4395 | }, { |
| 4396 | .eraseblocks = { {256 * 1024, 1} }, |
| 4397 | .block_erase = NULL, |
| 4398 | } |
| 4399 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4400 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4401 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 4402 | }, |
| 4403 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4404 | { |
| 4405 | .vendor = "SST", |
| 4406 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4407 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4408 | .manufacture_id = SST_ID, |
| 4409 | .model_id = SST_49LF020A, |
| 4410 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 4411 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4412 | .feature_bits = FEATURE_EITHER_RESET, |
| 4413 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4414 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4415 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4416 | .erase = NULL, |
| 4417 | .block_erasers = |
| 4418 | { |
| 4419 | { |
| 4420 | .eraseblocks = { {4 * 1024, 64} }, |
| 4421 | .block_erase = erase_sector_jedec, |
| 4422 | }, { |
| 4423 | .eraseblocks = { {16 * 1024, 16} }, |
| 4424 | .block_erase = erase_block_jedec, |
| 4425 | }, { |
| 4426 | .eraseblocks = { {256 * 1024, 1} }, |
| 4427 | .block_erase = NULL, |
| 4428 | } |
| 4429 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4430 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4431 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4432 | }, |
| 4433 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4434 | { |
| 4435 | .vendor = "SST", |
| 4436 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4437 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4438 | .manufacture_id = SST_ID, |
| 4439 | .model_id = SST_49LF040, |
| 4440 | .total_size = 512, |
| 4441 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4442 | .feature_bits = FEATURE_EITHER_RESET, |
| 4443 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4444 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4445 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4446 | .erase = NULL, |
| 4447 | .block_erasers = |
| 4448 | { |
| 4449 | { |
| 4450 | .eraseblocks = { {4 * 1024, 128} }, |
| 4451 | .block_erase = erase_sector_jedec, |
| 4452 | }, { |
| 4453 | .eraseblocks = { {64 * 1024, 8} }, |
| 4454 | .block_erase = erase_block_jedec, |
| 4455 | }, { |
| 4456 | .eraseblocks = { {512 * 1024, 1} }, |
| 4457 | .block_erase = NULL, |
| 4458 | } |
| 4459 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4460 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4461 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4462 | }, |
| 4463 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4464 | { |
| 4465 | .vendor = "SST", |
| 4466 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4467 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4468 | .manufacture_id = SST_ID, |
| 4469 | .model_id = SST_49LF040B, |
| 4470 | .total_size = 512, |
| 4471 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4472 | .feature_bits = FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4473 | .tested = TEST_UNTESTED, |
| 4474 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4475 | .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] | 4476 | .erase = NULL, |
| 4477 | .block_erasers = |
| 4478 | { |
| 4479 | { |
| 4480 | .eraseblocks = { {4 * 1024, 128} }, |
| 4481 | .block_erase = erase_sector_jedec, |
| 4482 | }, { |
| 4483 | .eraseblocks = { {64 * 1024, 8} }, |
| 4484 | .block_erase = erase_block_jedec, |
| 4485 | }, { |
| 4486 | .eraseblocks = { {512 * 1024, 1} }, |
| 4487 | .block_erase = NULL, |
| 4488 | } |
| 4489 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4490 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4491 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4492 | }, |
| 4493 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4494 | { |
| 4495 | .vendor = "SST", |
| 4496 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4497 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4498 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4499 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4500 | .total_size = 1024, |
| 4501 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4502 | .feature_bits = FEATURE_EITHER_RESET, |
| 4503 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4504 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4505 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4506 | .erase = NULL, |
| 4507 | .block_erasers = |
| 4508 | { |
| 4509 | { |
| 4510 | .eraseblocks = { {4 * 1024, 256} }, |
| 4511 | .block_erase = erase_sector_jedec, |
| 4512 | }, { |
| 4513 | .eraseblocks = { {64 * 1024, 16} }, |
| 4514 | .block_erase = erase_block_jedec, |
| 4515 | }, { |
| 4516 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4517 | .block_erase = NULL, |
| 4518 | } |
| 4519 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4520 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4521 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4522 | }, |
| 4523 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4524 | { |
| 4525 | .vendor = "SST", |
| 4526 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4527 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4528 | .manufacture_id = SST_ID, |
| 4529 | .model_id = SST_49LF160C, |
| 4530 | .total_size = 2048, |
| 4531 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4532 | .feature_bits = 0, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4533 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4534 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4535 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4536 | .erase = erase_49lfxxxc, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4537 | .erase = NULL, |
| 4538 | .block_erasers = |
| 4539 | { |
| 4540 | { |
| 4541 | .eraseblocks = { {4 * 1024, 512} }, |
| 4542 | .block_erase = erase_sector_49lfxxxc, |
| 4543 | }, { |
| 4544 | .eraseblocks = { |
| 4545 | {64 * 1024, 31}, |
| 4546 | {32 * 1024, 1}, |
| 4547 | {8 * 1024, 2}, |
| 4548 | {16 * 1024, 1}, |
| 4549 | }, |
| 4550 | .block_erase = erase_block_49lfxxxc, |
| 4551 | } |
| 4552 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4553 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4554 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4555 | }, |
| 4556 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4557 | { |
| 4558 | .vendor = "ST", |
| 4559 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4560 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4561 | .manufacture_id = ST_ID, |
| 4562 | .model_id = ST_M25P05A, |
| 4563 | .total_size = 64, |
| 4564 | .page_size = 256, |
| 4565 | .tested = TEST_UNTESTED, |
| 4566 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4567 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4568 | .erase = NULL, |
| 4569 | .block_erasers = |
| 4570 | { |
| 4571 | { |
| 4572 | .eraseblocks = { {32 * 1024, 2} }, |
| 4573 | .block_erase = spi_block_erase_d8, |
| 4574 | }, { |
| 4575 | .eraseblocks = { {64 * 1024, 1} }, |
| 4576 | .block_erase = spi_block_erase_c7, |
| 4577 | } |
| 4578 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4579 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4580 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4581 | }, |
| 4582 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4583 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 4584 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
| 4585 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res |
| 4586 | * only is successful if RDID does not work. |
| 4587 | */ |
| 4588 | { |
| 4589 | .vendor = "ST", |
| 4590 | .name = "M25P05.RES", |
| 4591 | .bustype = CHIP_BUSTYPE_SPI, |
| 4592 | .manufacture_id = ST_ID, |
| 4593 | .model_id = ST_M25P05_RES, |
| 4594 | .total_size = 64, |
| 4595 | .page_size = 256, |
| 4596 | .tested = TEST_UNTESTED, |
| 4597 | .probe = probe_spi_res, |
| 4598 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4599 | .erase = NULL, |
| 4600 | .block_erasers = |
| 4601 | { |
| 4602 | { |
| 4603 | .eraseblocks = { {32 * 1024, 2} }, |
| 4604 | .block_erase = spi_block_erase_d8, |
| 4605 | }, { |
| 4606 | .eraseblocks = { {64 * 1024, 1} }, |
| 4607 | .block_erase = spi_block_erase_c7, |
| 4608 | } |
| 4609 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4610 | .write = spi_chip_write_1, /* 128 */ |
| 4611 | .read = spi_chip_read, |
| 4612 | }, |
| 4613 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4614 | { |
| 4615 | .vendor = "ST", |
| 4616 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4617 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4618 | .manufacture_id = ST_ID, |
| 4619 | .model_id = ST_M25P10A, |
| 4620 | .total_size = 128, |
| 4621 | .page_size = 256, |
| 4622 | .tested = TEST_UNTESTED, |
| 4623 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4624 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4625 | .erase = NULL, |
| 4626 | .block_erasers = |
| 4627 | { |
| 4628 | { |
| 4629 | .eraseblocks = { {32 * 1024, 4} }, |
| 4630 | .block_erase = spi_block_erase_d8, |
| 4631 | }, { |
| 4632 | .eraseblocks = { {128 * 1024, 1} }, |
| 4633 | .block_erase = spi_block_erase_c7, |
| 4634 | } |
| 4635 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4636 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4637 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4638 | }, |
| 4639 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4640 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 4641 | { |
| 4642 | .vendor = "ST", |
| 4643 | .name = "M25P10.RES", |
| 4644 | .bustype = CHIP_BUSTYPE_SPI, |
| 4645 | .manufacture_id = ST_ID, |
| 4646 | .model_id = ST_M25P10_RES, |
| 4647 | .total_size = 128, |
| 4648 | .page_size = 256, |
| 4649 | .tested = TEST_UNTESTED, |
| 4650 | .probe = probe_spi_res, |
| 4651 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4652 | .erase = NULL, |
| 4653 | .block_erasers = |
| 4654 | { |
| 4655 | { |
| 4656 | .eraseblocks = { {32 * 1024, 4} }, |
| 4657 | .block_erase = spi_block_erase_d8, |
| 4658 | }, { |
| 4659 | .eraseblocks = { {128 * 1024, 1} }, |
| 4660 | .block_erase = spi_block_erase_c7, |
| 4661 | } |
| 4662 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4663 | .write = spi_chip_write_1, /* 128 */ |
| 4664 | .read = spi_chip_read, |
| 4665 | }, |
| 4666 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4667 | { |
| 4668 | .vendor = "ST", |
| 4669 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4670 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4671 | .manufacture_id = ST_ID, |
| 4672 | .model_id = ST_M25P20, |
| 4673 | .total_size = 256, |
| 4674 | .page_size = 256, |
| 4675 | .tested = TEST_UNTESTED, |
| 4676 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4677 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4678 | .erase = NULL, |
| 4679 | .block_erasers = |
| 4680 | { |
| 4681 | { |
| 4682 | .eraseblocks = { {64 * 1024, 4} }, |
| 4683 | .block_erase = spi_block_erase_d8, |
| 4684 | }, { |
| 4685 | .eraseblocks = { {256 * 1024, 1} }, |
| 4686 | .block_erase = spi_block_erase_c7, |
| 4687 | } |
| 4688 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4689 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4690 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4691 | }, |
| 4692 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4693 | { |
| 4694 | .vendor = "ST", |
| 4695 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4696 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4697 | .manufacture_id = ST_ID, |
| 4698 | .model_id = ST_M25P40, |
| 4699 | .total_size = 512, |
| 4700 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4701 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4702 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4703 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4704 | .erase = NULL, |
| 4705 | .block_erasers = |
| 4706 | { |
| 4707 | { |
| 4708 | .eraseblocks = { {64 * 1024, 8} }, |
| 4709 | .block_erase = spi_block_erase_d8, |
| 4710 | }, { |
| 4711 | .eraseblocks = { {512 * 1024, 1} }, |
| 4712 | .block_erase = spi_block_erase_c7, |
| 4713 | } |
| 4714 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4715 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4716 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4717 | }, |
| 4718 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4719 | { |
| 4720 | .vendor = "ST", |
| 4721 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4722 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4723 | .manufacture_id = ST_ID, |
| 4724 | .model_id = ST_M25P40_RES, |
| 4725 | .total_size = 512, |
| 4726 | .page_size = 256, |
| 4727 | .tested = TEST_UNTESTED, |
| 4728 | .probe = probe_spi_res, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4729 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4730 | .erase = NULL, |
| 4731 | .block_erasers = |
| 4732 | { |
| 4733 | { |
| 4734 | .eraseblocks = { {64 * 1024, 8} }, |
| 4735 | .block_erase = spi_block_erase_d8, |
| 4736 | }, { |
| 4737 | .eraseblocks = { {512 * 1024, 1} }, |
| 4738 | .block_erase = spi_block_erase_c7, |
| 4739 | } |
| 4740 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4741 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4742 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4743 | }, |
| 4744 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4745 | { |
| 4746 | .vendor = "ST", |
| 4747 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4748 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4749 | .manufacture_id = ST_ID, |
| 4750 | .model_id = ST_M25P80, |
| 4751 | .total_size = 1024, |
| 4752 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4753 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4754 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4755 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4756 | .erase = NULL, |
| 4757 | .block_erasers = |
| 4758 | { |
| 4759 | { |
| 4760 | .eraseblocks = { {64 * 1024, 16} }, |
| 4761 | .block_erase = spi_block_erase_d8, |
| 4762 | }, { |
| 4763 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4764 | .block_erase = spi_block_erase_c7, |
| 4765 | } |
| 4766 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4767 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4768 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4769 | }, |
| 4770 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4771 | { |
| 4772 | .vendor = "ST", |
| 4773 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4774 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4775 | .manufacture_id = ST_ID, |
| 4776 | .model_id = ST_M25P16, |
| 4777 | .total_size = 2048, |
| 4778 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4779 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4780 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4781 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4782 | .erase = NULL, |
| 4783 | .block_erasers = |
| 4784 | { |
| 4785 | { |
| 4786 | .eraseblocks = { {64 * 1024, 32} }, |
| 4787 | .block_erase = spi_block_erase_d8, |
| 4788 | }, { |
| 4789 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4790 | .block_erase = spi_block_erase_c7, |
| 4791 | } |
| 4792 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4793 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4794 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4795 | }, |
| 4796 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4797 | { |
| 4798 | .vendor = "ST", |
| 4799 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4800 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4801 | .manufacture_id = ST_ID, |
| 4802 | .model_id = ST_M25P32, |
| 4803 | .total_size = 4096, |
| 4804 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4805 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4806 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4807 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4808 | .erase = NULL, |
| 4809 | .block_erasers = |
| 4810 | { |
| 4811 | { |
| 4812 | .eraseblocks = { {64 * 1024, 64} }, |
| 4813 | .block_erase = spi_block_erase_d8, |
| 4814 | }, { |
| 4815 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4816 | .block_erase = spi_block_erase_c7, |
| 4817 | } |
| 4818 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4819 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4820 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4821 | }, |
| 4822 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4823 | { |
| 4824 | .vendor = "ST", |
| 4825 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4826 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4827 | .manufacture_id = ST_ID, |
| 4828 | .model_id = ST_M25P64, |
| 4829 | .total_size = 8192, |
| 4830 | .page_size = 256, |
| 4831 | .tested = TEST_UNTESTED, |
| 4832 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4833 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4834 | .erase = NULL, |
| 4835 | .block_erasers = |
| 4836 | { |
| 4837 | { |
| 4838 | .eraseblocks = { {64 * 1024, 128} }, |
| 4839 | .block_erase = spi_block_erase_d8, |
| 4840 | }, { |
| 4841 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4842 | .block_erase = spi_block_erase_c7, |
| 4843 | } |
| 4844 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4845 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4846 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4847 | }, |
| 4848 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4849 | { |
| 4850 | .vendor = "ST", |
| 4851 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4852 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4853 | .manufacture_id = ST_ID, |
| 4854 | .model_id = ST_M25P128, |
| 4855 | .total_size = 16384, |
| 4856 | .page_size = 256, |
| 4857 | .tested = TEST_UNTESTED, |
| 4858 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4859 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4860 | .erase = NULL, |
| 4861 | .block_erasers = |
| 4862 | { |
| 4863 | { |
| 4864 | .eraseblocks = { {256 * 1024, 64} }, |
| 4865 | .block_erase = spi_block_erase_d8, |
| 4866 | }, { |
| 4867 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4868 | .block_erase = spi_block_erase_c7, |
| 4869 | } |
| 4870 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4871 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4872 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4873 | }, |
| 4874 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4875 | { |
| 4876 | .vendor = "ST", |
| 4877 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4878 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4879 | .manufacture_id = ST_ID, |
| 4880 | .model_id = ST_M29F002B, |
| 4881 | .total_size = 256, |
| 4882 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4883 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4884 | .tested = TEST_UNTESTED, |
| 4885 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4886 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4887 | .erase = NULL, |
| 4888 | .block_erasers = |
| 4889 | { |
| 4890 | { |
| 4891 | .eraseblocks = { |
| 4892 | {16 * 1024, 1}, |
| 4893 | {8 * 1024, 2}, |
| 4894 | {32 * 1024, 1}, |
| 4895 | {64 * 1024, 3}, |
| 4896 | }, |
| 4897 | .block_erase = erase_sector_jedec, |
| 4898 | }, { |
| 4899 | .eraseblocks = { {256 * 1024, 1} }, |
| 4900 | .block_erase = erase_chip_block_jedec, |
| 4901 | } |
| 4902 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4903 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4904 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4905 | }, |
| 4906 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4907 | { |
| 4908 | .vendor = "ST", |
| 4909 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4910 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4911 | .manufacture_id = ST_ID, |
| 4912 | .model_id = ST_M29F002T, |
| 4913 | .total_size = 256, |
| 4914 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4915 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 4916 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4917 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4918 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4919 | .erase = NULL, |
| 4920 | .block_erasers = |
| 4921 | { |
| 4922 | { |
| 4923 | .eraseblocks = { |
| 4924 | {64 * 1024, 3}, |
| 4925 | {32 * 1024, 1}, |
| 4926 | {8 * 1024, 2}, |
| 4927 | {16 * 1024, 1}, |
| 4928 | }, |
| 4929 | .block_erase = erase_sector_jedec, |
| 4930 | }, { |
| 4931 | .eraseblocks = { {256 * 1024, 1} }, |
| 4932 | .block_erase = erase_chip_block_jedec, |
| 4933 | } |
| 4934 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4935 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4936 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4937 | }, |
| 4938 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4939 | { |
| 4940 | .vendor = "ST", |
| 4941 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4942 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4943 | .manufacture_id = ST_ID, |
| 4944 | .model_id = ST_M29F040B, |
| 4945 | .total_size = 512, |
| 4946 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4947 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4948 | .tested = TEST_UNTESTED, |
| 4949 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4950 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4951 | .erase = NULL, |
| 4952 | .block_erasers = |
| 4953 | { |
| 4954 | { |
| 4955 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4956 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4957 | }, { |
| 4958 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4959 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4960 | } |
| 4961 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4962 | .write = write_jedec_1, |
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 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4967 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4968 | .vendor = "ST", |
| 4969 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4970 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4971 | .manufacture_id = ST_ID, |
| 4972 | .model_id = ST_M29F400BT, |
| 4973 | .total_size = 512, |
| 4974 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4975 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4976 | .tested = TEST_UNTESTED, |
| 4977 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4978 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4979 | .erase = NULL, |
| 4980 | .block_erasers = |
| 4981 | { |
| 4982 | { |
| 4983 | .eraseblocks = { |
| 4984 | {64 * 1024, 7}, |
| 4985 | {32 * 1024, 1}, |
| 4986 | {8 * 1024, 2}, |
| 4987 | {16 * 1024, 1}, |
| 4988 | }, |
| 4989 | .block_erase = block_erase_m29f400bt, |
| 4990 | }, { |
| 4991 | .eraseblocks = { {512 * 1024, 1} }, |
| 4992 | .block_erase = block_erase_chip_m29f400bt, |
| 4993 | } |
| 4994 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4995 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4996 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4997 | }, |
| 4998 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4999 | { |
| 5000 | .vendor = "ST", |
| 5001 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5002 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5003 | .manufacture_id = ST_ID, |
| 5004 | .model_id = ST_M29W010B, |
| 5005 | .total_size = 128, |
| 5006 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5007 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5008 | .tested = TEST_UNTESTED, |
| 5009 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5010 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5011 | .erase = NULL, |
| 5012 | .block_erasers = |
| 5013 | { |
| 5014 | { |
| 5015 | .eraseblocks = { {16 * 1024, 8}, }, |
| 5016 | .block_erase = erase_sector_jedec, |
| 5017 | }, { |
| 5018 | .eraseblocks = { {128 * 1024, 1} }, |
| 5019 | .block_erase = erase_chip_block_jedec, |
| 5020 | } |
| 5021 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5022 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5023 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5024 | }, |
| 5025 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5026 | { |
| 5027 | .vendor = "ST", |
| 5028 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5029 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5030 | .manufacture_id = ST_ID, |
| 5031 | .model_id = ST_M29W040B, |
| 5032 | .total_size = 512, |
| 5033 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5034 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5035 | .tested = TEST_UNTESTED, |
| 5036 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5037 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5038 | .erase = NULL, |
| 5039 | .block_erasers = |
| 5040 | { |
| 5041 | { |
| 5042 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5043 | .block_erase = erase_sector_jedec, |
| 5044 | }, { |
| 5045 | .eraseblocks = { {512 * 1024, 1} }, |
| 5046 | .block_erase = erase_chip_block_jedec, |
| 5047 | } |
| 5048 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5049 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5050 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5051 | }, |
| 5052 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 5053 | { |
| 5054 | .vendor = "ST", |
| 5055 | .name = "M29W512B", |
| 5056 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5057 | .manufacture_id = ST_ID, |
| 5058 | .model_id = ST_M29W512B, |
| 5059 | .total_size = 64, |
| 5060 | .page_size = 64 * 1024, |
| 5061 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 5062 | .tested = TEST_OK_PREW, |
| 5063 | .probe = probe_jedec, |
| 5064 | .probe_timing = TIMING_ZERO, |
| 5065 | .erase = NULL, |
| 5066 | .block_erasers = |
| 5067 | { |
| 5068 | { |
| 5069 | .eraseblocks = { {64 * 1024, 1} }, |
| 5070 | .block_erase = erase_chip_block_jedec, |
| 5071 | } |
| 5072 | }, |
| 5073 | .write = write_jedec_1, |
| 5074 | .read = read_memmapped, |
| 5075 | }, |
| 5076 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5077 | { |
| 5078 | .vendor = "ST", |
| 5079 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5080 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5081 | .manufacture_id = ST_ID, |
| 5082 | .model_id = ST_M50FLW040A, |
| 5083 | .total_size = 512, |
| 5084 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5085 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5086 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5087 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5088 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5089 | .erase = NULL, |
| 5090 | .block_erasers = |
| 5091 | { |
| 5092 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5093 | .eraseblocks = { |
| 5094 | {4 * 1024, 16}, /* sector */ |
| 5095 | {64 * 1024, 5}, /* block */ |
| 5096 | {4 * 1024, 16}, /* sector */ |
| 5097 | {4 * 1024, 16}, /* sector */ |
| 5098 | }, |
| 5099 | .block_erase = NULL, |
| 5100 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5101 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5102 | .block_erase = erase_block_stm50flw0x0x, |
| 5103 | }, { |
| 5104 | .eraseblocks = { {512 * 1024, 1} }, |
| 5105 | .block_erase = erase_chip_stm50flw0x0x, |
| 5106 | } |
| 5107 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5108 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5109 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5110 | }, |
| 5111 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5112 | { |
| 5113 | .vendor = "ST", |
| 5114 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5115 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5116 | .manufacture_id = ST_ID, |
| 5117 | .model_id = ST_M50FLW040B, |
| 5118 | .total_size = 512, |
| 5119 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5120 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5121 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5122 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5123 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5124 | .erase = NULL, |
| 5125 | .block_erasers = |
| 5126 | { |
| 5127 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5128 | .eraseblocks = { |
| 5129 | {4 * 1024, 16}, /* sector */ |
| 5130 | {4 * 1024, 16}, /* sector */ |
| 5131 | {64 * 1024, 5}, /* block */ |
| 5132 | {4 * 1024, 16}, /* sector */ |
| 5133 | }, |
| 5134 | .block_erase = NULL, |
| 5135 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5136 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5137 | .block_erase = erase_block_stm50flw0x0x, |
| 5138 | }, { |
| 5139 | .eraseblocks = { {512 * 1024, 1} }, |
| 5140 | .block_erase = erase_chip_stm50flw0x0x, |
| 5141 | } |
| 5142 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5143 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5145 | }, |
| 5146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5147 | { |
| 5148 | .vendor = "ST", |
| 5149 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5150 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5151 | .manufacture_id = ST_ID, |
| 5152 | .model_id = ST_M50FLW080A, |
| 5153 | .total_size = 1024, |
| 5154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5155 | .feature_bits = 0, |
| 5156 | .tested = TEST_UNTESTED, |
| 5157 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5158 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5159 | .erase = NULL, |
| 5160 | .block_erasers = |
| 5161 | { |
| 5162 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5163 | .eraseblocks = { |
| 5164 | {4 * 1024, 16}, /* sector */ |
| 5165 | {64 * 1024, 13}, /* block */ |
| 5166 | {4 * 1024, 16}, /* sector */ |
| 5167 | {4 * 1024, 16}, /* sector */ |
| 5168 | }, |
| 5169 | .block_erase = NULL, |
| 5170 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5171 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5172 | .block_erase = erase_block_stm50flw0x0x, |
| 5173 | }, { |
| 5174 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5175 | .block_erase = erase_chip_stm50flw0x0x, |
| 5176 | } |
| 5177 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5178 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5179 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5180 | }, |
| 5181 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5182 | { |
| 5183 | .vendor = "ST", |
| 5184 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5185 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5186 | .manufacture_id = ST_ID, |
| 5187 | .model_id = ST_M50FLW080B, |
| 5188 | .total_size = 1024, |
| 5189 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5190 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5191 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5192 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5193 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5194 | .erase = NULL, |
| 5195 | .block_erasers = |
| 5196 | { |
| 5197 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5198 | .eraseblocks = { |
| 5199 | {4 * 1024, 16}, /* sector */ |
| 5200 | {4 * 1024, 16}, /* sector */ |
| 5201 | {64 * 1024, 13}, /* block */ |
| 5202 | {4 * 1024, 16}, /* sector */ |
| 5203 | }, |
| 5204 | .block_erase = NULL, |
| 5205 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5206 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5207 | .block_erase = erase_block_stm50flw0x0x, |
| 5208 | }, { |
| 5209 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5210 | .block_erase = erase_chip_stm50flw0x0x, |
| 5211 | } |
| 5212 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5213 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5214 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5215 | }, |
| 5216 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5217 | { |
| 5218 | .vendor = "ST", |
| 5219 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5220 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5221 | .manufacture_id = ST_ID, |
| 5222 | .model_id = ST_M50FW002, |
| 5223 | .total_size = 256, |
| 5224 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5225 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5226 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5227 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5228 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5229 | .erase = NULL, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5230 | .block_erasers = |
| 5231 | { |
| 5232 | { |
| 5233 | .eraseblocks = { |
| 5234 | {64 * 1024, 3}, |
| 5235 | {32 * 1024, 1}, |
| 5236 | {8 * 1024, 2}, |
| 5237 | {16 * 1024, 1}, |
| 5238 | }, |
| 5239 | .block_erase = erase_block_stm50flw0x0x, |
| 5240 | }, { |
| 5241 | .eraseblocks = { {256 * 1024, 1} }, |
| 5242 | .block_erase = erase_chip_stm50flw0x0x, |
| 5243 | } |
| 5244 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5245 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5246 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5247 | }, |
| 5248 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5249 | { |
| 5250 | .vendor = "ST", |
| 5251 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5252 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5253 | .manufacture_id = ST_ID, |
| 5254 | .model_id = ST_M50FW016, |
| 5255 | .total_size = 2048, |
| 5256 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5257 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5258 | .tested = TEST_UNTESTED, |
| 5259 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5260 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5261 | .erase = NULL, |
| 5262 | .block_erasers = |
| 5263 | { |
| 5264 | { |
| 5265 | .eraseblocks = { {64 * 1024, 32}, }, |
| 5266 | .block_erase = erase_block_stm50flw0x0x, |
| 5267 | }, { |
| 5268 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5269 | .block_erase = erase_chip_stm50flw0x0x, |
| 5270 | } |
| 5271 | }, |
| 5272 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5273 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5274 | }, |
| 5275 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5276 | { |
| 5277 | .vendor = "ST", |
| 5278 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5279 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5280 | .manufacture_id = ST_ID, |
| 5281 | .model_id = ST_M50FW040, |
| 5282 | .total_size = 512, |
| 5283 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5284 | .feature_bits = 0, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5285 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5286 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5287 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5288 | .erase = NULL, |
| 5289 | .block_erasers = |
| 5290 | { |
| 5291 | { |
| 5292 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5293 | .block_erase = erase_block_stm50flw0x0x, |
| 5294 | }, { |
| 5295 | .eraseblocks = { {512 * 1024, 1} }, |
| 5296 | .block_erase = erase_chip_stm50flw0x0x, |
| 5297 | } |
| 5298 | }, |
| 5299 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5300 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5301 | }, |
| 5302 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5303 | { |
| 5304 | .vendor = "ST", |
| 5305 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5306 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5307 | .manufacture_id = ST_ID, |
| 5308 | .model_id = ST_M50FW080, |
| 5309 | .total_size = 1024, |
| 5310 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5311 | .feature_bits = 0, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5312 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5313 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5314 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5315 | .erase = NULL, |
| 5316 | .block_erasers = |
| 5317 | { |
| 5318 | { |
| 5319 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5320 | .block_erase = erase_block_stm50flw0x0x, |
| 5321 | }, { |
| 5322 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5323 | .block_erase = erase_chip_stm50flw0x0x, |
| 5324 | } |
| 5325 | }, |
| 5326 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5327 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5328 | }, |
| 5329 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5330 | { |
| 5331 | .vendor = "ST", |
| 5332 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5333 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5334 | .manufacture_id = ST_ID, |
| 5335 | .model_id = ST_M50LPW116, |
| 5336 | .total_size = 2048, |
| 5337 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5338 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5339 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5340 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5341 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5342 | .erase = NULL, |
| 5343 | .block_erasers = |
| 5344 | { |
| 5345 | { |
| 5346 | .eraseblocks = { |
| 5347 | {4 * 1024, 16}, |
| 5348 | {64 * 1024, 30}, |
| 5349 | {32 * 1024, 1}, |
| 5350 | {8 * 1024, 2}, |
| 5351 | {16 * 1024, 1}, |
| 5352 | }, |
| 5353 | .block_erase = erase_block_stm50flw0x0x, |
| 5354 | }, { |
| 5355 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5356 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5357 | } |
| 5358 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5359 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5360 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5361 | }, |
| 5362 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5363 | { |
| 5364 | .vendor = "SyncMOS", |
| 5365 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5366 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5367 | .manufacture_id = SYNCMOS_ID, |
| 5368 | .model_id = S29C31004T, |
| 5369 | .total_size = 512, |
| 5370 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5371 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5372 | .tested = TEST_UNTESTED, |
| 5373 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5374 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5375 | .erase = NULL, |
| 5376 | .block_erasers = |
| 5377 | { |
| 5378 | { |
| 5379 | .eraseblocks = { {1 * 1024, 512} }, |
| 5380 | .block_erase = erase_sector_jedec, |
| 5381 | }, { |
| 5382 | .eraseblocks = { {512 * 1024, 1} }, |
| 5383 | .block_erase = erase_chip_block_jedec, |
| 5384 | }, |
| 5385 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5386 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5387 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5388 | }, |
| 5389 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5390 | { |
| 5391 | .vendor = "SyncMOS", |
| 5392 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5393 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5394 | .manufacture_id = SYNCMOS_ID, |
| 5395 | .model_id = S29C51001T, |
| 5396 | .total_size = 128, |
| 5397 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5398 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5399 | .tested = TEST_UNTESTED, |
| 5400 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5401 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5402 | .erase = NULL, |
| 5403 | .block_erasers = |
| 5404 | { |
| 5405 | { |
| 5406 | .eraseblocks = { {512, 256} }, |
| 5407 | .block_erase = erase_sector_jedec, |
| 5408 | }, { |
| 5409 | .eraseblocks = { {128 * 1024, 1} }, |
| 5410 | .block_erase = erase_chip_block_jedec, |
| 5411 | }, |
| 5412 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5413 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5414 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5415 | }, |
| 5416 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5417 | { |
| 5418 | .vendor = "SyncMOS", |
| 5419 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5420 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5421 | .manufacture_id = SYNCMOS_ID, |
| 5422 | .model_id = S29C51002T, |
| 5423 | .total_size = 256, |
| 5424 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5425 | .feature_bits = FEATURE_EITHER_RESET, |
| 5426 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5427 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5428 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5429 | .erase = NULL, |
| 5430 | .block_erasers = |
| 5431 | { |
| 5432 | { |
| 5433 | .eraseblocks = { {512, 512} }, |
| 5434 | .block_erase = erase_sector_jedec, |
| 5435 | }, { |
| 5436 | .eraseblocks = { {256 * 1024, 1} }, |
| 5437 | .block_erase = erase_chip_block_jedec, |
| 5438 | }, |
| 5439 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5440 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5441 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5442 | }, |
| 5443 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5444 | { |
| 5445 | .vendor = "SyncMOS", |
| 5446 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5447 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5448 | .manufacture_id = SYNCMOS_ID, |
| 5449 | .model_id = S29C51004T, |
| 5450 | .total_size = 512, |
| 5451 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5452 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5453 | .tested = TEST_UNTESTED, |
| 5454 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5455 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5456 | .erase = NULL, |
| 5457 | .block_erasers = |
| 5458 | { |
| 5459 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 5460 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5461 | .block_erase = erase_sector_jedec, |
| 5462 | }, { |
| 5463 | .eraseblocks = { {512 * 1024, 1} }, |
| 5464 | .block_erase = erase_chip_block_jedec, |
| 5465 | }, |
| 5466 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5467 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5468 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5469 | }, |
| 5470 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5471 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5472 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5473 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5474 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5475 | .manufacture_id = TI_OLD_ID, |
| 5476 | .model_id = TI_TMS29F002RB, |
| 5477 | .total_size = 256, |
| 5478 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5479 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5480 | .tested = TEST_UNTESTED, |
| 5481 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5482 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5483 | .erase = NULL, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5484 | .block_erasers = |
| 5485 | { |
| 5486 | { |
| 5487 | .eraseblocks = { |
| 5488 | {16 * 1024, 1}, |
| 5489 | {8 * 1024, 2}, |
| 5490 | {32 * 1024, 1}, |
| 5491 | {64 * 1024, 3}, |
| 5492 | }, |
| 5493 | .block_erase = erase_sector_jedec, |
| 5494 | }, { |
| 5495 | .eraseblocks = { {256 * 1024, 1} }, |
| 5496 | .block_erase = erase_chip_block_jedec, |
| 5497 | }, |
| 5498 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5499 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5500 | .read = read_memmapped, |
| 5501 | }, |
| 5502 | |
| 5503 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5504 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5505 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5506 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5507 | .manufacture_id = TI_OLD_ID, |
| 5508 | .model_id = TI_TMS29F002RT, |
| 5509 | .total_size = 256, |
| 5510 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5511 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5512 | .tested = TEST_UNTESTED, |
| 5513 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5514 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5515 | .erase = NULL, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5516 | .block_erasers = |
| 5517 | { |
| 5518 | { |
| 5519 | .eraseblocks = { |
| 5520 | {64 * 1024, 3}, |
| 5521 | {32 * 1024, 1}, |
| 5522 | {8 * 1024, 2}, |
| 5523 | {16 * 1024, 1}, |
| 5524 | }, |
| 5525 | .block_erase = erase_sector_jedec, |
| 5526 | }, { |
| 5527 | .eraseblocks = { {256 * 1024, 1} }, |
| 5528 | .block_erase = erase_chip_block_jedec, |
| 5529 | }, |
| 5530 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5531 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5532 | .read = read_memmapped, |
| 5533 | }, |
| 5534 | |
| 5535 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5536 | .vendor = "Winbond", |
| 5537 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5538 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5539 | .manufacture_id = WINBOND_NEX_ID, |
| 5540 | .model_id = W_25X10, |
| 5541 | .total_size = 128, |
| 5542 | .page_size = 256, |
| 5543 | .tested = TEST_UNTESTED, |
| 5544 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5545 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5546 | .erase = NULL, |
| 5547 | .block_erasers = |
| 5548 | { |
| 5549 | { |
| 5550 | .eraseblocks = { {4 * 1024, 32} }, |
| 5551 | .block_erase = spi_block_erase_20, |
| 5552 | }, { |
| 5553 | .eraseblocks = { {32 * 1024, 4} }, |
| 5554 | .block_erase = spi_block_erase_52, |
| 5555 | }, { |
| 5556 | .eraseblocks = { {64 * 1024, 2} }, |
| 5557 | .block_erase = spi_block_erase_d8, |
| 5558 | }, { |
| 5559 | .eraseblocks = { {128 * 1024, 1} }, |
| 5560 | .block_erase = spi_block_erase_60, |
| 5561 | }, { |
| 5562 | .eraseblocks = { {128 * 1024, 1} }, |
| 5563 | .block_erase = spi_block_erase_c7, |
| 5564 | } |
| 5565 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5566 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5567 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5568 | }, |
| 5569 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5570 | { |
| 5571 | .vendor = "Winbond", |
| 5572 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5573 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5574 | .manufacture_id = WINBOND_NEX_ID, |
| 5575 | .model_id = W_25X20, |
| 5576 | .total_size = 256, |
| 5577 | .page_size = 256, |
| 5578 | .tested = TEST_UNTESTED, |
| 5579 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5580 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5581 | .erase = NULL, |
| 5582 | .block_erasers = |
| 5583 | { |
| 5584 | { |
| 5585 | .eraseblocks = { {4 * 1024, 64} }, |
| 5586 | .block_erase = spi_block_erase_20, |
| 5587 | }, { |
| 5588 | .eraseblocks = { {32 * 1024, 8} }, |
| 5589 | .block_erase = spi_block_erase_52, |
| 5590 | }, { |
| 5591 | .eraseblocks = { {64 * 1024, 4} }, |
| 5592 | .block_erase = spi_block_erase_d8, |
| 5593 | }, { |
| 5594 | .eraseblocks = { {256 * 1024, 1} }, |
| 5595 | .block_erase = spi_block_erase_60, |
| 5596 | }, { |
| 5597 | .eraseblocks = { {256 * 1024, 1} }, |
| 5598 | .block_erase = spi_block_erase_c7, |
| 5599 | } |
| 5600 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5601 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5602 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5603 | }, |
| 5604 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5605 | { |
| 5606 | .vendor = "Winbond", |
| 5607 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5608 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5609 | .manufacture_id = WINBOND_NEX_ID, |
| 5610 | .model_id = W_25X40, |
| 5611 | .total_size = 512, |
| 5612 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5613 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5614 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5615 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5616 | .erase = NULL, |
| 5617 | .block_erasers = |
| 5618 | { |
| 5619 | { |
| 5620 | .eraseblocks = { {4 * 1024, 128} }, |
| 5621 | .block_erase = spi_block_erase_20, |
| 5622 | }, { |
| 5623 | .eraseblocks = { {32 * 1024, 16} }, |
| 5624 | .block_erase = spi_block_erase_52, |
| 5625 | }, { |
| 5626 | .eraseblocks = { {64 * 1024, 8} }, |
| 5627 | .block_erase = spi_block_erase_d8, |
| 5628 | }, { |
| 5629 | .eraseblocks = { {512 * 1024, 1} }, |
| 5630 | .block_erase = spi_block_erase_60, |
| 5631 | }, { |
| 5632 | .eraseblocks = { {512 * 1024, 1} }, |
| 5633 | .block_erase = spi_block_erase_c7, |
| 5634 | } |
| 5635 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5636 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5637 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5638 | }, |
| 5639 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5640 | { |
| 5641 | .vendor = "Winbond", |
| 5642 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5643 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5644 | .manufacture_id = WINBOND_NEX_ID, |
| 5645 | .model_id = W_25X80, |
| 5646 | .total_size = 1024, |
| 5647 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5648 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5649 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5650 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5651 | .erase = NULL, |
| 5652 | .block_erasers = |
| 5653 | { |
| 5654 | { |
| 5655 | .eraseblocks = { {4 * 1024, 256} }, |
| 5656 | .block_erase = spi_block_erase_20, |
| 5657 | }, { |
| 5658 | .eraseblocks = { {32 * 1024, 32} }, |
| 5659 | .block_erase = spi_block_erase_52, |
| 5660 | }, { |
| 5661 | .eraseblocks = { {64 * 1024, 16} }, |
| 5662 | .block_erase = spi_block_erase_d8, |
| 5663 | }, { |
| 5664 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5665 | .block_erase = spi_block_erase_60, |
| 5666 | }, { |
| 5667 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5668 | .block_erase = spi_block_erase_c7, |
| 5669 | } |
| 5670 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5671 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5672 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5673 | }, |
| 5674 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5675 | { |
| 5676 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5677 | .name = "W25x16", |
| 5678 | .bustype = CHIP_BUSTYPE_SPI, |
| 5679 | .manufacture_id = WINBOND_NEX_ID, |
| 5680 | .model_id = W_25X16, |
| 5681 | .total_size = 2048, |
| 5682 | .page_size = 256, |
| 5683 | .tested = TEST_OK_PR, |
| 5684 | .probe = probe_spi_rdid, |
| 5685 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5686 | .erase = NULL, |
| 5687 | .block_erasers = |
| 5688 | { |
| 5689 | { |
| 5690 | .eraseblocks = { {4 * 1024, 512} }, |
| 5691 | .block_erase = spi_block_erase_20, |
| 5692 | }, { |
| 5693 | .eraseblocks = { {32 * 1024, 64} }, |
| 5694 | .block_erase = spi_block_erase_52, |
| 5695 | }, { |
| 5696 | .eraseblocks = { {64 * 1024, 32} }, |
| 5697 | .block_erase = spi_block_erase_d8, |
| 5698 | }, { |
| 5699 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5700 | .block_erase = spi_block_erase_60, |
| 5701 | }, { |
| 5702 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5703 | .block_erase = spi_block_erase_c7, |
| 5704 | } |
| 5705 | }, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5706 | .write = spi_chip_write_256, |
| 5707 | .read = spi_chip_read, |
| 5708 | }, |
| 5709 | |
| 5710 | { |
| 5711 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5712 | .name = "W25x32", |
| 5713 | .bustype = CHIP_BUSTYPE_SPI, |
| 5714 | .manufacture_id = WINBOND_NEX_ID, |
| 5715 | .model_id = W_25X32, |
| 5716 | .total_size = 4096, |
| 5717 | .page_size = 256, |
| 5718 | .tested = TEST_OK_PROBE, |
| 5719 | .probe = probe_spi_rdid, |
| 5720 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5721 | .erase = NULL, |
| 5722 | .block_erasers = |
| 5723 | { |
| 5724 | { |
| 5725 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5726 | .block_erase = spi_block_erase_20, |
| 5727 | }, { |
| 5728 | .eraseblocks = { {32 * 1024, 128} }, |
| 5729 | .block_erase = spi_block_erase_52, |
| 5730 | }, { |
| 5731 | .eraseblocks = { {64 * 1024, 64} }, |
| 5732 | .block_erase = spi_block_erase_d8, |
| 5733 | }, { |
| 5734 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5735 | .block_erase = spi_block_erase_60, |
| 5736 | }, { |
| 5737 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5738 | .block_erase = spi_block_erase_c7, |
| 5739 | } |
| 5740 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5741 | .write = spi_chip_write_256, |
| 5742 | .read = spi_chip_read, |
| 5743 | }, |
| 5744 | |
| 5745 | { |
| 5746 | .vendor = "Winbond", |
| 5747 | .name = "W25x64", |
| 5748 | .bustype = CHIP_BUSTYPE_SPI, |
| 5749 | .manufacture_id = WINBOND_NEX_ID, |
| 5750 | .model_id = W_25X64, |
| 5751 | .total_size = 8192, |
| 5752 | .page_size = 256, |
| 5753 | .tested = TEST_UNTESTED, |
| 5754 | .probe = probe_spi_rdid, |
| 5755 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5756 | .erase = NULL, |
| 5757 | .block_erasers = |
| 5758 | { |
| 5759 | { |
| 5760 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5761 | .block_erase = spi_block_erase_20, |
| 5762 | }, { |
| 5763 | .eraseblocks = { {32 * 1024, 256} }, |
| 5764 | .block_erase = spi_block_erase_52, |
| 5765 | }, { |
| 5766 | .eraseblocks = { {64 * 1024, 128} }, |
| 5767 | .block_erase = spi_block_erase_d8, |
| 5768 | }, { |
| 5769 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5770 | .block_erase = spi_block_erase_60, |
| 5771 | }, { |
| 5772 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5773 | .block_erase = spi_block_erase_c7, |
| 5774 | } |
| 5775 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5776 | .write = spi_chip_write_256, |
| 5777 | .read = spi_chip_read, |
| 5778 | }, |
| 5779 | |
| 5780 | { |
| 5781 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5782 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5783 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5784 | .manufacture_id = WINBOND_ID, |
| 5785 | .model_id = W_29C011, |
| 5786 | .total_size = 128, |
| 5787 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5788 | .feature_bits = FEATURE_LONG_RESET, |
| 5789 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5790 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5791 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5792 | .erase = NULL, |
| 5793 | .block_erasers = |
| 5794 | { |
| 5795 | { |
| 5796 | .eraseblocks = { {128 * 1024, 1} }, |
| 5797 | .block_erase = erase_chip_block_jedec, |
| 5798 | } |
| 5799 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5800 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5801 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5802 | }, |
| 5803 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5804 | { |
| 5805 | .vendor = "Winbond", |
| 5806 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5807 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5808 | .manufacture_id = WINBOND_ID, |
| 5809 | .model_id = W_29C020C, |
| 5810 | .total_size = 256, |
| 5811 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5812 | .feature_bits = FEATURE_LONG_RESET, |
| 5813 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5814 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5815 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5816 | .erase = NULL, |
| 5817 | .block_erasers = |
| 5818 | { |
| 5819 | { |
| 5820 | .eraseblocks = { {256 * 1024, 1} }, |
| 5821 | .block_erase = erase_chip_block_jedec, |
| 5822 | } |
| 5823 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5824 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5825 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5826 | }, |
| 5827 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5828 | { |
| 5829 | .vendor = "Winbond", |
| 5830 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5831 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5832 | .manufacture_id = WINBOND_ID, |
| 5833 | .model_id = W_29C040P, |
| 5834 | .total_size = 512, |
| 5835 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5836 | .feature_bits = FEATURE_LONG_RESET, |
| 5837 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5838 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5839 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5840 | .erase = NULL, |
| 5841 | .block_erasers = |
| 5842 | { |
| 5843 | { |
| 5844 | .eraseblocks = { {512 * 1024, 1} }, |
| 5845 | .block_erase = erase_chip_block_jedec, |
| 5846 | } |
| 5847 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5848 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5849 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5850 | }, |
| 5851 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5852 | { |
| 5853 | .vendor = "Winbond", |
| 5854 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5855 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5856 | .manufacture_id = WINBOND_ID, |
| 5857 | .model_id = W_29C011, |
| 5858 | .total_size = 128, |
| 5859 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5860 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5861 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5862 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5863 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5864 | .erase = NULL, |
| 5865 | .block_erasers = |
| 5866 | { |
| 5867 | { |
| 5868 | .eraseblocks = { {128 * 1024, 1} }, |
| 5869 | .block_erase = erase_chip_block_jedec, |
| 5870 | } |
| 5871 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5872 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5873 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5874 | }, |
| 5875 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5876 | { |
| 5877 | .vendor = "Winbond", |
| 5878 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5879 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5880 | .manufacture_id = WINBOND_ID, |
| 5881 | .model_id = W_39V040A, |
| 5882 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5883 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5884 | .feature_bits = FEATURE_EITHER_RESET, |
| 5885 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5886 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5887 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5888 | .erase = NULL, |
| 5889 | .block_erasers = |
| 5890 | { |
| 5891 | { |
| 5892 | .eraseblocks = { {64 * 1024, 8} }, |
| 5893 | .block_erase = erase_sector_jedec, |
| 5894 | }, { |
| 5895 | .eraseblocks = { {512 * 1024, 1} }, |
| 5896 | .block_erase = erase_chip_block_jedec, |
| 5897 | } |
| 5898 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5899 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5900 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5901 | }, |
| 5902 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5903 | { |
| 5904 | .vendor = "Winbond", |
| 5905 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5906 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5907 | .manufacture_id = WINBOND_ID, |
| 5908 | .model_id = W_39V040B, |
| 5909 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5910 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5911 | .feature_bits = FEATURE_EITHER_RESET, |
| 5912 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5913 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5914 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5915 | .erase = NULL, |
| 5916 | .block_erasers = |
| 5917 | { |
| 5918 | { |
| 5919 | .eraseblocks = { {64 * 1024, 8} }, |
| 5920 | .block_erase = erase_sector_jedec, |
| 5921 | }, { |
| 5922 | .eraseblocks = { {512 * 1024, 1} }, |
| 5923 | .block_erase = erase_chip_block_jedec, |
| 5924 | } |
| 5925 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5926 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5927 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5928 | }, |
| 5929 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5930 | { |
| 5931 | .vendor = "Winbond", |
| 5932 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5933 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5934 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5935 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5936 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5937 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5938 | .feature_bits = FEATURE_EITHER_RESET, |
| 5939 | .tested = TEST_UNTESTED, |
| 5940 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5941 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5942 | .erase = NULL, /* Was erase_w39v040c */ |
| 5943 | .block_erasers = |
| 5944 | { |
| 5945 | { |
| 5946 | .eraseblocks = { {64 * 1024, 8} }, |
| 5947 | .block_erase = erase_sector_jedec, |
| 5948 | }, { |
| 5949 | .eraseblocks = { {512 * 1024, 1} }, |
| 5950 | .block_erase = erase_chip_block_jedec, |
| 5951 | } |
| 5952 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5953 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5954 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5955 | }, |
| 5956 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5957 | { |
| 5958 | .vendor = "Winbond", |
| 5959 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5960 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5961 | .manufacture_id = WINBOND_ID, |
| 5962 | .model_id = W_39V040FA, |
| 5963 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5964 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5965 | .feature_bits = FEATURE_EITHER_RESET, |
| 5966 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5967 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5968 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5969 | .erase = NULL, |
| 5970 | .block_erasers = |
| 5971 | { |
| 5972 | { |
| 5973 | .eraseblocks = { {4 * 1024, 128} }, |
| 5974 | .block_erase = erase_block_jedec, |
| 5975 | }, { |
| 5976 | .eraseblocks = { {64 * 1024, 8} }, |
| 5977 | .block_erase = erase_sector_jedec, |
| 5978 | }, { |
| 5979 | .eraseblocks = { {512 * 1024, 1} }, |
| 5980 | .block_erase = erase_chip_block_jedec, |
| 5981 | } |
| 5982 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5983 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5984 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5985 | }, |
| 5986 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5987 | { |
| 5988 | .vendor = "Winbond", |
| 5989 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5990 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5991 | .manufacture_id = WINBOND_ID, |
| 5992 | .model_id = W_39V080A, |
| 5993 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5994 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5995 | .feature_bits = FEATURE_EITHER_RESET, |
| 5996 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5997 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5998 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5999 | .erase = NULL, |
| 6000 | .block_erasers = |
| 6001 | { |
| 6002 | { |
| 6003 | .eraseblocks = { {64 * 1024, 16} }, |
| 6004 | .block_erase = erase_sector_jedec, |
| 6005 | }, { |
| 6006 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6007 | .block_erase = erase_chip_block_jedec, |
| 6008 | } |
| 6009 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6010 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6011 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6012 | }, |
| 6013 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6014 | { |
| 6015 | .vendor = "Winbond", |
| 6016 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6017 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6018 | .manufacture_id = WINBOND_ID, |
| 6019 | .model_id = W_49F002U, |
| 6020 | .total_size = 256, |
| 6021 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6022 | .feature_bits = FEATURE_EITHER_RESET, |
| 6023 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6024 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6025 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6026 | .erase = NULL, |
| 6027 | .block_erasers = |
| 6028 | { |
| 6029 | { |
| 6030 | .eraseblocks = { |
| 6031 | {128 * 1024, 1}, |
| 6032 | {96 * 1024, 1}, |
| 6033 | {8 * 1024, 2}, |
| 6034 | {16 * 1024, 1}, |
| 6035 | }, |
| 6036 | .block_erase = erase_sector_jedec, |
| 6037 | }, { |
| 6038 | .eraseblocks = { {256 * 1024, 1} }, |
| 6039 | .block_erase = erase_chip_block_jedec, |
| 6040 | } |
| 6041 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6042 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6043 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6044 | }, |
| 6045 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6046 | { |
| 6047 | .vendor = "Winbond", |
| 6048 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6049 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6050 | .manufacture_id = WINBOND_ID, |
| 6051 | .model_id = W_49V002A, |
| 6052 | .total_size = 256, |
| 6053 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6054 | .feature_bits = FEATURE_EITHER_RESET, |
| 6055 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6056 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6057 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6058 | .erase = NULL, |
| 6059 | .block_erasers = |
| 6060 | { |
| 6061 | { |
| 6062 | .eraseblocks = { |
| 6063 | {64 * 1024, 3}, |
| 6064 | {32 * 1024, 1}, |
| 6065 | {8 * 1024, 2}, |
| 6066 | {16 * 1024, 1}, |
| 6067 | }, |
| 6068 | .block_erase = erase_sector_jedec, |
| 6069 | }, { |
| 6070 | .eraseblocks = { {256 * 1024, 1} }, |
| 6071 | .block_erase = erase_chip_block_jedec, |
| 6072 | } |
| 6073 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6074 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6075 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6076 | }, |
| 6077 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6078 | { |
| 6079 | .vendor = "Winbond", |
| 6080 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6081 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6082 | .manufacture_id = WINBOND_ID, |
| 6083 | .model_id = W_49V002FA, |
| 6084 | .total_size = 256, |
| 6085 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6086 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6087 | .tested = TEST_UNTESTED, |
| 6088 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6089 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6090 | .erase = NULL, |
| 6091 | .block_erasers = |
| 6092 | { |
| 6093 | { |
| 6094 | .eraseblocks = { |
| 6095 | {64 * 1024, 3}, |
| 6096 | {32 * 1024, 1}, |
| 6097 | {8 * 1024, 2}, |
| 6098 | {16 * 1024, 1}, |
| 6099 | }, |
| 6100 | .block_erase = erase_sector_jedec, |
| 6101 | }, { |
| 6102 | .eraseblocks = { {256 * 1024, 1} }, |
| 6103 | .block_erase = erase_chip_block_jedec, |
| 6104 | } |
| 6105 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6106 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6107 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6108 | }, |
| 6109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6110 | { |
| 6111 | .vendor = "Winbond", |
| 6112 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6113 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6114 | .manufacture_id = WINBOND_ID, |
| 6115 | .model_id = W_39V080FA, |
| 6116 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6117 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6118 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 6119 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6120 | .probe = probe_jedec, |
| 6121 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6122 | .erase = NULL, /* Was erase_winbond_fwhub */ |
| 6123 | .block_erasers = |
| 6124 | { |
| 6125 | { |
| 6126 | .eraseblocks = { {64 * 1024, 16}, }, |
| 6127 | .block_erase = erase_sector_jedec, |
| 6128 | }, { |
| 6129 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6130 | .block_erase = erase_chip_block_jedec, |
| 6131 | } |
| 6132 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6133 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6134 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6135 | }, |
| 6136 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6137 | { |
| 6138 | .vendor = "Winbond", |
| 6139 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 6140 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6141 | .manufacture_id = WINBOND_ID, |
| 6142 | .model_id = W_39V080FA_DM, |
| 6143 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 6144 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6145 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6146 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 6147 | .probe = probe_jedec, |
| 6148 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 6149 | .erase = NULL, /* Was erase_winbond_fwhub */ |
| 6150 | .block_erasers = |
| 6151 | { |
| 6152 | { |
| 6153 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6154 | .block_erase = erase_sector_jedec, |
| 6155 | }, { |
| 6156 | .eraseblocks = { {512 * 1024, 1} }, |
| 6157 | .block_erase = erase_chip_block_jedec, |
| 6158 | } |
| 6159 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6160 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6161 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6162 | }, |
| 6163 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6164 | { |
| 6165 | .vendor = "Atmel", |
| 6166 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6167 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6168 | .manufacture_id = ATMEL_ID, |
| 6169 | .model_id = GENERIC_DEVICE_ID, |
| 6170 | .total_size = 0, |
| 6171 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6172 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6173 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6174 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6175 | .erase = NULL, |
| 6176 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6177 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6178 | }, |
| 6179 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6180 | { |
| 6181 | .vendor = "EON", |
| 6182 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6183 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6184 | .manufacture_id = EON_ID_NOPREFIX, |
| 6185 | .model_id = GENERIC_DEVICE_ID, |
| 6186 | .total_size = 0, |
| 6187 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6188 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6189 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6190 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6191 | .erase = NULL, |
| 6192 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6193 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6194 | }, |
| 6195 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6196 | { |
| 6197 | .vendor = "Macronix", |
| 6198 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6199 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6200 | .manufacture_id = MX_ID, |
| 6201 | .model_id = GENERIC_DEVICE_ID, |
| 6202 | .total_size = 0, |
| 6203 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6204 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6205 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6206 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6207 | .erase = NULL, |
| 6208 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6209 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6210 | }, |
| 6211 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6212 | { |
| 6213 | .vendor = "PMC", |
| 6214 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6215 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6216 | .manufacture_id = PMC_ID, |
| 6217 | .model_id = GENERIC_DEVICE_ID, |
| 6218 | .total_size = 0, |
| 6219 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6220 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6221 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6222 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6223 | .erase = NULL, |
| 6224 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6225 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6226 | }, |
| 6227 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6228 | { |
| 6229 | .vendor = "SST", |
| 6230 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6231 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6232 | .manufacture_id = SST_ID, |
| 6233 | .model_id = GENERIC_DEVICE_ID, |
| 6234 | .total_size = 0, |
| 6235 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6236 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6237 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6238 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6239 | .erase = NULL, |
| 6240 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6241 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6242 | }, |
| 6243 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6244 | { |
| 6245 | .vendor = "ST", |
| 6246 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6247 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6248 | .manufacture_id = ST_ID, |
| 6249 | .model_id = GENERIC_DEVICE_ID, |
| 6250 | .total_size = 0, |
| 6251 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6252 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6253 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6254 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6255 | .erase = NULL, |
| 6256 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6257 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6258 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 6259 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6260 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6261 | .vendor = "Sanyo", |
| 6262 | .name = "unknown Sanyo SPI chip", |
| 6263 | .bustype = CHIP_BUSTYPE_SPI, |
| 6264 | .manufacture_id = SANYO_ID, |
| 6265 | .model_id = GENERIC_DEVICE_ID, |
| 6266 | .total_size = 0, |
| 6267 | .page_size = 256, |
| 6268 | .tested = TEST_BAD_PREW, |
| 6269 | .probe = probe_spi_rdid, |
| 6270 | .probe_timing = TIMING_ZERO, |
| 6271 | .erase = NULL, |
| 6272 | .write = NULL, |
| 6273 | .read = NULL, |
| 6274 | }, |
| 6275 | |
| 6276 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6277 | .vendor = "Generic", |
| 6278 | .name = "unknown SPI chip (RDID)", |
| 6279 | .bustype = CHIP_BUSTYPE_SPI, |
| 6280 | .manufacture_id = GENERIC_MANUF_ID, |
| 6281 | .model_id = GENERIC_DEVICE_ID, |
| 6282 | .total_size = 0, |
| 6283 | .page_size = 256, |
| 6284 | .tested = TEST_BAD_PREW, |
| 6285 | .probe = probe_spi_rdid, |
| 6286 | .erase = NULL, |
| 6287 | .write = NULL, |
| 6288 | }, |
| 6289 | { |
| 6290 | .vendor = "Generic", |
| 6291 | .name = "unknown SPI chip (REMS)", |
| 6292 | .bustype = CHIP_BUSTYPE_SPI, |
| 6293 | .manufacture_id = GENERIC_MANUF_ID, |
| 6294 | .model_id = GENERIC_DEVICE_ID, |
| 6295 | .total_size = 0, |
| 6296 | .page_size = 256, |
| 6297 | .tested = TEST_BAD_PREW, |
| 6298 | .probe = probe_spi_rems, |
| 6299 | .erase = NULL, |
| 6300 | .write = NULL, |
| 6301 | }, |
| 6302 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6303 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 6304 | }; |