Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Sean Nelson | c57a920 | 2010-01-04 17:15:23 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 9 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 14 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 19 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #include "flash.h" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 26 | #include "flashchips.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 27 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 28 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 29 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 30 | * |
| 31 | * Please keep the list sorted by vendor name and chip name, so that |
| 32 | * the output of 'flashrom -L' is alphabetically sorted. |
| 33 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 34 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 35 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 36 | /* |
| 37 | * .vendor = Vendor name |
| 38 | * .name = Chip name |
| 39 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 40 | * .manufacture_id = Manufacturer chip ID |
| 41 | * .model_id = Model chip ID |
| 42 | * .total_size = Total size in (binary) kbytes |
| 43 | * .page_size = Page or eraseblock(?) size in bytes |
| 44 | * .tested = Test status |
| 45 | * .probe = Probe function |
| 46 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 47 | * .block_erasers[] = Array of erase layouts and erase functions |
| 48 | * { |
| 49 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 50 | * .block_erase = Block erase function |
| 51 | * } |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 52 | * .write = Chip write function |
| 53 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 54 | */ |
| 55 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 56 | { |
| 57 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 58 | .name = "Am29F010A/B", |
| 59 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 60 | .manufacture_id = AMD_ID, |
| 61 | .model_id = AM_29F010B, /* Same as Am29F010A */ |
| 62 | .total_size = 128, |
| 63 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 64 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 65 | .tested = TEST_UNTESTED, |
| 66 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 67 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 68 | .block_erasers = |
| 69 | { |
| 70 | { |
| 71 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 72 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 73 | }, { |
| 74 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 75 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 76 | }, |
| 77 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 78 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 79 | .read = read_memmapped, |
| 80 | }, |
| 81 | |
| 82 | { |
| 83 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 84 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 85 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 86 | .manufacture_id = AMD_ID, |
| 87 | .model_id = AM_29F002BB, |
| 88 | .total_size = 256, |
| 89 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 90 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 91 | .tested = TEST_UNTESTED, |
| 92 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 93 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 94 | .block_erasers = |
| 95 | { |
| 96 | { |
| 97 | .eraseblocks = { |
| 98 | {16 * 1024, 1}, |
| 99 | {8 * 1024, 2}, |
| 100 | {32 * 1024, 1}, |
| 101 | {64 * 1024, 3}, |
| 102 | }, |
| 103 | .block_erase = erase_sector_jedec, |
| 104 | }, { |
| 105 | .eraseblocks = { {256 * 1024, 1} }, |
| 106 | .block_erase = erase_chip_block_jedec, |
| 107 | }, |
| 108 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 109 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 110 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 111 | }, |
| 112 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 113 | { |
| 114 | .vendor = "AMD", |
| 115 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 116 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 117 | .manufacture_id = AMD_ID, |
| 118 | .model_id = AM_29F002BT, |
| 119 | .total_size = 256, |
| 120 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 121 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 122 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 123 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 124 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 125 | .block_erasers = |
| 126 | { |
| 127 | { |
| 128 | .eraseblocks = { |
| 129 | {64 * 1024, 3}, |
| 130 | {32 * 1024, 1}, |
| 131 | {8 * 1024, 2}, |
| 132 | {16 * 1024, 1}, |
| 133 | }, |
| 134 | .block_erase = erase_sector_jedec, |
| 135 | }, { |
| 136 | .eraseblocks = { {256 * 1024, 1} }, |
| 137 | .block_erase = erase_chip_block_jedec, |
| 138 | }, |
| 139 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 140 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 141 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 142 | }, |
| 143 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 144 | { |
| 145 | .vendor = "AMD", |
| 146 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 147 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 148 | .manufacture_id = AMD_ID, |
| 149 | .model_id = AM_29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 150 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 152 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 153 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 154 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 155 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 156 | .block_erasers = |
| 157 | { |
| 158 | { |
| 159 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 160 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 161 | }, { |
| 162 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 163 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 164 | }, |
| 165 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 167 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 168 | }, |
| 169 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 170 | { |
| 171 | .vendor = "AMD", |
| 172 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 173 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 174 | .manufacture_id = AMD_ID, |
| 175 | .model_id = AM_29F040B, |
| 176 | .total_size = 512, |
| 177 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 178 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 179 | .tested = TEST_UNTESTED, |
| 180 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 181 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 182 | .block_erasers = |
| 183 | { |
| 184 | { |
| 185 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 186 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 187 | }, { |
| 188 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 189 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | }, |
| 191 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 193 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 194 | }, |
| 195 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 196 | { |
| 197 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 198 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 199 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 200 | .manufacture_id = AMD_ID, |
| 201 | .model_id = AM_29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 202 | .total_size = 1024, |
| 203 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 204 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 205 | .tested = TEST_UNTESTED, |
| 206 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 207 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 208 | .block_erasers = |
| 209 | { |
| 210 | { |
| 211 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 212 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 213 | }, { |
| 214 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 215 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | }, |
| 217 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 218 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 219 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 220 | }, |
| 221 | |
| 222 | { |
| 223 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 224 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 225 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 226 | .manufacture_id = AMD_ID, |
| 227 | .model_id = AM_29LV040B, |
| 228 | .total_size = 512, |
| 229 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 230 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 231 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 232 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 233 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 234 | .block_erasers = |
| 235 | { |
| 236 | { |
| 237 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 238 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 239 | }, { |
| 240 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 241 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 242 | }, |
| 243 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 244 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 245 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 246 | }, |
| 247 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 248 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 249 | .vendor = "AMD", |
| 250 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 251 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 252 | .manufacture_id = AMD_ID, |
Carl-Daniel Hailfinger | 6d5d253 | 2009-08-10 10:14:23 +0000 | [diff] [blame] | 253 | .model_id = AM_29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 254 | .total_size = 1024, |
| 255 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 256 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 258 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 259 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 260 | .block_erasers = |
| 261 | { |
| 262 | { |
| 263 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 264 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 265 | }, { |
| 266 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 267 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | }, |
| 269 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 270 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 271 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 272 | }, |
| 273 | |
| 274 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 275 | .vendor = "ASD", |
| 276 | .name = "AE49F2008", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 277 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 278 | .manufacture_id = ASD_ID, |
| 279 | .model_id = ASD_AE49F2008, |
| 280 | .total_size = 256, |
| 281 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 282 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 283 | .tested = TEST_UNTESTED, |
| 284 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 285 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 286 | .block_erasers = |
| 287 | { |
| 288 | { |
| 289 | .eraseblocks = { |
| 290 | {128 * 1024, 1}, |
| 291 | {96 * 1024, 1}, |
| 292 | {8 * 1024, 2}, |
| 293 | {16 * 1024, 1}, |
| 294 | }, |
| 295 | .block_erase = erase_sector_jedec, |
| 296 | }, { |
| 297 | .eraseblocks = { {256 * 1024, 1} }, |
| 298 | .block_erase = erase_chip_block_jedec, |
| 299 | } |
| 300 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 301 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 302 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 303 | }, |
| 304 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 305 | { |
| 306 | .vendor = "Atmel", |
| 307 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 308 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 309 | .manufacture_id = ATMEL_ID, |
| 310 | .model_id = AT_25DF021, |
| 311 | .total_size = 256, |
| 312 | .page_size = 256, |
| 313 | .tested = TEST_UNTESTED, |
| 314 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 315 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 316 | .block_erasers = |
| 317 | { |
| 318 | { |
| 319 | .eraseblocks = { {4 * 1024, 64} }, |
| 320 | .block_erase = spi_block_erase_20, |
| 321 | }, { |
| 322 | .eraseblocks = { {32 * 1024, 8} }, |
| 323 | .block_erase = spi_block_erase_52, |
| 324 | }, { |
| 325 | .eraseblocks = { {64 * 1024, 4} }, |
| 326 | .block_erase = spi_block_erase_d8, |
| 327 | }, { |
| 328 | .eraseblocks = { {256 * 1024, 1} }, |
| 329 | .block_erase = spi_block_erase_60, |
| 330 | }, { |
| 331 | .eraseblocks = { {256 * 1024, 1} }, |
| 332 | .block_erase = spi_block_erase_c7, |
| 333 | } |
| 334 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 335 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 336 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 337 | }, |
| 338 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 339 | { |
| 340 | .vendor = "Atmel", |
| 341 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 342 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 343 | .manufacture_id = ATMEL_ID, |
| 344 | .model_id = AT_25DF041A, |
| 345 | .total_size = 512, |
| 346 | .page_size = 256, |
| 347 | .tested = TEST_UNTESTED, |
| 348 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 350 | .block_erasers = |
| 351 | { |
| 352 | { |
| 353 | .eraseblocks = { {4 * 1024, 128} }, |
| 354 | .block_erase = spi_block_erase_20, |
| 355 | }, { |
| 356 | .eraseblocks = { {32 * 1024, 16} }, |
| 357 | .block_erase = spi_block_erase_52, |
| 358 | }, { |
| 359 | .eraseblocks = { {64 * 1024, 8} }, |
| 360 | .block_erase = spi_block_erase_d8, |
| 361 | }, { |
| 362 | .eraseblocks = { {512 * 1024, 1} }, |
| 363 | .block_erase = spi_block_erase_60, |
| 364 | }, { |
| 365 | .eraseblocks = { {512 * 1024, 1} }, |
| 366 | .block_erase = spi_block_erase_c7, |
| 367 | } |
| 368 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 369 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 370 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 371 | }, |
| 372 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 373 | { |
| 374 | .vendor = "Atmel", |
| 375 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 376 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 377 | .manufacture_id = ATMEL_ID, |
| 378 | .model_id = AT_25DF081, |
| 379 | .total_size = 1024, |
| 380 | .page_size = 256, |
| 381 | .tested = TEST_UNTESTED, |
| 382 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 383 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 384 | .block_erasers = |
| 385 | { |
| 386 | { |
| 387 | .eraseblocks = { {4 * 1024, 256} }, |
| 388 | .block_erase = spi_block_erase_20, |
| 389 | }, { |
| 390 | .eraseblocks = { {32 * 1024, 32} }, |
| 391 | .block_erase = spi_block_erase_52, |
| 392 | }, { |
| 393 | .eraseblocks = { {64 * 1024, 16} }, |
| 394 | .block_erase = spi_block_erase_d8, |
| 395 | }, { |
| 396 | .eraseblocks = { {1024 * 1024, 1} }, |
| 397 | .block_erase = spi_block_erase_60, |
| 398 | }, { |
| 399 | .eraseblocks = { {1024 * 1024, 1} }, |
| 400 | .block_erase = spi_block_erase_c7, |
| 401 | } |
| 402 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 403 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 404 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 405 | }, |
| 406 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 407 | { |
| 408 | .vendor = "Atmel", |
| 409 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 410 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 411 | .manufacture_id = ATMEL_ID, |
| 412 | .model_id = AT_25DF161, |
| 413 | .total_size = 2048, |
| 414 | .page_size = 256, |
| 415 | .tested = TEST_UNTESTED, |
| 416 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 417 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 418 | .block_erasers = |
| 419 | { |
| 420 | { |
| 421 | .eraseblocks = { {4 * 1024, 512} }, |
| 422 | .block_erase = spi_block_erase_20, |
| 423 | }, { |
| 424 | .eraseblocks = { {32 * 1024, 64} }, |
| 425 | .block_erase = spi_block_erase_52, |
| 426 | }, { |
| 427 | .eraseblocks = { {64 * 1024, 32} }, |
| 428 | .block_erase = spi_block_erase_d8, |
| 429 | }, { |
| 430 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 431 | .block_erase = spi_block_erase_60, |
| 432 | }, { |
| 433 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 434 | .block_erase = spi_block_erase_c7, |
| 435 | } |
| 436 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 437 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 438 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 439 | }, |
| 440 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 441 | { |
| 442 | .vendor = "Atmel", |
| 443 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 444 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 445 | .manufacture_id = ATMEL_ID, |
| 446 | .model_id = AT_25DF321, |
| 447 | .total_size = 4096, |
| 448 | .page_size = 256, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 449 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 450 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 451 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 452 | .block_erasers = |
| 453 | { |
| 454 | { |
| 455 | .eraseblocks = { {4 * 1024, 1024} }, |
| 456 | .block_erase = spi_block_erase_20, |
| 457 | }, { |
| 458 | .eraseblocks = { {32 * 1024, 128} }, |
| 459 | .block_erase = spi_block_erase_52, |
| 460 | }, { |
| 461 | .eraseblocks = { {64 * 1024, 64} }, |
| 462 | .block_erase = spi_block_erase_d8, |
| 463 | }, { |
| 464 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 465 | .block_erase = spi_block_erase_60, |
| 466 | }, { |
| 467 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 468 | .block_erase = spi_block_erase_c7, |
| 469 | } |
| 470 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 471 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 472 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 473 | }, |
| 474 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 475 | { |
| 476 | .vendor = "Atmel", |
| 477 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 478 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 479 | .manufacture_id = ATMEL_ID, |
| 480 | .model_id = AT_25DF321A, |
| 481 | .total_size = 4096, |
| 482 | .page_size = 256, |
| 483 | .tested = TEST_UNTESTED, |
| 484 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 485 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 486 | .block_erasers = |
| 487 | { |
| 488 | { |
| 489 | .eraseblocks = { {4 * 1024, 1024} }, |
| 490 | .block_erase = spi_block_erase_20, |
| 491 | }, { |
| 492 | .eraseblocks = { {32 * 1024, 128} }, |
| 493 | .block_erase = spi_block_erase_52, |
| 494 | }, { |
| 495 | .eraseblocks = { {64 * 1024, 64} }, |
| 496 | .block_erase = spi_block_erase_d8, |
| 497 | }, { |
| 498 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 499 | .block_erase = spi_block_erase_60, |
| 500 | }, { |
| 501 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 502 | .block_erase = spi_block_erase_c7, |
| 503 | } |
| 504 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 505 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 506 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 507 | }, |
| 508 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 509 | { |
| 510 | .vendor = "Atmel", |
| 511 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 512 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 513 | .manufacture_id = ATMEL_ID, |
| 514 | .model_id = AT_25DF641, |
| 515 | .total_size = 8192, |
| 516 | .page_size = 256, |
| 517 | .tested = TEST_UNTESTED, |
| 518 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 519 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 520 | .block_erasers = |
| 521 | { |
| 522 | { |
| 523 | .eraseblocks = { {4 * 1024, 2048} }, |
| 524 | .block_erase = spi_block_erase_20, |
| 525 | }, { |
| 526 | .eraseblocks = { {32 * 1024, 256} }, |
| 527 | .block_erase = spi_block_erase_52, |
| 528 | }, { |
| 529 | .eraseblocks = { {64 * 1024, 128} }, |
| 530 | .block_erase = spi_block_erase_d8, |
| 531 | }, { |
| 532 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 533 | .block_erase = spi_block_erase_60, |
| 534 | }, { |
| 535 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 536 | .block_erase = spi_block_erase_c7, |
| 537 | } |
| 538 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 539 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 540 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 541 | }, |
| 542 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 543 | { |
| 544 | .vendor = "Atmel", |
| 545 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 546 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 547 | .manufacture_id = ATMEL_ID, |
| 548 | .model_id = AT_25F512B, |
| 549 | .total_size = 64, |
| 550 | .page_size = 256, |
| 551 | .tested = TEST_UNTESTED, |
| 552 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 553 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 554 | .block_erasers = |
| 555 | { |
| 556 | { |
| 557 | .eraseblocks = { {4 * 1024, 16} }, |
| 558 | .block_erase = spi_block_erase_20, |
| 559 | }, { |
| 560 | .eraseblocks = { {32 * 1024, 2} }, |
| 561 | .block_erase = spi_block_erase_52, |
| 562 | }, { |
| 563 | .eraseblocks = { {32 * 1024, 2} }, |
| 564 | .block_erase = spi_block_erase_d8, |
| 565 | }, { |
| 566 | .eraseblocks = { {64 * 1024, 1} }, |
| 567 | .block_erase = spi_block_erase_60, |
| 568 | }, { |
| 569 | .eraseblocks = { {64 * 1024, 1} }, |
| 570 | .block_erase = spi_block_erase_c7, |
| 571 | } |
| 572 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 573 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 574 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 575 | }, |
| 576 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 577 | { |
| 578 | .vendor = "Atmel", |
| 579 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 580 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 581 | .manufacture_id = ATMEL_ID, |
| 582 | .model_id = AT_25FS010, |
| 583 | .total_size = 128, |
| 584 | .page_size = 256, |
| 585 | .tested = TEST_UNTESTED, |
| 586 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 587 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 588 | .block_erasers = |
| 589 | { |
| 590 | { |
| 591 | .eraseblocks = { {4 * 1024, 32} }, |
| 592 | .block_erase = spi_block_erase_20, |
| 593 | }, { |
| 594 | .eraseblocks = { {32 * 1024, 4} }, |
| 595 | .block_erase = spi_block_erase_52, |
| 596 | }, { |
| 597 | .eraseblocks = { {32 * 1024, 4} }, |
| 598 | .block_erase = spi_block_erase_d8, |
| 599 | }, { |
| 600 | .eraseblocks = { {128 * 1024, 1} }, |
| 601 | .block_erase = spi_block_erase_60, |
| 602 | }, { |
| 603 | .eraseblocks = { {128 * 1024, 1} }, |
| 604 | .block_erase = spi_block_erase_c7, |
| 605 | } |
| 606 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 607 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 608 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 609 | }, |
| 610 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 611 | { |
| 612 | .vendor = "Atmel", |
| 613 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 614 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 615 | .manufacture_id = ATMEL_ID, |
| 616 | .model_id = AT_25FS040, |
| 617 | .total_size = 512, |
| 618 | .page_size = 256, |
| 619 | .tested = TEST_UNTESTED, |
| 620 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 621 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 622 | .block_erasers = |
| 623 | { |
| 624 | { |
| 625 | .eraseblocks = { {4 * 1024, 128} }, |
| 626 | .block_erase = spi_block_erase_20, |
| 627 | }, { |
| 628 | .eraseblocks = { {64 * 1024, 8} }, |
| 629 | .block_erase = spi_block_erase_52, |
| 630 | }, { |
| 631 | .eraseblocks = { {64 * 1024, 8} }, |
| 632 | .block_erase = spi_block_erase_d8, |
| 633 | }, { |
| 634 | .eraseblocks = { {512 * 1024, 1} }, |
| 635 | .block_erase = spi_block_erase_60, |
| 636 | }, { |
| 637 | .eraseblocks = { {512 * 1024, 1} }, |
| 638 | .block_erase = spi_block_erase_c7, |
| 639 | } |
| 640 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 641 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 642 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 643 | }, |
| 644 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 645 | { |
| 646 | .vendor = "Atmel", |
| 647 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 648 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 649 | .manufacture_id = ATMEL_ID, |
| 650 | .model_id = AT_26DF041, |
| 651 | .total_size = 512, |
| 652 | .page_size = 256, |
| 653 | .tested = TEST_UNTESTED, |
| 654 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 655 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 656 | .block_erasers = |
| 657 | { |
| 658 | { |
| 659 | .eraseblocks = { {4 * 1024, 128} }, |
| 660 | .block_erase = spi_block_erase_20, |
| 661 | } |
| 662 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 663 | .write = NULL /* Incompatible Page write */, |
| 664 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 665 | }, |
| 666 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 667 | { |
| 668 | .vendor = "Atmel", |
| 669 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 670 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 671 | .manufacture_id = ATMEL_ID, |
| 672 | .model_id = AT_26DF081A, |
| 673 | .total_size = 1024, |
| 674 | .page_size = 256, |
| 675 | .tested = TEST_UNTESTED, |
| 676 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 677 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 678 | .block_erasers = |
| 679 | { |
| 680 | { |
| 681 | .eraseblocks = { {4 * 1024, 256} }, |
| 682 | .block_erase = spi_block_erase_20, |
| 683 | }, { |
| 684 | .eraseblocks = { {32 * 1024, 32} }, |
| 685 | .block_erase = spi_block_erase_52, |
| 686 | }, { |
| 687 | .eraseblocks = { {64 * 1024, 16} }, |
| 688 | .block_erase = spi_block_erase_d8, |
| 689 | }, { |
| 690 | .eraseblocks = { {1024 * 1024, 1} }, |
| 691 | .block_erase = spi_block_erase_60, |
| 692 | }, { |
| 693 | .eraseblocks = { {1024 * 1024, 1} }, |
| 694 | .block_erase = spi_block_erase_c7, |
| 695 | } |
| 696 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 697 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 698 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 699 | }, |
| 700 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 701 | { |
| 702 | .vendor = "Atmel", |
| 703 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 704 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 705 | .manufacture_id = ATMEL_ID, |
| 706 | .model_id = AT_26DF161, |
| 707 | .total_size = 2048, |
| 708 | .page_size = 256, |
| 709 | .tested = TEST_UNTESTED, |
| 710 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 711 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 712 | .block_erasers = |
| 713 | { |
| 714 | { |
| 715 | .eraseblocks = { {4 * 1024, 512} }, |
| 716 | .block_erase = spi_block_erase_20, |
| 717 | }, { |
| 718 | .eraseblocks = { {32 * 1024, 64} }, |
| 719 | .block_erase = spi_block_erase_52, |
| 720 | }, { |
| 721 | .eraseblocks = { {64 * 1024, 32} }, |
| 722 | .block_erase = spi_block_erase_d8, |
| 723 | }, { |
| 724 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 725 | .block_erase = spi_block_erase_60, |
| 726 | }, { |
| 727 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 728 | .block_erase = spi_block_erase_c7, |
| 729 | } |
| 730 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 731 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 732 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 733 | }, |
| 734 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 735 | { |
| 736 | .vendor = "Atmel", |
| 737 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 738 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 739 | .manufacture_id = ATMEL_ID, |
| 740 | .model_id = AT_26DF161A, |
| 741 | .total_size = 2048, |
| 742 | .page_size = 256, |
| 743 | .tested = TEST_UNTESTED, |
| 744 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 745 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 746 | .block_erasers = |
| 747 | { |
| 748 | { |
| 749 | .eraseblocks = { {4 * 1024, 512} }, |
| 750 | .block_erase = spi_block_erase_20, |
| 751 | }, { |
| 752 | .eraseblocks = { {32 * 1024, 64} }, |
| 753 | .block_erase = spi_block_erase_52, |
| 754 | }, { |
| 755 | .eraseblocks = { {64 * 1024, 32} }, |
| 756 | .block_erase = spi_block_erase_d8, |
| 757 | }, { |
| 758 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 759 | .block_erase = spi_block_erase_60, |
| 760 | }, { |
| 761 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 762 | .block_erase = spi_block_erase_c7, |
| 763 | } |
| 764 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 765 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 766 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 767 | }, |
| 768 | |
| 769 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 770 | /*{ |
| 771 | .vendor = "Atmel", |
| 772 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 773 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 774 | .manufacture_id = ATMEL_ID, |
| 775 | .model_id = AT_26DF321, |
| 776 | .total_size = 4096, |
| 777 | .page_size = 256, |
| 778 | .tested = TEST_UNTESTED, |
| 779 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 780 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 781 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 782 | .read = spi_chip_read, |
| 783 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 784 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 785 | { |
| 786 | .vendor = "Atmel", |
| 787 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 788 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 789 | .manufacture_id = ATMEL_ID, |
| 790 | .model_id = AT_26F004, |
| 791 | .total_size = 512, |
| 792 | .page_size = 256, |
| 793 | .tested = TEST_UNTESTED, |
| 794 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 795 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 796 | .block_erasers = |
| 797 | { |
| 798 | { |
| 799 | .eraseblocks = { {4 * 1024, 128} }, |
| 800 | .block_erase = spi_block_erase_20, |
| 801 | }, { |
| 802 | .eraseblocks = { {32 * 1024, 16} }, |
| 803 | .block_erase = spi_block_erase_52, |
| 804 | }, { |
| 805 | .eraseblocks = { {64 * 1024, 8} }, |
| 806 | .block_erase = spi_block_erase_d8, |
| 807 | }, { |
| 808 | .eraseblocks = { {512 * 1024, 1} }, |
| 809 | .block_erase = spi_block_erase_60, |
| 810 | }, { |
| 811 | .eraseblocks = { {512 * 1024, 1} }, |
| 812 | .block_erase = spi_block_erase_c7, |
| 813 | } |
| 814 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 815 | .write = NULL /* Incompatible Page write */, |
| 816 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 817 | }, |
| 818 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 819 | { |
| 820 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 821 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 822 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 823 | .manufacture_id = ATMEL_ID, |
| 824 | .model_id = AT_29C512, |
| 825 | .total_size = 64, |
| 826 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 827 | .feature_bits = FEATURE_LONG_RESET, |
| 828 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 829 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 830 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 831 | .block_erasers = |
| 832 | { |
| 833 | { |
| 834 | .eraseblocks = { {64 * 1024, 1} }, |
| 835 | .block_erase = erase_chip_block_jedec, |
| 836 | } |
| 837 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 838 | .write = write_jedec, |
| 839 | .read = read_memmapped, |
| 840 | |
| 841 | }, |
| 842 | |
| 843 | { |
| 844 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 845 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 846 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 847 | .manufacture_id = ATMEL_ID, |
| 848 | .model_id = AT_29C010A, |
| 849 | .total_size = 128, |
| 850 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 851 | .feature_bits = FEATURE_LONG_RESET, |
| 852 | .tested = TEST_UNTESTED, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 853 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 854 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 855 | .block_erasers = |
| 856 | { |
| 857 | { |
| 858 | .eraseblocks = { {128 * 1024, 1} }, |
| 859 | .block_erase = erase_chip_block_jedec, |
| 860 | } |
| 861 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 862 | .write = write_jedec, /* FIXME */ |
| 863 | .read = read_memmapped, |
| 864 | }, |
| 865 | |
| 866 | { |
| 867 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 868 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 869 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 870 | .manufacture_id = ATMEL_ID, |
| 871 | .model_id = AT_29C020, |
| 872 | .total_size = 256, |
| 873 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 874 | .feature_bits = FEATURE_LONG_RESET, |
| 875 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 876 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 877 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 878 | .block_erasers = |
| 879 | { |
| 880 | { |
| 881 | .eraseblocks = { {256 * 1024, 1} }, |
| 882 | .block_erase = erase_chip_block_jedec, |
| 883 | } |
| 884 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 885 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 886 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 887 | }, |
| 888 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 889 | { |
| 890 | .vendor = "Atmel", |
| 891 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 892 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 893 | .manufacture_id = ATMEL_ID, |
| 894 | .model_id = AT_29C040A, |
| 895 | .total_size = 512, |
| 896 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 897 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 898 | .tested = TEST_UNTESTED, |
| 899 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 900 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 901 | .block_erasers = |
| 902 | { |
| 903 | { |
| 904 | .eraseblocks = { {512 * 1024, 1} }, |
| 905 | .block_erase = erase_chip_block_jedec, |
| 906 | } |
| 907 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 908 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 909 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 910 | }, |
| 911 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 912 | { |
| 913 | .vendor = "Atmel", |
| 914 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 915 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 916 | .manufacture_id = ATMEL_ID, |
| 917 | .model_id = AT_45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 918 | .total_size = 16896 /* No power of two sizes */, |
| 919 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 920 | .tested = TEST_BAD_READ, |
| 921 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 922 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 923 | .write = NULL /* Incompatible Page write */, |
| 924 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 925 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 926 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 927 | { |
| 928 | .vendor = "Atmel", |
| 929 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 930 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 931 | .manufacture_id = ATMEL_ID, |
| 932 | .model_id = AT_45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 933 | .total_size = 128 /* Size can only be determined from status register */, |
| 934 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 935 | .tested = TEST_BAD_READ, |
| 936 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 937 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 938 | .write = NULL, |
| 939 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 940 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 941 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 942 | { |
| 943 | .vendor = "Atmel", |
| 944 | .name = "AT45DB021D", |
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_45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 948 | .total_size = 256 /* Size can only be determined from status register */, |
| 949 | .page_size = 256 /* Size can only be determined from status register */, |
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 | .write = NULL, |
| 954 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 955 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 956 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 957 | { |
| 958 | .vendor = "Atmel", |
| 959 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 960 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 961 | .manufacture_id = ATMEL_ID, |
| 962 | .model_id = AT_45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 963 | .total_size = 512 /* Size can only be determined from status register */, |
| 964 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 965 | .tested = TEST_BAD_READ, |
| 966 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 967 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 968 | .write = NULL, |
| 969 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 970 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 971 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 972 | { |
| 973 | .vendor = "Atmel", |
| 974 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 975 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 976 | .manufacture_id = ATMEL_ID, |
| 977 | .model_id = AT_45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 978 | .total_size = 1024 /* Size can only be determined from status register */, |
| 979 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 980 | .tested = TEST_BAD_READ, |
| 981 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 982 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 983 | .write = NULL, |
| 984 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 985 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 986 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 987 | { |
| 988 | .vendor = "Atmel", |
| 989 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 990 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 991 | .manufacture_id = ATMEL_ID, |
| 992 | .model_id = AT_45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 993 | .total_size = 2048 /* Size can only be determined from status register */, |
| 994 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 995 | .tested = TEST_BAD_READ, |
| 996 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 997 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 998 | .write = NULL, |
| 999 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1000 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1001 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1002 | { |
| 1003 | .vendor = "Atmel", |
| 1004 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1005 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1006 | .manufacture_id = ATMEL_ID, |
| 1007 | .model_id = AT_45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1008 | .total_size = 4224 /* No power of two sizes */, |
| 1009 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1010 | .tested = TEST_BAD_READ, |
| 1011 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1012 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1013 | .write = NULL, |
| 1014 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1015 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1016 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1017 | { |
| 1018 | .vendor = "Atmel", |
| 1019 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1020 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1021 | .manufacture_id = ATMEL_ID, |
| 1022 | .model_id = AT_45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1023 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1024 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1025 | .tested = TEST_BAD_READ, |
| 1026 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1027 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1028 | .write = NULL, |
| 1029 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1030 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1031 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1032 | { |
| 1033 | .vendor = "Atmel", |
| 1034 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1035 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1036 | .manufacture_id = ATMEL_ID, |
| 1037 | .model_id = AT_45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1038 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1039 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1040 | .tested = TEST_BAD_READ, |
| 1041 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1042 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1043 | .write = NULL, |
| 1044 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1045 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1046 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1047 | { |
| 1048 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1049 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1050 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1051 | .manufacture_id = ATMEL_ID, |
| 1052 | .model_id = AT_49BV512, |
| 1053 | .total_size = 64, |
| 1054 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1055 | .feature_bits = FEATURE_EITHER_RESET, |
| 1056 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1057 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1058 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1059 | .block_erasers = |
| 1060 | { |
| 1061 | { |
| 1062 | .eraseblocks = { {64 * 1024, 1} }, |
| 1063 | .block_erase = erase_chip_block_jedec, |
| 1064 | } |
| 1065 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1066 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1067 | .read = read_memmapped, |
| 1068 | }, |
| 1069 | |
| 1070 | { |
| 1071 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1072 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1073 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1074 | .manufacture_id = ATMEL_ID, |
| 1075 | .model_id = AT_49F002N, |
| 1076 | .total_size = 256, |
| 1077 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1078 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1079 | .tested = TEST_UNTESTED, |
| 1080 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1081 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1082 | .block_erasers = |
| 1083 | { |
| 1084 | { |
| 1085 | .eraseblocks = { |
| 1086 | {16 * 1024, 1}, |
| 1087 | {8 * 1024, 2}, |
| 1088 | {96 * 1024, 1}, |
| 1089 | {128 * 1024, 1}, |
| 1090 | }, |
| 1091 | .block_erase = erase_sector_jedec, |
| 1092 | }, { |
| 1093 | .eraseblocks = { {256 * 1024, 1} }, |
| 1094 | .block_erase = erase_chip_block_jedec, |
| 1095 | } |
| 1096 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1097 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1098 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1099 | }, |
| 1100 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1101 | { |
| 1102 | .vendor = "Atmel", |
| 1103 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1104 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1105 | .manufacture_id = ATMEL_ID, |
| 1106 | .model_id = AT_49F002NT, |
| 1107 | .total_size = 256, |
| 1108 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1109 | .feature_bits = FEATURE_EITHER_RESET, |
| 1110 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1111 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1112 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1113 | .block_erasers = |
| 1114 | { |
| 1115 | { |
| 1116 | .eraseblocks = { |
| 1117 | {128 * 1024, 1}, |
| 1118 | {96 * 1024, 1}, |
| 1119 | {8 * 1024, 2}, |
| 1120 | {16 * 1024, 1}, |
| 1121 | }, |
| 1122 | .block_erase = erase_sector_jedec, |
| 1123 | }, { |
| 1124 | .eraseblocks = { {256 * 1024, 1} }, |
| 1125 | .block_erase = erase_chip_block_jedec, |
| 1126 | } |
| 1127 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1128 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1129 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1130 | }, |
| 1131 | |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1132 | /* The next two chip definitions have top/bottom boot blocks, but has no |
| 1133 | device differenciation between the two */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1134 | { |
| 1135 | .vendor = "AMIC", |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1136 | .name = "A25L40PT", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1137 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1138 | .manufacture_id = AMIC_ID, |
| 1139 | .model_id = AMIC_A25L40P, |
| 1140 | .total_size = 512, |
| 1141 | .page_size = 256, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1142 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1143 | .probe = probe_spi_rdid4, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1144 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1145 | .block_erasers = |
| 1146 | { |
| 1147 | { |
| 1148 | .eraseblocks = { |
| 1149 | {64 * 1024, 7}, |
| 1150 | {32 * 1024, 1}, |
| 1151 | {16 * 1024, 1}, |
| 1152 | {8 * 1024, 1}, |
| 1153 | {4 * 1024, 2}, |
| 1154 | }, |
| 1155 | .block_erase = spi_block_erase_d8, |
| 1156 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1157 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1158 | .block_erase = spi_block_erase_c7, |
| 1159 | } |
| 1160 | }, |
| 1161 | .write = spi_chip_write_256, |
| 1162 | .read = spi_chip_read, |
| 1163 | }, |
| 1164 | |
| 1165 | { |
| 1166 | .vendor = "AMIC", |
| 1167 | .name = "A25L40PU", |
| 1168 | .bustype = CHIP_BUSTYPE_SPI, |
| 1169 | .manufacture_id = AMIC_ID, |
| 1170 | .model_id = AMIC_A25L40P, |
| 1171 | .total_size = 512, |
| 1172 | .page_size = 256, |
| 1173 | .tested = TEST_OK_PRW, |
| 1174 | .probe = probe_spi_rdid4, |
| 1175 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1176 | .block_erasers = |
| 1177 | { |
| 1178 | { |
| 1179 | .eraseblocks = { |
| 1180 | {4 * 1024, 2}, |
| 1181 | {8 * 1024, 1}, |
| 1182 | {16 * 1024, 1}, |
| 1183 | {32 * 1024, 1}, |
| 1184 | {64 * 1024, 7}, |
| 1185 | }, |
| 1186 | .block_erase = spi_block_erase_d8, |
| 1187 | }, { |
Sean Nelson | 2aff7aa | 2010-01-18 08:24:02 +0000 | [diff] [blame] | 1188 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1189 | .block_erase = spi_block_erase_c7, |
| 1190 | } |
| 1191 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1192 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1193 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1194 | }, |
| 1195 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1196 | { |
| 1197 | .vendor = "AMIC", |
| 1198 | .name = "A29002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1199 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1200 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1201 | .model_id = AMIC_A29002B, |
| 1202 | .total_size = 256, |
| 1203 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1204 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1205 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1206 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1207 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1208 | .block_erasers = |
| 1209 | { |
| 1210 | { |
| 1211 | .eraseblocks = { |
| 1212 | {16 * 1024, 1}, |
| 1213 | {8 * 1024, 2}, |
| 1214 | {32 * 1024, 1}, |
| 1215 | {64 * 1024, 3}, |
| 1216 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1217 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1218 | }, { |
| 1219 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1220 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1221 | }, |
| 1222 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1223 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1224 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1225 | }, |
| 1226 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1227 | { |
| 1228 | .vendor = "AMIC", |
| 1229 | .name = "A29002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1230 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1231 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1232 | .model_id = AMIC_A29002T, |
| 1233 | .total_size = 256, |
| 1234 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1235 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1236 | .tested = TEST_UNTESTED, |
| 1237 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1238 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1239 | .block_erasers = |
| 1240 | { |
| 1241 | { |
| 1242 | .eraseblocks = { |
| 1243 | {64 * 1024, 3}, |
| 1244 | {32 * 1024, 1}, |
| 1245 | {8 * 1024, 2}, |
| 1246 | {16 * 1024, 1}, |
| 1247 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1248 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1249 | }, { |
| 1250 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1251 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1252 | }, |
| 1253 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 1254 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1255 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1256 | }, |
| 1257 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1258 | { |
| 1259 | .vendor = "AMIC", |
| 1260 | .name = "A29040B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1261 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1262 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1263 | .model_id = AMIC_A29040B, |
| 1264 | .total_size = 512, |
| 1265 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1266 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 1267 | .tested = TEST_UNTESTED, |
| 1268 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1269 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1270 | .block_erasers = |
| 1271 | { |
| 1272 | { |
| 1273 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1274 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1275 | }, { |
| 1276 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1277 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 1278 | }, |
| 1279 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1280 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1281 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1282 | }, |
| 1283 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1284 | { |
| 1285 | .vendor = "AMIC", |
| 1286 | .name = "A49LF040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1287 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1288 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 1289 | .model_id = AMIC_A49LF040A, |
| 1290 | .total_size = 512, |
| 1291 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1292 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 1293 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1294 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1295 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1296 | .block_erasers = |
| 1297 | { |
| 1298 | { |
| 1299 | .eraseblocks = { {64 * 1024, 8} }, |
| 1300 | .block_erase = erase_block_jedec, |
| 1301 | }, { |
| 1302 | .eraseblocks = { {512 * 1024, 1} }, |
| 1303 | .block_erase = erase_chip_block_jedec, |
| 1304 | } |
| 1305 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1306 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1307 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1308 | }, |
| 1309 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1310 | { |
| 1311 | .vendor = "EMST", |
| 1312 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1313 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1314 | .manufacture_id = EMST_ID, |
| 1315 | .model_id = EMST_F49B002UA, |
| 1316 | .total_size = 256, |
| 1317 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1318 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1319 | .tested = TEST_UNTESTED, |
| 1320 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1321 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1322 | .block_erasers = |
| 1323 | { |
| 1324 | { |
| 1325 | .eraseblocks = { |
| 1326 | {128 * 1024, 1}, |
| 1327 | {96 * 1024, 1}, |
| 1328 | {8 * 1024, 2}, |
| 1329 | {16 * 1024, 1}, |
| 1330 | }, |
| 1331 | .block_erase = erase_sector_jedec, |
| 1332 | }, { |
| 1333 | .eraseblocks = { {256 * 1024, 1} }, |
| 1334 | .block_erase = erase_chip_block_jedec, |
| 1335 | } |
| 1336 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1337 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1338 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1339 | }, |
| 1340 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1341 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1342 | .vendor = "Eon", |
| 1343 | .name = "EN25B05", |
| 1344 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1345 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1346 | .model_id = EN_25B05, |
| 1347 | .total_size = 64, |
| 1348 | .page_size = 256, |
| 1349 | .tested = TEST_UNTESTED, |
| 1350 | .probe = probe_spi_rdid, |
| 1351 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1352 | .block_erasers = |
| 1353 | { |
| 1354 | { |
| 1355 | .eraseblocks = { |
| 1356 | {4 * 1024, 2}, |
| 1357 | {8 * 1024, 1}, |
| 1358 | {16 * 1024, 1}, |
| 1359 | {32 * 1024, 1}, |
| 1360 | }, |
| 1361 | .block_erase = spi_block_erase_d8, |
| 1362 | }, { |
| 1363 | .eraseblocks = { {64 * 1024, 1} }, |
| 1364 | .block_erase = spi_block_erase_c7, |
| 1365 | } |
| 1366 | }, |
| 1367 | .write = spi_chip_write_256, |
| 1368 | .read = spi_chip_read, |
| 1369 | }, |
| 1370 | |
| 1371 | { |
| 1372 | .vendor = "Eon", |
| 1373 | .name = "EN25B05T", |
| 1374 | .bustype = CHIP_BUSTYPE_SPI, |
| 1375 | .manufacture_id = EON_ID_NOPREFIX, |
| 1376 | .model_id = EN_25B05, |
| 1377 | .total_size = 64, |
| 1378 | .page_size = 256, |
| 1379 | .tested = TEST_UNTESTED, |
| 1380 | .probe = probe_spi_rdid, |
| 1381 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1382 | .block_erasers = |
| 1383 | { |
| 1384 | { |
| 1385 | .eraseblocks = { |
| 1386 | {32 * 1024, 1}, |
| 1387 | {16 * 1024, 1}, |
| 1388 | {8 * 1024, 1}, |
| 1389 | {4 * 1024, 2}, |
| 1390 | }, |
| 1391 | .block_erase = spi_block_erase_d8, |
| 1392 | }, { |
| 1393 | .eraseblocks = { {64 * 1024, 1} }, |
| 1394 | .block_erase = spi_block_erase_c7, |
| 1395 | } |
| 1396 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1397 | .write = spi_chip_write_256, |
| 1398 | .read = spi_chip_read, |
| 1399 | }, |
| 1400 | |
| 1401 | { |
| 1402 | .vendor = "Eon", |
| 1403 | .name = "EN25B10", |
| 1404 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1405 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1406 | .model_id = EN_25B10, |
| 1407 | .total_size = 128, |
| 1408 | .page_size = 256, |
| 1409 | .tested = TEST_UNTESTED, |
| 1410 | .probe = probe_spi_rdid, |
| 1411 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1412 | .block_erasers = |
| 1413 | { |
| 1414 | { |
| 1415 | .eraseblocks = { |
| 1416 | {4 * 1024, 2}, |
| 1417 | {8 * 1024, 1}, |
| 1418 | {16 * 1024, 1}, |
| 1419 | {32 * 1024, 3}, |
| 1420 | }, |
| 1421 | .block_erase = spi_block_erase_d8, |
| 1422 | }, { |
| 1423 | .eraseblocks = { {128 * 1024, 1} }, |
| 1424 | .block_erase = spi_block_erase_c7, |
| 1425 | } |
| 1426 | }, |
| 1427 | .write = spi_chip_write_256, |
| 1428 | .read = spi_chip_read, |
| 1429 | }, |
| 1430 | |
| 1431 | { |
| 1432 | .vendor = "Eon", |
| 1433 | .name = "EN25B10T", |
| 1434 | .bustype = CHIP_BUSTYPE_SPI, |
| 1435 | .manufacture_id = EON_ID_NOPREFIX, |
| 1436 | .model_id = EN_25B10, |
| 1437 | .total_size = 128, |
| 1438 | .page_size = 256, |
| 1439 | .tested = TEST_UNTESTED, |
| 1440 | .probe = probe_spi_rdid, |
| 1441 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1442 | .block_erasers = |
| 1443 | { |
| 1444 | { |
| 1445 | .eraseblocks = { |
| 1446 | {32 * 1024, 3}, |
| 1447 | {16 * 1024, 1}, |
| 1448 | {8 * 1024, 1}, |
| 1449 | {4 * 1024, 2}, |
| 1450 | }, |
| 1451 | .block_erase = spi_block_erase_d8, |
| 1452 | }, { |
| 1453 | .eraseblocks = { {128 * 1024, 1} }, |
| 1454 | .block_erase = spi_block_erase_c7, |
| 1455 | } |
| 1456 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1457 | .write = spi_chip_write_256, |
| 1458 | .read = spi_chip_read, |
| 1459 | }, |
| 1460 | |
| 1461 | { |
| 1462 | .vendor = "Eon", |
| 1463 | .name = "EN25B20", |
| 1464 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1465 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1466 | .model_id = EN_25B20, |
| 1467 | .total_size = 256, |
| 1468 | .page_size = 256, |
| 1469 | .tested = TEST_UNTESTED, |
| 1470 | .probe = probe_spi_rdid, |
| 1471 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1472 | .block_erasers = |
| 1473 | { |
| 1474 | { |
| 1475 | .eraseblocks = { |
| 1476 | {4 * 1024, 2}, |
| 1477 | {8 * 1024, 1}, |
| 1478 | {16 * 1024, 1}, |
| 1479 | {32 * 1024, 1}, |
| 1480 | {64 * 1024, 3} |
| 1481 | }, |
| 1482 | .block_erase = spi_block_erase_d8, |
| 1483 | }, { |
| 1484 | .eraseblocks = { {256 * 1024, 1} }, |
| 1485 | .block_erase = spi_block_erase_c7, |
| 1486 | } |
| 1487 | }, |
| 1488 | .write = spi_chip_write_256, |
| 1489 | .read = spi_chip_read, |
| 1490 | }, |
| 1491 | |
| 1492 | { |
| 1493 | .vendor = "Eon", |
| 1494 | .name = "EN25B20T", |
| 1495 | .bustype = CHIP_BUSTYPE_SPI, |
| 1496 | .manufacture_id = EON_ID_NOPREFIX, |
| 1497 | .model_id = EN_25B20, |
| 1498 | .total_size = 256, |
| 1499 | .page_size = 256, |
| 1500 | .tested = TEST_UNTESTED, |
| 1501 | .probe = probe_spi_rdid, |
| 1502 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1503 | .block_erasers = |
| 1504 | { |
| 1505 | { |
| 1506 | .eraseblocks = { |
| 1507 | {64 * 1024, 3}, |
| 1508 | {32 * 1024, 1}, |
| 1509 | {16 * 1024, 1}, |
| 1510 | {8 * 1024, 1}, |
| 1511 | {4 * 1024, 2}, |
| 1512 | }, |
| 1513 | .block_erase = spi_block_erase_d8, |
| 1514 | }, { |
| 1515 | .eraseblocks = { {256 * 1024, 1} }, |
| 1516 | .block_erase = spi_block_erase_c7, |
| 1517 | } |
| 1518 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1519 | .write = spi_chip_write_256, |
| 1520 | .read = spi_chip_read, |
| 1521 | }, |
| 1522 | |
| 1523 | { |
| 1524 | .vendor = "Eon", |
| 1525 | .name = "EN25B40", |
| 1526 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1527 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1528 | .model_id = EN_25B40, |
| 1529 | .total_size = 512, |
| 1530 | .page_size = 256, |
| 1531 | .tested = TEST_UNTESTED, |
| 1532 | .probe = probe_spi_rdid, |
| 1533 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1534 | .block_erasers = |
| 1535 | { |
| 1536 | { |
| 1537 | .eraseblocks = { |
| 1538 | {4 * 1024, 2}, |
| 1539 | {8 * 1024, 1}, |
| 1540 | {16 * 1024, 1}, |
| 1541 | {32 * 1024, 1}, |
| 1542 | {64 * 1024, 7} |
| 1543 | }, |
| 1544 | .block_erase = spi_block_erase_d8, |
| 1545 | }, { |
| 1546 | .eraseblocks = { {512 * 1024, 1} }, |
| 1547 | .block_erase = spi_block_erase_c7, |
| 1548 | } |
| 1549 | }, |
| 1550 | .write = spi_chip_write_256, |
| 1551 | .read = spi_chip_read, |
| 1552 | }, |
| 1553 | |
| 1554 | { |
| 1555 | .vendor = "Eon", |
| 1556 | .name = "EN25B40T", |
| 1557 | .bustype = CHIP_BUSTYPE_SPI, |
| 1558 | .manufacture_id = EON_ID_NOPREFIX, |
| 1559 | .model_id = EN_25B40, |
| 1560 | .total_size = 512, |
| 1561 | .page_size = 256, |
| 1562 | .tested = TEST_UNTESTED, |
| 1563 | .probe = probe_spi_rdid, |
| 1564 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1565 | .block_erasers = |
| 1566 | { |
| 1567 | { |
| 1568 | .eraseblocks = { |
| 1569 | {64 * 1024, 7}, |
| 1570 | {32 * 1024, 1}, |
| 1571 | {16 * 1024, 1}, |
| 1572 | {8 * 1024, 1}, |
| 1573 | {4 * 1024, 2}, |
| 1574 | }, |
| 1575 | .block_erase = spi_block_erase_d8, |
| 1576 | }, { |
| 1577 | .eraseblocks = { {512 * 1024, 1} }, |
| 1578 | .block_erase = spi_block_erase_c7, |
| 1579 | } |
| 1580 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1581 | .write = spi_chip_write_256, |
| 1582 | .read = spi_chip_read, |
| 1583 | }, |
| 1584 | |
| 1585 | { |
| 1586 | .vendor = "Eon", |
| 1587 | .name = "EN25B80", |
| 1588 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1589 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1590 | .model_id = EN_25B80, |
| 1591 | .total_size = 1024, |
| 1592 | .page_size = 256, |
| 1593 | .tested = TEST_UNTESTED, |
| 1594 | .probe = probe_spi_rdid, |
| 1595 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1596 | .block_erasers = |
| 1597 | { |
| 1598 | { |
| 1599 | .eraseblocks = { |
| 1600 | {4 * 1024, 2}, |
| 1601 | {8 * 1024, 1}, |
| 1602 | {16 * 1024, 1}, |
| 1603 | {32 * 1024, 1}, |
| 1604 | {64 * 1024, 15} |
| 1605 | }, |
| 1606 | .block_erase = spi_block_erase_d8, |
| 1607 | }, { |
| 1608 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1609 | .block_erase = spi_block_erase_c7, |
| 1610 | } |
| 1611 | }, |
| 1612 | .write = spi_chip_write_256, |
| 1613 | .read = spi_chip_read, |
| 1614 | }, |
| 1615 | |
| 1616 | { |
| 1617 | .vendor = "Eon", |
| 1618 | .name = "EN25B80T", |
| 1619 | .bustype = CHIP_BUSTYPE_SPI, |
| 1620 | .manufacture_id = EON_ID_NOPREFIX, |
| 1621 | .model_id = EN_25B80, |
| 1622 | .total_size = 1024, |
| 1623 | .page_size = 256, |
| 1624 | .tested = TEST_UNTESTED, |
| 1625 | .probe = probe_spi_rdid, |
| 1626 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1627 | .block_erasers = |
| 1628 | { |
| 1629 | { |
| 1630 | .eraseblocks = { |
| 1631 | {64 * 1024, 15}, |
| 1632 | {32 * 1024, 1}, |
| 1633 | {16 * 1024, 1}, |
| 1634 | {8 * 1024, 1}, |
| 1635 | {4 * 1024, 2}, |
| 1636 | }, |
| 1637 | .block_erase = spi_block_erase_d8, |
| 1638 | }, { |
| 1639 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1640 | .block_erase = spi_block_erase_c7, |
| 1641 | } |
| 1642 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1643 | .write = spi_chip_write_256, |
| 1644 | .read = spi_chip_read, |
| 1645 | }, |
| 1646 | |
| 1647 | { |
| 1648 | .vendor = "Eon", |
| 1649 | .name = "EN25B16", |
| 1650 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1651 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1652 | .model_id = EN_25B16, |
| 1653 | .total_size = 2048, |
| 1654 | .page_size = 256, |
| 1655 | .tested = TEST_UNTESTED, |
| 1656 | .probe = probe_spi_rdid, |
| 1657 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1658 | .block_erasers = |
| 1659 | { |
| 1660 | { |
| 1661 | .eraseblocks = { |
| 1662 | {4 * 1024, 2}, |
| 1663 | {8 * 1024, 1}, |
| 1664 | {16 * 1024, 1}, |
| 1665 | {32 * 1024, 1}, |
| 1666 | {64 * 1024, 31}, |
| 1667 | }, |
| 1668 | .block_erase = spi_block_erase_d8, |
| 1669 | }, { |
| 1670 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1671 | .block_erase = spi_block_erase_c7, |
| 1672 | } |
| 1673 | }, |
| 1674 | .write = spi_chip_write_256, |
| 1675 | .read = spi_chip_read, |
| 1676 | }, |
| 1677 | |
| 1678 | { |
| 1679 | .vendor = "Eon", |
| 1680 | .name = "EN25B16T", |
| 1681 | .bustype = CHIP_BUSTYPE_SPI, |
| 1682 | .manufacture_id = EON_ID_NOPREFIX, |
| 1683 | .model_id = EN_25B16, |
| 1684 | .total_size = 2048, |
| 1685 | .page_size = 256, |
| 1686 | .tested = TEST_UNTESTED, |
| 1687 | .probe = probe_spi_rdid, |
| 1688 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1689 | .block_erasers = |
| 1690 | { |
| 1691 | { |
| 1692 | .eraseblocks = { |
| 1693 | {64 * 1024, 31}, |
| 1694 | {32 * 1024, 1}, |
| 1695 | {16 * 1024, 1}, |
| 1696 | {8 * 1024, 1}, |
| 1697 | {4 * 1024, 2}, |
| 1698 | }, |
| 1699 | .block_erase = spi_block_erase_d8, |
| 1700 | }, { |
| 1701 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1702 | .block_erase = spi_block_erase_c7, |
| 1703 | } |
| 1704 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1705 | .write = spi_chip_write_256, |
| 1706 | .read = spi_chip_read, |
| 1707 | }, |
| 1708 | |
| 1709 | { |
| 1710 | .vendor = "Eon", |
| 1711 | .name = "EN25B32", |
| 1712 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1713 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1714 | .model_id = EN_25B32, |
| 1715 | .total_size = 4096, |
| 1716 | .page_size = 256, |
| 1717 | .tested = TEST_UNTESTED, |
| 1718 | .probe = probe_spi_rdid, |
| 1719 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1720 | .block_erasers = |
| 1721 | { |
| 1722 | { |
| 1723 | .eraseblocks = { |
| 1724 | {4 * 1024, 2}, |
| 1725 | {8 * 1024, 1}, |
| 1726 | {16 * 1024, 1}, |
| 1727 | {32 * 1024, 1}, |
| 1728 | {64 * 1024, 63}, |
| 1729 | }, |
| 1730 | .block_erase = spi_block_erase_d8, |
| 1731 | }, { |
| 1732 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1733 | .block_erase = spi_block_erase_c7, |
| 1734 | } |
| 1735 | }, |
| 1736 | .write = spi_chip_write_256, |
| 1737 | .read = spi_chip_read, |
| 1738 | }, |
| 1739 | |
| 1740 | { |
| 1741 | .vendor = "Eon", |
| 1742 | .name = "EN25B32T", |
| 1743 | .bustype = CHIP_BUSTYPE_SPI, |
| 1744 | .manufacture_id = EON_ID_NOPREFIX, |
| 1745 | .model_id = EN_25B32, |
| 1746 | .total_size = 4096, |
| 1747 | .page_size = 256, |
| 1748 | .tested = TEST_UNTESTED, |
| 1749 | .probe = probe_spi_rdid, |
| 1750 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1751 | .block_erasers = |
| 1752 | { |
| 1753 | { |
| 1754 | .eraseblocks = { |
| 1755 | {64 * 1024, 63}, |
| 1756 | {32 * 1024, 1}, |
| 1757 | {16 * 1024, 1}, |
| 1758 | {8 * 1024, 1}, |
| 1759 | {4 * 1024, 2}, |
| 1760 | }, |
| 1761 | .block_erase = spi_block_erase_d8, |
| 1762 | }, { |
| 1763 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1764 | .block_erase = spi_block_erase_c7, |
| 1765 | } |
| 1766 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1767 | .write = spi_chip_write_256, |
| 1768 | .read = spi_chip_read, |
| 1769 | }, |
| 1770 | |
| 1771 | { |
| 1772 | .vendor = "Eon", |
| 1773 | .name = "EN25B64", |
| 1774 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1775 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1776 | .model_id = EN_25B64, |
| 1777 | .total_size = 8192, |
| 1778 | .page_size = 256, |
| 1779 | .tested = TEST_UNTESTED, |
| 1780 | .probe = probe_spi_rdid, |
| 1781 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 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, 127}, |
| 1791 | }, |
| 1792 | .block_erase = spi_block_erase_d8, |
| 1793 | }, { |
| 1794 | .eraseblocks = { {8 * 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 = "EN25B64T", |
| 1805 | .bustype = CHIP_BUSTYPE_SPI, |
| 1806 | .manufacture_id = EON_ID_NOPREFIX, |
| 1807 | .model_id = EN_25B64, |
| 1808 | .total_size = 8192, |
| 1809 | .page_size = 256, |
| 1810 | .tested = TEST_UNTESTED, |
| 1811 | .probe = probe_spi_rdid, |
| 1812 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1813 | .block_erasers = |
| 1814 | { |
| 1815 | { |
| 1816 | .eraseblocks = { |
| 1817 | {64 * 1024, 127}, |
| 1818 | {32 * 1024, 1}, |
| 1819 | {16 * 1024, 1}, |
| 1820 | {8 * 1024, 1}, |
| 1821 | {4 * 1024, 2}, |
| 1822 | }, |
| 1823 | .block_erase = spi_block_erase_d8, |
| 1824 | }, { |
| 1825 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1826 | .block_erase = spi_block_erase_c7, |
| 1827 | } |
| 1828 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1829 | .write = spi_chip_write_256, |
| 1830 | .read = spi_chip_read, |
| 1831 | }, |
| 1832 | |
| 1833 | { |
| 1834 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1835 | .name = "EN25D16", |
| 1836 | .bustype = CHIP_BUSTYPE_SPI, |
| 1837 | .manufacture_id = EON_ID_NOPREFIX, |
| 1838 | .model_id = EN_25D16, |
| 1839 | .total_size = 2048, |
| 1840 | .page_size = 256, |
| 1841 | .tested = TEST_UNTESTED, |
| 1842 | .probe = probe_spi_rdid, |
| 1843 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1844 | .block_erasers = |
| 1845 | { |
| 1846 | { |
| 1847 | .eraseblocks = { {4 * 1024, 512} }, |
| 1848 | .block_erase = spi_block_erase_20, |
| 1849 | }, { |
| 1850 | .eraseblocks = { {64 * 1024, 32} }, |
| 1851 | .block_erase = spi_block_erase_d8, |
| 1852 | }, { |
| 1853 | .eraseblocks = { {64 * 1024, 32} }, |
| 1854 | .block_erase = spi_block_erase_52, |
| 1855 | }, { |
| 1856 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1857 | .block_erase = spi_block_erase_60, |
| 1858 | }, { |
| 1859 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1860 | .block_erase = spi_block_erase_c7, |
| 1861 | } |
| 1862 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1863 | .write = spi_chip_write_256, |
| 1864 | .read = spi_chip_read, |
| 1865 | }, |
| 1866 | |
| 1867 | { |
| 1868 | .vendor = "Eon", |
| 1869 | .name = "EN25F05", |
| 1870 | .bustype = CHIP_BUSTYPE_SPI, |
| 1871 | .manufacture_id = EON_ID_NOPREFIX, |
| 1872 | .model_id = EN_25F05, |
| 1873 | .total_size = 64, |
| 1874 | .page_size = 256, |
| 1875 | .tested = TEST_UNTESTED, |
| 1876 | .probe = probe_spi_rdid, |
| 1877 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1878 | .block_erasers = |
| 1879 | { |
| 1880 | { |
| 1881 | .eraseblocks = { {4 * 1024, 16} }, |
| 1882 | .block_erase = spi_block_erase_20, |
| 1883 | }, { |
| 1884 | .eraseblocks = { {32 * 1024, 2} }, |
| 1885 | .block_erase = spi_block_erase_d8, |
| 1886 | }, { |
| 1887 | .eraseblocks = { {32 * 1024, 2} }, |
| 1888 | .block_erase = spi_block_erase_52, |
| 1889 | }, { |
| 1890 | .eraseblocks = { {64 * 1024, 1} }, |
| 1891 | .block_erase = spi_block_erase_60, |
| 1892 | }, { |
| 1893 | .eraseblocks = { {64 * 1024, 1} }, |
| 1894 | .block_erase = spi_block_erase_c7, |
| 1895 | } |
| 1896 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1897 | .write = spi_chip_write_256, |
| 1898 | .read = spi_chip_read, |
| 1899 | }, |
| 1900 | |
| 1901 | { |
| 1902 | .vendor = "Eon", |
| 1903 | .name = "EN25F10", |
| 1904 | .bustype = CHIP_BUSTYPE_SPI, |
| 1905 | .manufacture_id = EON_ID_NOPREFIX, |
| 1906 | .model_id = EN_25F10, |
| 1907 | .total_size = 128, |
| 1908 | .page_size = 256, |
| 1909 | .tested = TEST_UNTESTED, |
| 1910 | .probe = probe_spi_rdid, |
| 1911 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1912 | .block_erasers = |
| 1913 | { |
| 1914 | { |
| 1915 | .eraseblocks = { {4 * 1024, 32} }, |
| 1916 | .block_erase = spi_block_erase_20, |
| 1917 | }, { |
| 1918 | .eraseblocks = { {32 * 1024, 4} }, |
| 1919 | .block_erase = spi_block_erase_d8, |
| 1920 | }, { |
| 1921 | .eraseblocks = { {32 * 1024, 4} }, |
| 1922 | .block_erase = spi_block_erase_52, |
| 1923 | }, { |
| 1924 | .eraseblocks = { {128 * 1024, 1} }, |
| 1925 | .block_erase = spi_block_erase_60, |
| 1926 | }, { |
| 1927 | .eraseblocks = { {128 * 1024, 1} }, |
| 1928 | .block_erase = spi_block_erase_c7, |
| 1929 | } |
| 1930 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1931 | .write = spi_chip_write_256, |
| 1932 | .read = spi_chip_read, |
| 1933 | }, |
| 1934 | |
| 1935 | { |
| 1936 | .vendor = "Eon", |
| 1937 | .name = "EN25F20", |
| 1938 | .bustype = CHIP_BUSTYPE_SPI, |
| 1939 | .manufacture_id = EON_ID_NOPREFIX, |
| 1940 | .model_id = EN_25F20, |
| 1941 | .total_size = 256, |
| 1942 | .page_size = 256, |
| 1943 | .tested = TEST_UNTESTED, |
| 1944 | .probe = probe_spi_rdid, |
| 1945 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1946 | .block_erasers = |
| 1947 | { |
| 1948 | { |
| 1949 | .eraseblocks = { {4 * 1024, 64} }, |
| 1950 | .block_erase = spi_block_erase_20, |
| 1951 | }, { |
| 1952 | .eraseblocks = { {64 * 1024, 4} }, |
| 1953 | .block_erase = spi_block_erase_d8, |
| 1954 | }, { |
| 1955 | .eraseblocks = { {64 * 1024, 4} }, |
| 1956 | .block_erase = spi_block_erase_52, |
| 1957 | }, { |
| 1958 | .eraseblocks = { {256 * 1024, 1} }, |
| 1959 | .block_erase = spi_block_erase_60, |
| 1960 | }, { |
| 1961 | .eraseblocks = { {256 * 1024, 1} }, |
| 1962 | .block_erase = spi_block_erase_c7, |
| 1963 | } |
| 1964 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1965 | .write = spi_chip_write_256, |
| 1966 | .read = spi_chip_read, |
| 1967 | }, |
| 1968 | |
| 1969 | { |
| 1970 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1971 | .name = "EN25F40", |
| 1972 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 1973 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1974 | .model_id = EN_25F40, |
| 1975 | .total_size = 512, |
| 1976 | .page_size = 256, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 1977 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1978 | .probe = probe_spi_rdid, |
| 1979 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1980 | .block_erasers = |
| 1981 | { |
| 1982 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1983 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1984 | .block_erase = spi_block_erase_20, |
| 1985 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1986 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1987 | .block_erase = spi_block_erase_d8, |
| 1988 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1989 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1990 | .block_erase = spi_block_erase_60, |
| 1991 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 1992 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 1993 | .block_erase = spi_block_erase_c7, |
| 1994 | }, |
| 1995 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 1996 | .write = spi_chip_write_256, |
| 1997 | .read = spi_chip_read, |
| 1998 | }, |
| 1999 | |
| 2000 | { |
| 2001 | .vendor = "Eon", |
| 2002 | .name = "EN25F80", |
| 2003 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2004 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2005 | .model_id = EN_25F80, |
| 2006 | .total_size = 1024, |
| 2007 | .page_size = 256, |
| 2008 | .tested = TEST_UNTESTED, |
| 2009 | .probe = probe_spi_rdid, |
| 2010 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2011 | .block_erasers = |
| 2012 | { |
| 2013 | { |
| 2014 | .eraseblocks = { {4 * 1024, 256} }, |
| 2015 | .block_erase = spi_block_erase_20, |
| 2016 | }, { |
| 2017 | .eraseblocks = { {64 * 1024, 16} }, |
| 2018 | .block_erase = spi_block_erase_d8, |
| 2019 | }, { |
| 2020 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2021 | .block_erase = spi_block_erase_60, |
| 2022 | }, { |
| 2023 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2024 | .block_erase = spi_block_erase_c7, |
| 2025 | } |
| 2026 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2027 | .write = spi_chip_write_256, |
| 2028 | .read = spi_chip_read, |
| 2029 | }, |
| 2030 | |
| 2031 | { |
| 2032 | .vendor = "Eon", |
| 2033 | .name = "EN25F16", |
| 2034 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2035 | .manufacture_id = EON_ID_NOPREFIX, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2036 | .model_id = EN_25F16, |
| 2037 | .total_size = 2048, |
| 2038 | .page_size = 256, |
| 2039 | .tested = TEST_UNTESTED, |
| 2040 | .probe = probe_spi_rdid, |
| 2041 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2042 | .block_erasers = |
| 2043 | { |
| 2044 | { |
| 2045 | .eraseblocks = { {4 * 1024, 512} }, |
| 2046 | .block_erase = spi_block_erase_20, |
| 2047 | }, { |
| 2048 | .eraseblocks = { {64 * 1024, 32} }, |
| 2049 | .block_erase = spi_block_erase_d8, |
| 2050 | }, { |
| 2051 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2052 | .block_erase = spi_block_erase_60, |
| 2053 | }, { |
| 2054 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2055 | .block_erase = spi_block_erase_c7, |
| 2056 | } |
| 2057 | }, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2058 | .write = spi_chip_write_256, |
| 2059 | .read = spi_chip_read, |
| 2060 | }, |
| 2061 | |
| 2062 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2063 | .vendor = "Eon", |
| 2064 | .name = "EN25F32", |
| 2065 | .bustype = CHIP_BUSTYPE_SPI, |
| 2066 | .manufacture_id = EON_ID_NOPREFIX, |
| 2067 | .model_id = EN_25F32, |
| 2068 | .total_size = 4096, |
| 2069 | .page_size = 256, |
| 2070 | .tested = TEST_UNTESTED, |
| 2071 | .probe = probe_spi_rdid, |
| 2072 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2073 | .block_erasers = |
| 2074 | { |
| 2075 | { |
| 2076 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2077 | .block_erase = spi_block_erase_20, |
| 2078 | }, { |
| 2079 | .eraseblocks = { {64 * 1024, 64} }, |
| 2080 | .block_erase = spi_block_erase_d8, |
| 2081 | }, { |
| 2082 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2083 | .block_erase = spi_block_erase_60, |
| 2084 | }, { |
| 2085 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2086 | .block_erase = spi_block_erase_c7, |
| 2087 | } |
| 2088 | }, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2089 | .write = spi_chip_write_256, |
| 2090 | .read = spi_chip_read, |
| 2091 | }, |
| 2092 | |
| 2093 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2094 | .vendor = "EON", |
| 2095 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2096 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2097 | .manufacture_id = EON_ID, |
| 2098 | .model_id = EN_29F002B, |
| 2099 | .total_size = 256, |
| 2100 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2101 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2102 | .tested = TEST_UNTESTED, |
| 2103 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2104 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2105 | .block_erasers = |
| 2106 | { |
| 2107 | { |
| 2108 | .eraseblocks = { |
| 2109 | {64 * 1024, 3}, |
| 2110 | {32 * 1024, 1}, |
| 2111 | {8 * 1024, 2}, |
| 2112 | {16 * 1024, 1}, |
| 2113 | }, |
| 2114 | .block_erase = erase_sector_jedec, |
| 2115 | }, { |
| 2116 | .eraseblocks = { {256 * 1024, 1} }, |
| 2117 | .block_erase = erase_chip_block_jedec, |
| 2118 | }, |
| 2119 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2120 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2121 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2122 | }, |
| 2123 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2124 | { |
| 2125 | .vendor = "EON", |
| 2126 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2127 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2128 | .manufacture_id = EON_ID, |
| 2129 | .model_id = EN_29F002T, |
| 2130 | .total_size = 256, |
| 2131 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2132 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 2133 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2134 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2135 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2136 | .block_erasers = |
| 2137 | { |
| 2138 | { |
| 2139 | .eraseblocks = { |
| 2140 | {16 * 1024, 1}, |
| 2141 | {8 * 1024, 2}, |
| 2142 | {32 * 1024, 1}, |
| 2143 | {64 * 1024, 3}, |
| 2144 | }, |
| 2145 | .block_erase = erase_sector_jedec, |
| 2146 | }, { |
| 2147 | .eraseblocks = { {256 * 1024, 1} }, |
| 2148 | .block_erase = erase_chip_block_jedec, |
| 2149 | }, |
| 2150 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2151 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2152 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2153 | }, |
| 2154 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2155 | { |
| 2156 | .vendor = "Fujitsu", |
| 2157 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2158 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2159 | .manufacture_id = FUJITSU_ID, |
| 2160 | .model_id = MBM29F004BC, |
| 2161 | .total_size = 512, |
| 2162 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2163 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2164 | .tested = TEST_UNTESTED, |
| 2165 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2166 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2167 | .block_erasers = |
| 2168 | { |
| 2169 | { |
| 2170 | .eraseblocks = { |
| 2171 | {16 * 1024, 1}, |
| 2172 | {8 * 1024, 2}, |
| 2173 | {32 * 1024, 1}, |
| 2174 | {64 * 1024, 7}, |
| 2175 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2176 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2177 | }, { |
| 2178 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2179 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2180 | }, |
| 2181 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2182 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2183 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2184 | }, |
| 2185 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2186 | { |
| 2187 | .vendor = "Fujitsu", |
| 2188 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2189 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2190 | .manufacture_id = FUJITSU_ID, |
| 2191 | .model_id = MBM29F004TC, |
| 2192 | .total_size = 512, |
| 2193 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2194 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2195 | .tested = TEST_UNTESTED, |
| 2196 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2197 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2198 | .block_erasers = |
| 2199 | { |
| 2200 | { |
| 2201 | .eraseblocks = { |
| 2202 | {64 * 1024, 7}, |
| 2203 | {32 * 1024, 1}, |
| 2204 | {8 * 1024, 2}, |
| 2205 | {16 * 1024, 1}, |
| 2206 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2207 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2208 | }, { |
| 2209 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2210 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2211 | }, |
| 2212 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2213 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2214 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2215 | }, |
| 2216 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2217 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2218 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2219 | .vendor = "Fujitsu", |
| 2220 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2221 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2222 | .manufacture_id = FUJITSU_ID, |
| 2223 | .model_id = MBM29F400BC, |
| 2224 | .total_size = 512, |
| 2225 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2226 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2227 | .tested = TEST_UNTESTED, |
| 2228 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2229 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2230 | .block_erasers = |
| 2231 | { |
| 2232 | { |
| 2233 | .eraseblocks = { |
| 2234 | {16 * 1024, 1}, |
| 2235 | {8 * 1024, 2}, |
| 2236 | {32 * 1024, 1}, |
| 2237 | {64 * 1024, 7}, |
| 2238 | }, |
| 2239 | .block_erase = block_erase_m29f400bt, |
| 2240 | }, { |
| 2241 | .eraseblocks = { {512 * 1024, 1} }, |
| 2242 | .block_erase = block_erase_chip_m29f400bt, |
| 2243 | }, |
| 2244 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2245 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2246 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2247 | }, |
| 2248 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2249 | { |
| 2250 | .vendor = "Fujitsu", |
| 2251 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2252 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2253 | .manufacture_id = FUJITSU_ID, |
| 2254 | .model_id = MBM29F400TC, |
| 2255 | .total_size = 512, |
| 2256 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2257 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2258 | .tested = TEST_UNTESTED, |
| 2259 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2260 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2261 | .block_erasers = |
| 2262 | { |
| 2263 | { |
| 2264 | .eraseblocks = { |
| 2265 | {64 * 1024, 7}, |
| 2266 | {32 * 1024, 1}, |
| 2267 | {8 * 1024, 2}, |
| 2268 | {16 * 1024, 1}, |
| 2269 | }, |
| 2270 | .block_erase = block_erase_m29f400bt, |
| 2271 | }, { |
| 2272 | .eraseblocks = { {512 * 1024, 1} }, |
| 2273 | .block_erase = block_erase_chip_m29f400bt, |
| 2274 | }, |
| 2275 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2276 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2277 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2278 | }, |
| 2279 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2280 | { |
| 2281 | .vendor = "Intel", |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2282 | .name = "28F001BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2283 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2284 | .manufacture_id = INTEL_ID, |
| 2285 | .model_id = P28F001BXB, |
| 2286 | .total_size = 128, |
| 2287 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2288 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2289 | .tested = TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2290 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2291 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2292 | .block_erasers = |
| 2293 | { |
| 2294 | { |
| 2295 | .eraseblocks = { |
| 2296 | {8 * 1024, 1}, |
| 2297 | {4 * 1024, 2}, |
| 2298 | {112 * 1024, 1}, |
| 2299 | }, |
| 2300 | .block_erase = erase_82802ab_block, |
| 2301 | }, |
| 2302 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2303 | .write = NULL, |
| 2304 | .read = read_memmapped, |
| 2305 | }, |
| 2306 | |
| 2307 | { |
| 2308 | .vendor = "Intel", |
| 2309 | .name = "28F001BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2310 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2311 | .manufacture_id = INTEL_ID, |
| 2312 | .model_id = P28F001BXT, |
| 2313 | .total_size = 128, |
| 2314 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2315 | .feature_bits = 0, |
| 2316 | .tested = TEST_BAD_WRITE, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2317 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2318 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2319 | .block_erasers = |
| 2320 | { |
| 2321 | { |
| 2322 | .eraseblocks = { |
| 2323 | {112 * 1024, 1}, |
| 2324 | {4 * 1024, 2}, |
| 2325 | {8 * 1024, 1}, |
| 2326 | }, |
| 2327 | .block_erase = erase_82802ab_block, |
| 2328 | }, |
| 2329 | }, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 2330 | .write = NULL, |
| 2331 | .read = read_memmapped, |
| 2332 | }, |
| 2333 | |
| 2334 | { |
| 2335 | .vendor = "Intel", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2336 | .name = "28F004S5", |
| 2337 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2338 | .manufacture_id = INTEL_ID, |
| 2339 | .model_id = E_28F004S5, |
| 2340 | .total_size = 512, |
| 2341 | .page_size = 256, |
| 2342 | .tested = TEST_UNTESTED, |
| 2343 | .probe = probe_82802ab, |
| 2344 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 2345 | .block_erasers = |
| 2346 | { |
| 2347 | { |
| 2348 | .eraseblocks = { {64 * 1024, 8} }, |
| 2349 | .block_erase = erase_82802ab_block, |
| 2350 | }, |
| 2351 | }, |
| 2352 | .write = write_82802ab, |
| 2353 | .read = read_memmapped, |
| 2354 | }, |
| 2355 | |
| 2356 | { |
| 2357 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2358 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2359 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2360 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2361 | .model_id = I_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2362 | .total_size = 512, |
| 2363 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2364 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2365 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2366 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2367 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2368 | .block_erasers = |
| 2369 | { |
| 2370 | { |
| 2371 | .eraseblocks = { {64 * 1024, 8} }, |
| 2372 | .block_erase = erase_82802ab_block, |
| 2373 | }, |
| 2374 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2375 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2376 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2377 | }, |
| 2378 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2379 | { |
| 2380 | .vendor = "Intel", |
| 2381 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2382 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2383 | .manufacture_id = INTEL_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2384 | .model_id = I_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2385 | .total_size = 1024, |
| 2386 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2387 | .feature_bits = 0, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2388 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2389 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2390 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2391 | .block_erasers = |
| 2392 | { |
| 2393 | { |
| 2394 | .eraseblocks = { {64 * 1024, 16} }, |
| 2395 | .block_erase = erase_82802ab_block, |
| 2396 | }, |
| 2397 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2398 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2399 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2400 | }, |
| 2401 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2402 | { |
| 2403 | .vendor = "Macronix", |
| 2404 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2405 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2406 | .manufacture_id = MX_ID, |
| 2407 | .model_id = MX_25L512, |
| 2408 | .total_size = 64, |
| 2409 | .page_size = 256, |
| 2410 | .tested = TEST_UNTESTED, |
| 2411 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2412 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2413 | .block_erasers = |
| 2414 | { |
| 2415 | { |
| 2416 | .eraseblocks = { {4 * 1024, 16} }, |
| 2417 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2418 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2419 | .eraseblocks = { {64 * 1024, 1} }, |
| 2420 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2421 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2422 | .eraseblocks = { {64 * 1024, 1} }, |
| 2423 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2424 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2425 | .eraseblocks = { {64 * 1024, 1} }, |
| 2426 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2427 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2428 | .eraseblocks = { {64 * 1024, 1} }, |
| 2429 | .block_erase = spi_block_erase_c7, |
| 2430 | }, |
| 2431 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2432 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2433 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2434 | }, |
| 2435 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2436 | { |
| 2437 | .vendor = "Macronix", |
| 2438 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2439 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2440 | .manufacture_id = MX_ID, |
| 2441 | .model_id = MX_25L1005, |
| 2442 | .total_size = 128, |
| 2443 | .page_size = 256, |
| 2444 | .tested = TEST_UNTESTED, |
| 2445 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2446 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2447 | .block_erasers = |
| 2448 | { |
| 2449 | { |
| 2450 | .eraseblocks = { {4 * 1024, 32} }, |
| 2451 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2452 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2453 | .eraseblocks = { {64 * 1024, 2} }, |
| 2454 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2455 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2456 | .eraseblocks = { {128 * 1024, 1} }, |
| 2457 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2458 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 2459 | .eraseblocks = { {128 * 1024, 1} }, |
| 2460 | .block_erase = spi_block_erase_c7, |
| 2461 | }, |
| 2462 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2463 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2464 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2465 | }, |
| 2466 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2467 | { |
| 2468 | .vendor = "Macronix", |
| 2469 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2470 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2471 | .manufacture_id = MX_ID, |
| 2472 | .model_id = MX_25L2005, |
| 2473 | .total_size = 256, |
| 2474 | .page_size = 256, |
| 2475 | .tested = TEST_UNTESTED, |
| 2476 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2477 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2478 | .block_erasers = |
| 2479 | { |
| 2480 | { |
| 2481 | .eraseblocks = { {4 * 1024, 64} }, |
| 2482 | .block_erase = spi_block_erase_20, |
| 2483 | }, { |
| 2484 | .eraseblocks = { {64 * 1024, 4} }, |
| 2485 | .block_erase = spi_block_erase_52, |
| 2486 | }, { |
| 2487 | .eraseblocks = { {64 * 1024, 4} }, |
| 2488 | .block_erase = spi_block_erase_d8, |
| 2489 | }, { |
| 2490 | .eraseblocks = { {256 * 1024, 1} }, |
| 2491 | .block_erase = spi_block_erase_60, |
| 2492 | }, { |
| 2493 | .eraseblocks = { {256 * 1024, 1} }, |
| 2494 | .block_erase = spi_block_erase_c7, |
| 2495 | }, |
| 2496 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2497 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2498 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2499 | }, |
| 2500 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2501 | { |
| 2502 | .vendor = "Macronix", |
| 2503 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2504 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2505 | .manufacture_id = MX_ID, |
| 2506 | .model_id = MX_25L4005, |
| 2507 | .total_size = 512, |
| 2508 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2509 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2510 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2511 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2512 | .block_erasers = |
| 2513 | { |
| 2514 | { |
| 2515 | .eraseblocks = { {4 * 1024, 128} }, |
| 2516 | .block_erase = spi_block_erase_20, |
| 2517 | }, { |
| 2518 | .eraseblocks = { {64 * 1024, 8} }, |
| 2519 | .block_erase = spi_block_erase_52, |
| 2520 | }, { |
| 2521 | .eraseblocks = { {64 * 1024, 8} }, |
| 2522 | .block_erase = spi_block_erase_d8, |
| 2523 | }, { |
| 2524 | .eraseblocks = { {512 * 1024, 1} }, |
| 2525 | .block_erase = spi_block_erase_60, |
| 2526 | }, { |
| 2527 | .eraseblocks = { {512 * 1024, 1} }, |
| 2528 | .block_erase = spi_block_erase_c7, |
| 2529 | }, |
| 2530 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2531 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2532 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2533 | }, |
| 2534 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2535 | { |
| 2536 | .vendor = "Macronix", |
| 2537 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2538 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2539 | .manufacture_id = MX_ID, |
| 2540 | .model_id = MX_25L8005, |
| 2541 | .total_size = 1024, |
| 2542 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2543 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2544 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2545 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2546 | .block_erasers = |
| 2547 | { |
| 2548 | { |
| 2549 | .eraseblocks = { {4 * 1024, 256} }, |
| 2550 | .block_erase = spi_block_erase_20, |
| 2551 | }, { |
| 2552 | .eraseblocks = { {64 * 1024, 16} }, |
| 2553 | .block_erase = spi_block_erase_52, |
| 2554 | }, { |
| 2555 | .eraseblocks = { {64 * 1024, 16} }, |
| 2556 | .block_erase = spi_block_erase_d8, |
| 2557 | }, { |
| 2558 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2559 | .block_erase = spi_block_erase_60, |
| 2560 | }, { |
| 2561 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2562 | .block_erase = spi_block_erase_c7, |
| 2563 | }, |
| 2564 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2565 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2566 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2567 | }, |
| 2568 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2569 | { |
| 2570 | .vendor = "Macronix", |
| 2571 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2572 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2573 | .manufacture_id = MX_ID, |
| 2574 | .model_id = MX_25L1605, |
| 2575 | .total_size = 2048, |
| 2576 | .page_size = 256, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2577 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2578 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2579 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 2580 | .block_erasers = |
| 2581 | { |
| 2582 | { |
| 2583 | .eraseblocks = { {4 * 1024, 512} }, |
| 2584 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 2585 | }, { |
| 2586 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 2587 | .block_erase = spi_block_erase_52, |
| 2588 | }, { |
| 2589 | .eraseblocks = { {64 * 1024, 32} }, |
| 2590 | .block_erase = spi_block_erase_d8, |
| 2591 | }, { |
| 2592 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2593 | .block_erase = spi_block_erase_60, |
| 2594 | }, { |
| 2595 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2596 | .block_erase = spi_block_erase_c7, |
| 2597 | }, |
| 2598 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2599 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2600 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2601 | }, |
| 2602 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2603 | { |
| 2604 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2605 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2606 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2607 | .manufacture_id = MX_ID, |
| 2608 | .model_id = MX_25L1635D, |
| 2609 | .total_size = 2048, |
| 2610 | .page_size = 256, |
| 2611 | .tested = TEST_UNTESTED, |
| 2612 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2613 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2614 | .block_erasers = |
| 2615 | { |
| 2616 | { |
| 2617 | .eraseblocks = { {4 * 1024, 512} }, |
| 2618 | .block_erase = spi_block_erase_20, |
| 2619 | }, { |
| 2620 | .eraseblocks = { {64 * 1024, 32} }, |
| 2621 | .block_erase = spi_block_erase_d8, |
| 2622 | }, { |
| 2623 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2624 | .block_erase = spi_block_erase_60, |
| 2625 | }, { |
| 2626 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2627 | .block_erase = spi_block_erase_c7, |
| 2628 | } |
| 2629 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2630 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2631 | .read = spi_chip_read, |
| 2632 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 2633 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 2634 | { |
| 2635 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2636 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2637 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2638 | .manufacture_id = MX_ID, |
| 2639 | .model_id = MX_25L3205, |
| 2640 | .total_size = 4096, |
| 2641 | .page_size = 256, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2642 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2643 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2644 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2645 | .block_erasers = |
| 2646 | { |
| 2647 | { |
| 2648 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2649 | .block_erase = spi_block_erase_20, |
| 2650 | }, { |
| 2651 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2652 | .block_erase = spi_block_erase_d8, |
| 2653 | }, { |
| 2654 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2655 | .block_erase = spi_block_erase_60, |
| 2656 | }, { |
| 2657 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2658 | .block_erase = spi_block_erase_c7, |
| 2659 | }, |
| 2660 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2661 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2662 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2663 | }, |
| 2664 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2665 | { |
| 2666 | .vendor = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2667 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2668 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2669 | .manufacture_id = MX_ID, |
| 2670 | .model_id = MX_25L3235D, |
| 2671 | .total_size = 4096, |
| 2672 | .page_size = 256, |
| 2673 | .tested = TEST_UNTESTED, |
| 2674 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2675 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2676 | .block_erasers = |
| 2677 | { |
| 2678 | { |
| 2679 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2680 | .block_erase = spi_block_erase_20, |
| 2681 | }, { |
| 2682 | .eraseblocks = { {64 * 1024, 64} }, |
| 2683 | .block_erase = spi_block_erase_d8, |
| 2684 | }, { |
| 2685 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2686 | .block_erase = spi_block_erase_60, |
| 2687 | }, { |
| 2688 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2689 | .block_erase = spi_block_erase_c7, |
| 2690 | } |
| 2691 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2692 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 2693 | .read = spi_chip_read, |
| 2694 | }, |
| 2695 | |
| 2696 | { |
| 2697 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2698 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2699 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2700 | .manufacture_id = MX_ID, |
| 2701 | .model_id = MX_25L6405, |
| 2702 | .total_size = 8192, |
| 2703 | .page_size = 256, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 2704 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2705 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2706 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2707 | .block_erasers = |
| 2708 | { |
| 2709 | { |
| 2710 | .eraseblocks = { {64 * 1024, 128} }, |
| 2711 | .block_erase = spi_block_erase_20, |
| 2712 | }, { |
| 2713 | .eraseblocks = { {64 * 1024, 128} }, |
| 2714 | .block_erase = spi_block_erase_d8, |
| 2715 | }, { |
| 2716 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2717 | .block_erase = spi_block_erase_60, |
| 2718 | }, { |
| 2719 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2720 | .block_erase = spi_block_erase_c7, |
| 2721 | } |
| 2722 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2723 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2724 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2725 | }, |
| 2726 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2727 | { |
| 2728 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2729 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2730 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2731 | .manufacture_id = MX_ID, |
| 2732 | .model_id = MX_25L12805, |
| 2733 | .total_size = 16384, |
| 2734 | .page_size = 256, |
| 2735 | .tested = TEST_UNTESTED, |
| 2736 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2737 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2738 | .block_erasers = |
| 2739 | { |
| 2740 | { |
| 2741 | .eraseblocks = { {4 * 1024, 4096} }, |
| 2742 | .block_erase = spi_block_erase_20, |
| 2743 | }, { |
| 2744 | .eraseblocks = { {64 * 1024, 256} }, |
| 2745 | .block_erase = spi_block_erase_d8, |
| 2746 | }, { |
| 2747 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2748 | .block_erase = spi_block_erase_60, |
| 2749 | }, { |
| 2750 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 2751 | .block_erase = spi_block_erase_c7, |
| 2752 | } |
| 2753 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2754 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 2755 | .read = spi_chip_read, |
| 2756 | }, |
| 2757 | |
| 2758 | { |
| 2759 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2760 | .name = "MX29F001B", |
| 2761 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2762 | .manufacture_id = MX_ID, |
| 2763 | .model_id = MX_29F001B, |
| 2764 | .total_size = 128, |
| 2765 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2766 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2767 | .tested = TEST_UNTESTED, |
| 2768 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2769 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2770 | .block_erasers = |
| 2771 | { |
| 2772 | { |
| 2773 | .eraseblocks = { |
| 2774 | {8 * 1024, 1}, |
| 2775 | {4 * 1024, 2}, |
| 2776 | {8 * 1024, 2}, |
| 2777 | {32 * 1024, 1}, |
| 2778 | {64 * 1024, 1}, |
| 2779 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2780 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2781 | }, { |
| 2782 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2783 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2784 | } |
| 2785 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2786 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2787 | .read = read_memmapped, |
| 2788 | }, |
| 2789 | |
| 2790 | { |
| 2791 | .vendor = "Macronix", |
| 2792 | .name = "MX29F001T", |
| 2793 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2794 | .manufacture_id = MX_ID, |
| 2795 | .model_id = MX_29F001T, |
| 2796 | .total_size = 128, |
| 2797 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2798 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2799 | .tested = TEST_UNTESTED, |
| 2800 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2801 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2802 | .block_erasers = |
| 2803 | { |
| 2804 | { |
| 2805 | .eraseblocks = { |
| 2806 | {64 * 1024, 1}, |
| 2807 | {32 * 1024, 1}, |
| 2808 | {8 * 1024, 2}, |
| 2809 | {4 * 1024, 2}, |
| 2810 | {8 * 1024, 1}, |
| 2811 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2812 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2813 | }, { |
| 2814 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2815 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2816 | } |
| 2817 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2818 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 2819 | .read = read_memmapped, |
| 2820 | }, |
| 2821 | |
| 2822 | { |
| 2823 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2824 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2825 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2826 | .manufacture_id = MX_ID, |
| 2827 | .model_id = MX_29F002B, |
| 2828 | .total_size = 256, |
| 2829 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2830 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2831 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2832 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2833 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2834 | .block_erasers = |
| 2835 | { |
| 2836 | { |
| 2837 | .eraseblocks = { |
| 2838 | {16 * 1024, 1}, |
| 2839 | {8 * 1024, 2}, |
| 2840 | {32 * 1024, 1}, |
| 2841 | {64 * 1024, 3}, |
| 2842 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2843 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2844 | }, { |
| 2845 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2846 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2847 | }, |
| 2848 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2849 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2850 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2851 | }, |
| 2852 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2853 | { |
| 2854 | .vendor = "Macronix", |
| 2855 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2856 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2857 | .manufacture_id = MX_ID, |
| 2858 | .model_id = MX_29F002T, |
| 2859 | .total_size = 256, |
| 2860 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2861 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2862 | .tested = TEST_UNTESTED, |
| 2863 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2864 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2865 | .block_erasers = |
| 2866 | { |
| 2867 | { |
| 2868 | .eraseblocks = { |
| 2869 | {64 * 1024, 3}, |
| 2870 | {32 * 1024, 1}, |
| 2871 | {8 * 1024, 2}, |
| 2872 | {16 * 1024, 1}, |
| 2873 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2874 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2875 | }, { |
| 2876 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2877 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2878 | }, |
| 2879 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2880 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2881 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2882 | }, |
| 2883 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2884 | { |
| 2885 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2886 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2887 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2888 | .manufacture_id = MX_ID, |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 2889 | .model_id = MX_29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2890 | .total_size = 512, |
| 2891 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2892 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 2893 | .tested = TEST_UNTESTED, |
| 2894 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 2895 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2896 | .block_erasers = |
| 2897 | { |
| 2898 | { |
| 2899 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2900 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2901 | }, { |
| 2902 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2903 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2904 | }, |
| 2905 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2906 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2907 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 2908 | }, |
| 2909 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2910 | { |
| 2911 | .vendor = "Numonyx", |
| 2912 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2913 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2914 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2915 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2916 | .total_size = 128, |
| 2917 | .page_size = 256, |
| 2918 | .tested = TEST_UNTESTED, |
| 2919 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2920 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2921 | .block_erasers = |
| 2922 | { |
| 2923 | { |
| 2924 | .eraseblocks = { {4 * 1024, 32} }, |
| 2925 | .block_erase = spi_block_erase_20, |
| 2926 | }, { |
| 2927 | .eraseblocks = { {64 * 1024, 2} }, |
| 2928 | .block_erase = spi_block_erase_d8, |
| 2929 | }, { |
| 2930 | .eraseblocks = { {128 * 1024, 1} }, |
| 2931 | .block_erase = spi_block_erase_c7, |
| 2932 | } |
| 2933 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2934 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2935 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2936 | }, |
| 2937 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2938 | { |
| 2939 | .vendor = "Numonyx", |
| 2940 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2941 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2942 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2943 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2944 | .total_size = 256, |
| 2945 | .page_size = 256, |
| 2946 | .tested = TEST_UNTESTED, |
| 2947 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2948 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2949 | .block_erasers = |
| 2950 | { |
| 2951 | { |
| 2952 | .eraseblocks = { {4 * 1024, 64} }, |
| 2953 | .block_erase = spi_block_erase_20, |
| 2954 | }, { |
| 2955 | .eraseblocks = { {64 * 1024, 4} }, |
| 2956 | .block_erase = spi_block_erase_d8, |
| 2957 | }, { |
| 2958 | .eraseblocks = { {256 * 1024, 1} }, |
| 2959 | .block_erase = spi_block_erase_c7, |
| 2960 | } |
| 2961 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2962 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2963 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2964 | }, |
| 2965 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2966 | { |
| 2967 | .vendor = "Numonyx", |
| 2968 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2969 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2970 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2971 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2972 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2973 | .page_size = 256, |
| 2974 | .tested = TEST_UNTESTED, |
| 2975 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 2976 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 2977 | .block_erasers = |
| 2978 | { |
| 2979 | { |
| 2980 | .eraseblocks = { {4 * 1024, 128} }, |
| 2981 | .block_erase = spi_block_erase_20, |
| 2982 | }, { |
| 2983 | .eraseblocks = { {64 * 1024, 8} }, |
| 2984 | .block_erase = spi_block_erase_d8, |
| 2985 | }, { |
| 2986 | .eraseblocks = { {512 * 1024, 1} }, |
| 2987 | .block_erase = spi_block_erase_c7, |
| 2988 | } |
| 2989 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 2990 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2991 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2992 | }, |
| 2993 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2994 | { |
| 2995 | .vendor = "Numonyx", |
| 2996 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 2997 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2998 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 2999 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3000 | .total_size = 1024, |
| 3001 | .page_size = 256, |
| 3002 | .tested = TEST_OK_PREW, |
| 3003 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3004 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3005 | .block_erasers = |
| 3006 | { |
| 3007 | { |
| 3008 | .eraseblocks = { {4 * 1024, 256} }, |
| 3009 | .block_erase = spi_block_erase_20, |
| 3010 | }, { |
| 3011 | .eraseblocks = { {64 * 1024, 16} }, |
| 3012 | .block_erase = spi_block_erase_d8, |
| 3013 | }, { |
| 3014 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3015 | .block_erase = spi_block_erase_c7, |
| 3016 | } |
| 3017 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3018 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3019 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3020 | }, |
| 3021 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3022 | { |
| 3023 | .vendor = "Numonyx", |
| 3024 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3025 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3026 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3027 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3028 | .total_size = 2048, |
| 3029 | .page_size = 256, |
| 3030 | .tested = TEST_UNTESTED, |
| 3031 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3032 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3033 | .block_erasers = |
| 3034 | { |
| 3035 | { |
| 3036 | .eraseblocks = { {4 * 1024, 512} }, |
| 3037 | .block_erase = spi_block_erase_20, |
| 3038 | }, { |
| 3039 | .eraseblocks = { {64 * 1024, 32} }, |
| 3040 | .block_erase = spi_block_erase_d8, |
| 3041 | }, { |
| 3042 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3043 | .block_erase = spi_block_erase_c7, |
| 3044 | } |
| 3045 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3046 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3047 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3048 | }, |
| 3049 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3050 | { |
| 3051 | .vendor = "PMC", |
| 3052 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3053 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3054 | .manufacture_id = PMC_ID, |
| 3055 | .model_id = PMC_25LV010, |
| 3056 | .total_size = 128, |
| 3057 | .page_size = 256, |
| 3058 | .tested = TEST_UNTESTED, |
| 3059 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3060 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3061 | .block_erasers = |
| 3062 | { |
| 3063 | { |
| 3064 | .eraseblocks = { {4 * 1024, 32} }, |
| 3065 | .block_erase = spi_block_erase_d7, |
| 3066 | }, { |
| 3067 | .eraseblocks = { {32 * 1024, 4} }, |
| 3068 | .block_erase = spi_block_erase_d8, |
| 3069 | }, { |
| 3070 | .eraseblocks = { {128 * 1024, 1} }, |
| 3071 | .block_erase = spi_block_erase_c7, |
| 3072 | } |
| 3073 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3074 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3075 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3076 | }, |
| 3077 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3078 | { |
| 3079 | .vendor = "PMC", |
| 3080 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3081 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3082 | .manufacture_id = PMC_ID, |
| 3083 | .model_id = PMC_25LV016B, |
| 3084 | .total_size = 2048, |
| 3085 | .page_size = 256, |
| 3086 | .tested = TEST_UNTESTED, |
| 3087 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3088 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3089 | .block_erasers = |
| 3090 | { |
| 3091 | { |
| 3092 | .eraseblocks = { {4 * 1024, 512} }, |
| 3093 | .block_erase = spi_block_erase_d7, |
| 3094 | }, { |
| 3095 | .eraseblocks = { {4 * 1024, 512} }, |
| 3096 | .block_erase = spi_block_erase_20, |
| 3097 | }, { |
| 3098 | .eraseblocks = { {64 * 1024, 32} }, |
| 3099 | .block_erase = spi_block_erase_d8, |
| 3100 | }, { |
| 3101 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3102 | .block_erase = spi_block_erase_60, |
| 3103 | }, { |
| 3104 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3105 | .block_erase = spi_block_erase_c7, |
| 3106 | } |
| 3107 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3108 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3109 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3110 | }, |
| 3111 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3112 | { |
| 3113 | .vendor = "PMC", |
| 3114 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3115 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3116 | .manufacture_id = PMC_ID, |
| 3117 | .model_id = PMC_25LV020, |
| 3118 | .total_size = 256, |
| 3119 | .page_size = 256, |
| 3120 | .tested = TEST_UNTESTED, |
| 3121 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3122 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3123 | .block_erasers = |
| 3124 | { |
| 3125 | { |
| 3126 | .eraseblocks = { {4 * 1024, 64} }, |
| 3127 | .block_erase = spi_block_erase_d7, |
| 3128 | }, { |
| 3129 | .eraseblocks = { {64 * 1024, 4} }, |
| 3130 | .block_erase = spi_block_erase_d8, |
| 3131 | }, { |
| 3132 | .eraseblocks = { {256 * 1024, 1} }, |
| 3133 | .block_erase = spi_block_erase_c7, |
| 3134 | } |
| 3135 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3136 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3137 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3138 | }, |
| 3139 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3140 | { |
| 3141 | .vendor = "PMC", |
| 3142 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3143 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3144 | .manufacture_id = PMC_ID, |
| 3145 | .model_id = PMC_25LV040, |
| 3146 | .total_size = 512, |
| 3147 | .page_size = 256, |
| 3148 | .tested = TEST_UNTESTED, |
| 3149 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3150 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3151 | .block_erasers = |
| 3152 | { |
| 3153 | { |
| 3154 | .eraseblocks = { {4 * 1024, 128} }, |
| 3155 | .block_erase = spi_block_erase_d7, |
| 3156 | }, { |
| 3157 | .eraseblocks = { {64 * 1024, 8} }, |
| 3158 | .block_erase = spi_block_erase_d8, |
| 3159 | }, { |
| 3160 | .eraseblocks = { {512 * 1024, 1} }, |
| 3161 | .block_erase = spi_block_erase_c7, |
| 3162 | } |
| 3163 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3164 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3165 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3166 | }, |
| 3167 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3168 | { |
| 3169 | .vendor = "PMC", |
| 3170 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3171 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3172 | .manufacture_id = PMC_ID, |
| 3173 | .model_id = PMC_25LV080B, |
| 3174 | .total_size = 1024, |
| 3175 | .page_size = 256, |
| 3176 | .tested = TEST_UNTESTED, |
| 3177 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3178 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3179 | .block_erasers = |
| 3180 | { |
| 3181 | { |
| 3182 | .eraseblocks = { {4 * 1024, 256} }, |
| 3183 | .block_erase = spi_block_erase_d7, |
| 3184 | }, { |
| 3185 | .eraseblocks = { {4 * 1024, 256} }, |
| 3186 | .block_erase = spi_block_erase_20, |
| 3187 | }, { |
| 3188 | .eraseblocks = { {64 * 1024, 16} }, |
| 3189 | .block_erase = spi_block_erase_d8, |
| 3190 | }, { |
| 3191 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3192 | .block_erase = spi_block_erase_60, |
| 3193 | }, { |
| 3194 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3195 | .block_erase = spi_block_erase_c7, |
| 3196 | } |
| 3197 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3198 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3199 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3200 | }, |
| 3201 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3202 | { |
| 3203 | .vendor = "PMC", |
| 3204 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3205 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3206 | .manufacture_id = PMC_ID, |
| 3207 | .model_id = PMC_25LV512, |
| 3208 | .total_size = 64, |
| 3209 | .page_size = 256, |
| 3210 | .tested = TEST_UNTESTED, |
| 3211 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3212 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3213 | .block_erasers = |
| 3214 | { |
| 3215 | { |
| 3216 | .eraseblocks = { {4 * 1024, 16} }, |
| 3217 | .block_erase = spi_block_erase_d7, |
| 3218 | }, { |
| 3219 | .eraseblocks = { {32 * 1024, 2} }, |
| 3220 | .block_erase = spi_block_erase_d8, |
| 3221 | }, { |
| 3222 | .eraseblocks = { {64 * 1024, 1} }, |
| 3223 | .block_erase = spi_block_erase_c7, |
| 3224 | } |
| 3225 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3226 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3227 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3228 | }, |
| 3229 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3230 | { |
| 3231 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3232 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3233 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3234 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3235 | .model_id = PMC_29F002T, |
| 3236 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3237 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3238 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3239 | .tested = TEST_UNTESTED, |
| 3240 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3241 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3242 | .block_erasers = |
| 3243 | { |
| 3244 | { |
| 3245 | .eraseblocks = { |
| 3246 | {128 * 1024, 1}, |
| 3247 | {96 * 1024, 1}, |
| 3248 | {8 * 1024, 2}, |
| 3249 | {16 * 1024, 1}, |
| 3250 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3251 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3252 | }, { |
| 3253 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3254 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3255 | }, |
| 3256 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3257 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3258 | .read = read_memmapped, |
| 3259 | }, |
| 3260 | |
| 3261 | { |
| 3262 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3263 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3264 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3265 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3266 | .model_id = PMC_29F002B, |
| 3267 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3268 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3269 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3270 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3271 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3272 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3273 | .block_erasers = |
| 3274 | { |
| 3275 | { |
| 3276 | .eraseblocks = { |
| 3277 | {16 * 1024, 1}, |
| 3278 | {8 * 1024, 2}, |
| 3279 | {96 * 1024, 1}, |
| 3280 | {128 * 1024, 1}, |
| 3281 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3282 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3283 | }, { |
| 3284 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3285 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 3286 | }, |
| 3287 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3288 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 3289 | .read = read_memmapped, |
| 3290 | }, |
| 3291 | |
| 3292 | { |
| 3293 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3294 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3295 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3296 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3297 | .model_id = PMC_39F010, |
| 3298 | .total_size = 128, |
| 3299 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3300 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3301 | .tested = TEST_UNTESTED, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3302 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3303 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3304 | .block_erasers = |
| 3305 | { |
| 3306 | { |
| 3307 | .eraseblocks = { {4 * 1024, 32} }, |
| 3308 | .block_erase = erase_sector_jedec, |
| 3309 | }, { |
| 3310 | .eraseblocks = { {64 * 1024, 2} }, |
| 3311 | .block_erase = erase_block_jedec, |
| 3312 | }, { |
| 3313 | .eraseblocks = { {128 * 1024, 1} }, |
| 3314 | .block_erase = erase_chip_block_jedec, |
| 3315 | } |
| 3316 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3317 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 3318 | .read = read_memmapped, |
| 3319 | }, |
| 3320 | |
| 3321 | { |
| 3322 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3323 | .name = "Pm49FL002", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3324 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3325 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3326 | .model_id = PMC_49FL002, |
| 3327 | .total_size = 256, |
| 3328 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3329 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 3330 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3331 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3332 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Carl-Daniel Hailfinger | 48f1d73 | 2010-02-11 23:03:53 +0000 | [diff] [blame] | 3333 | /* .erase = NULL, Was: erase_49fl00x */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3334 | .block_erasers = |
| 3335 | { |
| 3336 | { |
| 3337 | .eraseblocks = { {4 * 1024, 64} }, |
| 3338 | .block_erase = erase_sector_jedec, |
| 3339 | }, { |
| 3340 | .eraseblocks = { {16 * 1024, 16} }, |
| 3341 | .block_erase = erase_block_jedec, |
| 3342 | }, { |
| 3343 | .eraseblocks = { {256 * 1024, 1} }, |
| 3344 | .block_erase = erase_chip_block_jedec, |
| 3345 | } |
| 3346 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3347 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3348 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3349 | }, |
| 3350 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3351 | { |
| 3352 | .vendor = "PMC", |
| 3353 | .name = "Pm49FL004", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3354 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux*/ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3355 | .manufacture_id = PMC_ID_NOPREFIX, |
| 3356 | .model_id = PMC_49FL004, |
| 3357 | .total_size = 512, |
| 3358 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3359 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 3360 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 3361 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3362 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Carl-Daniel Hailfinger | 48f1d73 | 2010-02-11 23:03:53 +0000 | [diff] [blame] | 3363 | /* .erase = NULL, Was: erase_49fl00x */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3364 | .block_erasers = |
| 3365 | { |
| 3366 | { |
| 3367 | .eraseblocks = { {4 * 1024, 128} }, |
| 3368 | .block_erase = erase_sector_jedec, |
| 3369 | }, { |
| 3370 | .eraseblocks = { {64 * 1024, 8} }, |
| 3371 | .block_erase = erase_block_jedec, |
| 3372 | }, { |
| 3373 | .eraseblocks = { {512 * 1024, 1} }, |
| 3374 | .block_erase = erase_chip_block_jedec, |
| 3375 | } |
| 3376 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3377 | .write = write_49fl00x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3378 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3379 | }, |
| 3380 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3381 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3382 | .vendor = "Sanyo", |
| 3383 | .name = "LF25FW203A", |
| 3384 | .bustype = CHIP_BUSTYPE_SPI, |
| 3385 | .manufacture_id = SANYO_ID, |
| 3386 | .model_id = SANYO_LE25FW203A, |
| 3387 | .total_size = 2048, |
| 3388 | .page_size = 256, |
| 3389 | .tested = TEST_UNTESTED, |
| 3390 | .probe = probe_spi_rdid, |
| 3391 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3392 | .block_erasers = |
| 3393 | { |
| 3394 | { |
| 3395 | .eraseblocks = { {64 * 1024, 32} }, |
| 3396 | .block_erase = spi_block_erase_d8, |
| 3397 | }, { |
| 3398 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3399 | .block_erase = spi_block_erase_c7, |
| 3400 | } |
| 3401 | }, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 3402 | .write = spi_chip_write_256, |
| 3403 | .read = spi_chip_read, |
| 3404 | }, |
| 3405 | |
| 3406 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3407 | .vendor = "Sharp", |
| 3408 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3409 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3410 | .manufacture_id = SHARP_ID, |
| 3411 | .model_id = SHARP_LHF00L04, |
| 3412 | .total_size = 1024, |
| 3413 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3414 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3415 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3416 | .probe = probe_49lfxxxc, |
| 3417 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3418 | .block_erasers = |
| 3419 | { |
| 3420 | { |
| 3421 | .eraseblocks = { |
| 3422 | {64 * 1024, 15}, |
| 3423 | {8 * 1024, 8} |
| 3424 | }, |
| 3425 | .block_erase = erase_lhf00l04_block, |
| 3426 | }, { |
| 3427 | .eraseblocks = { |
| 3428 | {1024 * 1024, 1} |
| 3429 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3430 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 3431 | }, |
| 3432 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3433 | .write = write_lhf00l04, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3434 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3435 | }, |
| 3436 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3437 | { |
| 3438 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3439 | .name = "S25FL008A", |
| 3440 | .bustype = CHIP_BUSTYPE_SPI, |
| 3441 | .manufacture_id = SPANSION_ID, |
| 3442 | .model_id = SPANSION_S25FL008A, |
| 3443 | .total_size = 1024, |
| 3444 | .page_size = 256, |
| 3445 | .tested = TEST_OK_PREW, |
| 3446 | .probe = probe_spi_rdid, |
| 3447 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 3448 | .block_erasers = |
| 3449 | { |
| 3450 | { |
| 3451 | .eraseblocks = { {64 * 1024, 16} }, |
| 3452 | .block_erase = spi_block_erase_d8, |
| 3453 | }, { |
| 3454 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3455 | .block_erase = spi_block_erase_c7, |
| 3456 | } |
| 3457 | }, |
| 3458 | .write = spi_chip_write_256, |
| 3459 | .read = spi_chip_read, |
| 3460 | }, |
| 3461 | |
| 3462 | { |
| 3463 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3464 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3465 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3466 | .manufacture_id = SPANSION_ID, |
| 3467 | .model_id = SPANSION_S25FL016A, |
| 3468 | .total_size = 2048, |
| 3469 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3470 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3471 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3472 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 3473 | .block_erasers = |
| 3474 | { |
| 3475 | { |
| 3476 | .eraseblocks = { {64 * 1024, 32} }, |
| 3477 | .block_erase = spi_block_erase_d8, |
| 3478 | }, { |
| 3479 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3480 | .block_erase = spi_block_erase_c7, |
| 3481 | } |
| 3482 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3483 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3484 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3485 | }, |
| 3486 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3487 | { |
| 3488 | .vendor = "SST", |
| 3489 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3490 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3491 | .manufacture_id = SST_ID, |
| 3492 | .model_id = SST_25VF016B, |
| 3493 | .total_size = 2048, |
| 3494 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3495 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3496 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3497 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3498 | .block_erasers = |
| 3499 | { |
| 3500 | { |
| 3501 | .eraseblocks = { {4 * 1024, 512} }, |
| 3502 | .block_erase = spi_block_erase_20, |
| 3503 | }, { |
| 3504 | .eraseblocks = { {32 * 1024, 64} }, |
| 3505 | .block_erase = spi_block_erase_52, |
| 3506 | }, { |
| 3507 | .eraseblocks = { {64 * 1024, 32} }, |
| 3508 | .block_erase = spi_block_erase_d8, |
| 3509 | }, { |
| 3510 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3511 | .block_erase = spi_block_erase_60, |
| 3512 | }, { |
| 3513 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3514 | .block_erase = spi_block_erase_c7, |
| 3515 | }, |
| 3516 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3517 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3518 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3519 | }, |
| 3520 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3521 | { |
| 3522 | .vendor = "SST", |
| 3523 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3524 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3525 | .manufacture_id = SST_ID, |
| 3526 | .model_id = SST_25VF032B, |
| 3527 | .total_size = 4096, |
| 3528 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3529 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3530 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3531 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3532 | .block_erasers = |
| 3533 | { |
| 3534 | { |
| 3535 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3536 | .block_erase = spi_block_erase_20, |
| 3537 | }, { |
| 3538 | .eraseblocks = { {32 * 1024, 128} }, |
| 3539 | .block_erase = spi_block_erase_52, |
| 3540 | }, { |
| 3541 | .eraseblocks = { {64 * 1024, 64} }, |
| 3542 | .block_erase = spi_block_erase_d8, |
| 3543 | }, { |
| 3544 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3545 | .block_erase = spi_block_erase_60, |
| 3546 | }, { |
| 3547 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3548 | .block_erase = spi_block_erase_c7, |
| 3549 | }, |
| 3550 | }, |
| 3551 | .write = spi_chip_write_1, |
| 3552 | .read = spi_chip_read, |
| 3553 | }, |
| 3554 | |
| 3555 | { |
| 3556 | .vendor = "SST", |
| 3557 | .name = "SST25VF040.REMS", |
| 3558 | .bustype = CHIP_BUSTYPE_SPI, |
| 3559 | .manufacture_id = SST_ID, |
| 3560 | .model_id = SST_25VF040_REMS, |
| 3561 | .total_size = 512, |
| 3562 | .page_size = 256, |
| 3563 | .tested = TEST_OK_PR, |
| 3564 | .probe = probe_spi_rems, |
| 3565 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3566 | .block_erasers = |
| 3567 | { |
| 3568 | { |
| 3569 | .eraseblocks = { {4 * 1024, 128} }, |
| 3570 | .block_erase = spi_block_erase_20, |
| 3571 | }, { |
| 3572 | .eraseblocks = { {32 * 1024, 16} }, |
| 3573 | .block_erase = spi_block_erase_52, |
| 3574 | }, { |
| 3575 | .eraseblocks = { {512 * 1024, 1} }, |
| 3576 | .block_erase = spi_block_erase_60, |
| 3577 | }, |
| 3578 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3579 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3580 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3581 | }, |
| 3582 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3583 | { |
| 3584 | .vendor = "SST", |
| 3585 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3586 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3587 | .manufacture_id = SST_ID, |
| 3588 | .model_id = SST_25VF040B, |
| 3589 | .total_size = 512, |
| 3590 | .page_size = 256, |
| 3591 | .tested = TEST_UNTESTED, |
| 3592 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3593 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3594 | .block_erasers = |
| 3595 | { |
| 3596 | { |
| 3597 | .eraseblocks = { {4 * 1024, 128} }, |
| 3598 | .block_erase = spi_block_erase_20, |
| 3599 | }, { |
| 3600 | .eraseblocks = { {32 * 1024, 16} }, |
| 3601 | .block_erase = spi_block_erase_52, |
| 3602 | }, { |
| 3603 | .eraseblocks = { {64 * 1024, 8} }, |
| 3604 | .block_erase = spi_block_erase_d8, |
| 3605 | }, { |
| 3606 | .eraseblocks = { {512 * 1024, 1} }, |
| 3607 | .block_erase = spi_block_erase_60, |
| 3608 | }, { |
| 3609 | .eraseblocks = { {512 * 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, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 3614 | .read = spi_chip_read, |
| 3615 | }, |
| 3616 | |
| 3617 | { |
| 3618 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3619 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3620 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3621 | .manufacture_id = SST_ID, |
| 3622 | .model_id = SST_25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3623 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3624 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3625 | .tested = TEST_OK_PR, |
| 3626 | .probe = probe_spi_rems, |
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 | .block_erasers = |
| 3629 | { |
| 3630 | { |
| 3631 | .eraseblocks = { {4 * 1024, 128} }, |
| 3632 | .block_erase = spi_block_erase_20, |
| 3633 | }, { |
| 3634 | .eraseblocks = { {32 * 1024, 16} }, |
| 3635 | .block_erase = spi_block_erase_52, |
| 3636 | }, { |
| 3637 | .eraseblocks = { {64 * 1024, 8} }, |
| 3638 | .block_erase = spi_block_erase_d8, |
| 3639 | }, { |
| 3640 | .eraseblocks = { {512 * 1024, 1} }, |
| 3641 | .block_erase = spi_block_erase_60, |
| 3642 | }, { |
| 3643 | .eraseblocks = { {512 * 1024, 1} }, |
| 3644 | .block_erase = spi_block_erase_c7, |
| 3645 | }, |
| 3646 | }, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 3647 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 3648 | .read = spi_chip_read, |
| 3649 | }, |
| 3650 | |
| 3651 | { |
| 3652 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3653 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3654 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3655 | .manufacture_id = SST_ID, |
| 3656 | .model_id = SST_25VF080B, |
| 3657 | .total_size = 1024, |
| 3658 | .page_size = 256, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3659 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3660 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3661 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 3662 | .block_erasers = |
| 3663 | { |
| 3664 | { |
| 3665 | .eraseblocks = { {4 * 1024, 256} }, |
| 3666 | .block_erase = spi_block_erase_20, |
| 3667 | }, { |
| 3668 | .eraseblocks = { {32 * 1024, 32} }, |
| 3669 | .block_erase = spi_block_erase_52, |
| 3670 | }, { |
| 3671 | .eraseblocks = { {64 * 1024, 16} }, |
| 3672 | .block_erase = spi_block_erase_d8, |
| 3673 | }, { |
| 3674 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3675 | .block_erase = spi_block_erase_60, |
| 3676 | }, { |
| 3677 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3678 | .block_erase = spi_block_erase_c7, |
| 3679 | }, |
| 3680 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3681 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3682 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3683 | }, |
| 3684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3685 | { |
| 3686 | .vendor = "SST", |
| 3687 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3688 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3689 | .manufacture_id = SST_ID, |
| 3690 | .model_id = SST_28SF040, |
| 3691 | .total_size = 512, |
| 3692 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3693 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3694 | .tested = TEST_UNTESTED, |
| 3695 | .probe = probe_28sf040, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3696 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3697 | .block_erasers = |
| 3698 | { |
| 3699 | { |
| 3700 | .eraseblocks = { {128, 4096} }, |
| 3701 | .block_erase = erase_sector_28sf040, |
| 3702 | }, { |
| 3703 | .eraseblocks = { {512 * 1024, 1} }, |
| 3704 | .block_erase = erase_chip_28sf040, |
| 3705 | } |
| 3706 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3707 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3708 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3709 | }, |
| 3710 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3711 | { |
| 3712 | .vendor = "SST", |
| 3713 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3714 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3715 | .manufacture_id = SST_ID, |
| 3716 | .model_id = SST_29EE010, |
| 3717 | .total_size = 128, |
| 3718 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3719 | .feature_bits = FEATURE_LONG_RESET, |
| 3720 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3721 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3722 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3723 | .block_erasers = |
| 3724 | { |
| 3725 | { |
| 3726 | .eraseblocks = { {128 * 1024, 1} }, |
| 3727 | .block_erase = erase_chip_block_jedec, |
| 3728 | } |
| 3729 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3730 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3731 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3732 | }, |
| 3733 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3734 | { |
| 3735 | .vendor = "SST", |
| 3736 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3737 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3738 | .manufacture_id = SST_ID, |
| 3739 | .model_id = SST_29LE010, |
| 3740 | .total_size = 128, |
| 3741 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3742 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3743 | .tested = TEST_UNTESTED, |
| 3744 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3745 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3746 | .block_erasers = |
| 3747 | { |
| 3748 | { |
| 3749 | .eraseblocks = { {128 * 1024, 1} }, |
| 3750 | .block_erase = erase_chip_block_jedec, |
| 3751 | } |
| 3752 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3753 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3754 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3755 | }, |
| 3756 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3757 | { |
| 3758 | .vendor = "SST", |
| 3759 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3760 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3761 | .manufacture_id = SST_ID, |
| 3762 | .model_id = SST_29EE020A, |
| 3763 | .total_size = 256, |
| 3764 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3765 | .feature_bits = FEATURE_LONG_RESET, |
| 3766 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3767 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3768 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3769 | .block_erasers = |
| 3770 | { |
| 3771 | { |
| 3772 | .eraseblocks = { {256 * 1024, 1} }, |
| 3773 | .block_erase = erase_chip_block_jedec, |
| 3774 | } |
| 3775 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3776 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3777 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3778 | }, |
| 3779 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3780 | { |
| 3781 | .vendor = "SST", |
| 3782 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3783 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3784 | .manufacture_id = SST_ID, |
| 3785 | .model_id = SST_29LE020, |
| 3786 | .total_size = 256, |
| 3787 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3788 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3789 | .tested = TEST_UNTESTED, |
| 3790 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3791 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3792 | .block_erasers = |
| 3793 | { |
| 3794 | { |
| 3795 | .eraseblocks = { {256 * 1024, 1} }, |
| 3796 | .block_erase = erase_chip_block_jedec, |
| 3797 | } |
| 3798 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3799 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3800 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3801 | }, |
| 3802 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3803 | { |
| 3804 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3805 | .name = "SST39SF512", |
| 3806 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3807 | .manufacture_id = SST_ID, |
| 3808 | .model_id = SST_39SF512, |
| 3809 | .total_size = 64, |
| 3810 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3811 | .feature_bits = FEATURE_EITHER_RESET, |
| 3812 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3813 | .probe = probe_jedec, |
| 3814 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3815 | .block_erasers = |
| 3816 | { |
| 3817 | { |
| 3818 | .eraseblocks = { {4 * 1024, 16} }, |
| 3819 | .block_erase = erase_sector_jedec, |
| 3820 | }, { |
| 3821 | .eraseblocks = { {64 * 1024, 1} }, |
| 3822 | .block_erase = erase_chip_block_jedec, |
| 3823 | } |
| 3824 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3825 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 3826 | .read = read_memmapped, |
| 3827 | }, |
| 3828 | |
| 3829 | { |
| 3830 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3831 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3832 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3833 | .manufacture_id = SST_ID, |
| 3834 | .model_id = SST_39SF010, |
| 3835 | .total_size = 128, |
| 3836 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3837 | .feature_bits = FEATURE_EITHER_RESET, |
| 3838 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3839 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3840 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3841 | .block_erasers = |
| 3842 | { |
| 3843 | { |
| 3844 | .eraseblocks = { {4 * 1024, 32} }, |
| 3845 | .block_erase = erase_sector_jedec, |
| 3846 | }, { |
| 3847 | .eraseblocks = { {128 * 1024, 1} }, |
| 3848 | .block_erase = erase_chip_block_jedec, |
| 3849 | } |
| 3850 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3851 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3852 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3853 | }, |
| 3854 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3855 | { |
| 3856 | .vendor = "SST", |
| 3857 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3858 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3859 | .manufacture_id = SST_ID, |
| 3860 | .model_id = SST_39SF020, |
| 3861 | .total_size = 256, |
| 3862 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3863 | .feature_bits = FEATURE_EITHER_RESET, |
| 3864 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3865 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3866 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3867 | .block_erasers = |
| 3868 | { |
| 3869 | { |
| 3870 | .eraseblocks = { {4 * 1024, 64} }, |
| 3871 | .block_erase = erase_sector_jedec, |
| 3872 | }, { |
| 3873 | .eraseblocks = { {256 * 1024, 1} }, |
| 3874 | .block_erase = erase_chip_block_jedec, |
| 3875 | } |
| 3876 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3877 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3878 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3879 | }, |
| 3880 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3881 | { |
| 3882 | .vendor = "SST", |
| 3883 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3884 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3885 | .manufacture_id = SST_ID, |
| 3886 | .model_id = SST_39SF040, |
| 3887 | .total_size = 512, |
| 3888 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3889 | .feature_bits = FEATURE_EITHER_RESET, |
| 3890 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3891 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3892 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3893 | .block_erasers = |
| 3894 | { |
| 3895 | { |
| 3896 | .eraseblocks = { {4 * 1024, 128} }, |
| 3897 | .block_erase = erase_sector_jedec, |
| 3898 | }, { |
| 3899 | .eraseblocks = { {512 * 1024, 1} }, |
| 3900 | .block_erase = erase_chip_block_jedec, |
| 3901 | } |
| 3902 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3903 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3904 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3905 | }, |
| 3906 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3907 | { |
| 3908 | .vendor = "SST", |
| 3909 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3910 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3911 | .manufacture_id = SST_ID, |
| 3912 | .model_id = SST_39VF512, |
| 3913 | .total_size = 64, |
| 3914 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3915 | .feature_bits = FEATURE_EITHER_RESET, |
| 3916 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3917 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3918 | .probe_timing = 1, /* 150 ns*/ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3919 | .block_erasers = |
| 3920 | { |
| 3921 | { |
| 3922 | .eraseblocks = { {4 * 1024, 16} }, |
| 3923 | .block_erase = erase_sector_jedec, |
| 3924 | }, { |
| 3925 | .eraseblocks = { {64 * 1024, 1} }, |
| 3926 | .block_erase = erase_chip_block_jedec, |
| 3927 | } |
| 3928 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3929 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3930 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3931 | }, |
| 3932 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3933 | { |
| 3934 | .vendor = "SST", |
| 3935 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3936 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3937 | .manufacture_id = SST_ID, |
| 3938 | .model_id = SST_39VF010, |
| 3939 | .total_size = 128, |
| 3940 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3941 | .feature_bits = FEATURE_EITHER_RESET, |
| 3942 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3943 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3944 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3945 | .block_erasers = |
| 3946 | { |
| 3947 | { |
| 3948 | .eraseblocks = { {4 * 1024, 32} }, |
| 3949 | .block_erase = erase_sector_jedec, |
| 3950 | }, { |
| 3951 | .eraseblocks = { {128 * 1024, 1} }, |
| 3952 | .block_erase = erase_chip_block_jedec, |
| 3953 | } |
| 3954 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3955 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3956 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3957 | }, |
| 3958 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3959 | { |
| 3960 | .vendor = "SST", |
| 3961 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3962 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3963 | .manufacture_id = SST_ID, |
| 3964 | .model_id = SST_39VF020, |
| 3965 | .total_size = 256, |
| 3966 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3967 | .feature_bits = FEATURE_EITHER_RESET, |
| 3968 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3969 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3970 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3971 | .block_erasers = |
| 3972 | { |
| 3973 | { |
| 3974 | .eraseblocks = { {4 * 1024, 64} }, |
| 3975 | .block_erase = erase_sector_jedec, |
| 3976 | }, { |
| 3977 | .eraseblocks = { {256 * 1024, 1} }, |
| 3978 | .block_erase = erase_chip_block_jedec, |
| 3979 | } |
| 3980 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3981 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3982 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3983 | }, |
| 3984 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3985 | { |
| 3986 | .vendor = "SST", |
| 3987 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3988 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3989 | .manufacture_id = SST_ID, |
| 3990 | .model_id = SST_39VF040, |
| 3991 | .total_size = 512, |
| 3992 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3993 | .feature_bits = FEATURE_EITHER_RESET, |
| 3994 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3995 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3996 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 3997 | .block_erasers = |
| 3998 | { |
| 3999 | { |
| 4000 | .eraseblocks = { {4 * 1024, 128} }, |
| 4001 | .block_erase = erase_sector_jedec, |
| 4002 | }, { |
| 4003 | .eraseblocks = { {512 * 1024, 1} }, |
| 4004 | .block_erase = erase_chip_block_jedec, |
| 4005 | } |
| 4006 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4007 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4008 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 4009 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4010 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4011 | { |
| 4012 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4013 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4014 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4015 | .manufacture_id = SST_ID, |
| 4016 | .model_id = SST_39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4017 | .total_size = 1024, |
| 4018 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4019 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4020 | .tested = TEST_UNTESTED, |
| 4021 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4022 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4023 | .block_erasers = |
| 4024 | { |
| 4025 | { |
| 4026 | .eraseblocks = { {4 * 1024, 256} }, |
| 4027 | .block_erase = erase_sector_jedec, |
| 4028 | }, { |
| 4029 | .eraseblocks = { {64 * 1024, 16} }, |
| 4030 | .block_erase = erase_block_jedec, |
| 4031 | }, { |
| 4032 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4033 | .block_erase = erase_chip_block_jedec, |
| 4034 | } |
| 4035 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4036 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4037 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 4038 | }, |
| 4039 | |
| 4040 | { |
| 4041 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4042 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4043 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4044 | .manufacture_id = SST_ID, |
| 4045 | .model_id = SST_49LF002A, |
| 4046 | .total_size = 256, |
| 4047 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4048 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4049 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4050 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4051 | .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] | 4052 | .block_erasers = |
| 4053 | { |
| 4054 | { |
| 4055 | .eraseblocks = { {4 * 1024, 64} }, |
| 4056 | .block_erase = erase_sst_fwhub_sector, |
| 4057 | }, { |
| 4058 | .eraseblocks = { {16 * 1024, 16} }, |
| 4059 | .block_erase = erase_sst_fwhub_block, |
| 4060 | }, { |
| 4061 | .eraseblocks = { {256 * 1024, 1} }, |
| 4062 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4063 | } |
| 4064 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4065 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4066 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4067 | }, |
| 4068 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4069 | { |
| 4070 | .vendor = "SST", |
| 4071 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4072 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4073 | .manufacture_id = SST_ID, |
| 4074 | .model_id = SST_49LF003A, |
| 4075 | .total_size = 384, |
| 4076 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4077 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 4078 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4079 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4080 | .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] | 4081 | .block_erasers = |
| 4082 | { |
| 4083 | { |
| 4084 | .eraseblocks = { {4 * 1024, 96} }, |
| 4085 | .block_erase = erase_sst_fwhub_sector, |
| 4086 | }, { |
| 4087 | .eraseblocks = { {64 * 1024, 6} }, |
| 4088 | .block_erase = erase_sst_fwhub_block, |
| 4089 | }, { |
| 4090 | .eraseblocks = { {384 * 1024, 1} }, |
| 4091 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4092 | } |
| 4093 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4094 | .write = write_sst_fwhub, |
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 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 4099 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 4100 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 4101 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4102 | .vendor = "SST", |
| 4103 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4104 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4105 | .manufacture_id = SST_ID, |
| 4106 | .model_id = SST_49LF004A, |
| 4107 | .total_size = 512, |
| 4108 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4109 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4110 | .tested = TEST_OK_PREW, |
| 4111 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4112 | .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] | 4113 | .block_erasers = |
| 4114 | { |
| 4115 | { |
| 4116 | .eraseblocks = { {4 * 1024, 128} }, |
| 4117 | .block_erase = erase_sector_jedec, /* missing unlock */ |
| 4118 | }, { |
| 4119 | .eraseblocks = { {64 * 1024, 8} }, |
Carl-Daniel Hailfinger | 11c9e68 | 2009-11-06 18:09:42 +0000 | [diff] [blame] | 4120 | .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] | 4121 | }, { |
| 4122 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4123 | .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] | 4124 | }, |
| 4125 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4126 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4127 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4128 | }, |
| 4129 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4130 | { |
| 4131 | .vendor = "SST", |
| 4132 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4133 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4134 | .manufacture_id = SST_ID, |
| 4135 | .model_id = SST_49LF004C, |
| 4136 | .total_size = 512, |
| 4137 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4138 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4139 | .tested = TEST_UNTESTED, |
| 4140 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4141 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4142 | .block_erasers = |
| 4143 | { |
| 4144 | { |
| 4145 | .eraseblocks = { {4 * 1024, 128} }, |
| 4146 | .block_erase = erase_sector_49lfxxxc, |
| 4147 | }, { |
| 4148 | .eraseblocks = { |
| 4149 | {64 * 1024, 7}, |
| 4150 | {32 * 1024, 1}, |
| 4151 | {8 * 1024, 2}, |
| 4152 | {16 * 1024, 1}, |
| 4153 | }, |
| 4154 | .block_erase = erase_block_49lfxxxc, |
| 4155 | } |
| 4156 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4157 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4158 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4159 | }, |
| 4160 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4161 | { |
| 4162 | .vendor = "SST", |
| 4163 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4164 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4165 | .manufacture_id = SST_ID, |
| 4166 | .model_id = SST_49LF008A, |
| 4167 | .total_size = 1024, |
| 4168 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4169 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4170 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4171 | .probe = probe_sst_fwhub, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4172 | .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] | 4173 | .block_erasers = |
| 4174 | { |
| 4175 | { |
| 4176 | .eraseblocks = { {4 * 1024, 256} }, |
| 4177 | .block_erase = erase_sst_fwhub_sector, |
| 4178 | }, { |
| 4179 | .eraseblocks = { {64 * 1024, 16} }, |
| 4180 | .block_erase = erase_sst_fwhub_block, |
| 4181 | }, { |
| 4182 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4183 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 4184 | } |
| 4185 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4186 | .write = write_sst_fwhub, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4187 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4188 | }, |
| 4189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4190 | { |
| 4191 | .vendor = "SST", |
| 4192 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4193 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4194 | .manufacture_id = SST_ID, |
| 4195 | .model_id = SST_49LF008C, |
| 4196 | .total_size = 1024, |
| 4197 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4198 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4199 | .tested = TEST_UNTESTED, |
| 4200 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4201 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4202 | .block_erasers = |
| 4203 | { |
| 4204 | { |
| 4205 | .eraseblocks = { {4 * 1024, 256} }, |
| 4206 | .block_erase = erase_sector_49lfxxxc, |
| 4207 | }, { |
| 4208 | .eraseblocks = { |
| 4209 | {64 * 1024, 15}, |
| 4210 | {32 * 1024, 1}, |
| 4211 | {8 * 1024, 2}, |
| 4212 | {16 * 1024, 1}, |
| 4213 | }, |
| 4214 | .block_erase = erase_block_49lfxxxc, |
| 4215 | } |
| 4216 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4217 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4218 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4219 | }, |
| 4220 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4221 | { |
| 4222 | .vendor = "SST", |
| 4223 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4224 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4225 | .manufacture_id = SST_ID, |
| 4226 | .model_id = SST_49LF016C, |
| 4227 | .total_size = 2048, |
| 4228 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4229 | .feature_bits = 0, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4230 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4231 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4232 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4233 | .block_erasers = |
| 4234 | { |
| 4235 | { |
| 4236 | .eraseblocks = { {4 * 1024, 512} }, |
| 4237 | .block_erase = erase_sector_49lfxxxc, |
| 4238 | }, { |
| 4239 | .eraseblocks = { |
| 4240 | {64 * 1024, 31}, |
| 4241 | {32 * 1024, 1}, |
| 4242 | {8 * 1024, 2}, |
| 4243 | {16 * 1024, 1}, |
| 4244 | }, |
| 4245 | .block_erase = erase_block_49lfxxxc, |
| 4246 | } |
| 4247 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4248 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4249 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4250 | }, |
| 4251 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4252 | { |
| 4253 | .vendor = "SST", |
| 4254 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4255 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4256 | .manufacture_id = SST_ID, |
| 4257 | .model_id = SST_49LF020, |
| 4258 | .total_size = 256, |
| 4259 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4260 | .feature_bits = FEATURE_EITHER_RESET, |
| 4261 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4262 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4263 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4264 | .block_erasers = |
| 4265 | { |
| 4266 | { |
| 4267 | .eraseblocks = { {4 * 1024, 64} }, |
| 4268 | .block_erase = erase_sector_jedec, |
| 4269 | }, { |
| 4270 | .eraseblocks = { {16 * 1024, 16} }, |
| 4271 | .block_erase = erase_block_jedec, |
| 4272 | }, { |
| 4273 | .eraseblocks = { {256 * 1024, 1} }, |
| 4274 | .block_erase = NULL, |
| 4275 | } |
| 4276 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4277 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4278 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 4279 | }, |
| 4280 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4281 | { |
| 4282 | .vendor = "SST", |
| 4283 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4284 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4285 | .manufacture_id = SST_ID, |
| 4286 | .model_id = SST_49LF020A, |
| 4287 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 4288 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4289 | .feature_bits = FEATURE_EITHER_RESET, |
| 4290 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4291 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4292 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4293 | .block_erasers = |
| 4294 | { |
| 4295 | { |
| 4296 | .eraseblocks = { {4 * 1024, 64} }, |
| 4297 | .block_erase = erase_sector_jedec, |
| 4298 | }, { |
| 4299 | .eraseblocks = { {16 * 1024, 16} }, |
| 4300 | .block_erase = erase_block_jedec, |
| 4301 | }, { |
| 4302 | .eraseblocks = { {256 * 1024, 1} }, |
| 4303 | .block_erase = NULL, |
| 4304 | } |
| 4305 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4306 | .write = write_jedec_1, |
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 = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4313 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4314 | .manufacture_id = SST_ID, |
| 4315 | .model_id = SST_49LF040, |
| 4316 | .total_size = 512, |
| 4317 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4318 | .feature_bits = FEATURE_EITHER_RESET, |
| 4319 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4320 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4321 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4322 | .block_erasers = |
| 4323 | { |
| 4324 | { |
| 4325 | .eraseblocks = { {4 * 1024, 128} }, |
| 4326 | .block_erase = erase_sector_jedec, |
| 4327 | }, { |
| 4328 | .eraseblocks = { {64 * 1024, 8} }, |
| 4329 | .block_erase = erase_block_jedec, |
| 4330 | }, { |
| 4331 | .eraseblocks = { {512 * 1024, 1} }, |
| 4332 | .block_erase = NULL, |
| 4333 | } |
| 4334 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4335 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4336 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4337 | }, |
| 4338 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4339 | { |
| 4340 | .vendor = "SST", |
| 4341 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4342 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4343 | .manufacture_id = SST_ID, |
| 4344 | .model_id = SST_49LF040B, |
| 4345 | .total_size = 512, |
| 4346 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4347 | .feature_bits = FEATURE_EITHER_RESET, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4348 | .tested = TEST_UNTESTED, |
| 4349 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4350 | .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] | 4351 | .block_erasers = |
| 4352 | { |
| 4353 | { |
| 4354 | .eraseblocks = { {4 * 1024, 128} }, |
| 4355 | .block_erase = erase_sector_jedec, |
| 4356 | }, { |
| 4357 | .eraseblocks = { {64 * 1024, 8} }, |
| 4358 | .block_erase = erase_block_jedec, |
| 4359 | }, { |
| 4360 | .eraseblocks = { {512 * 1024, 1} }, |
| 4361 | .block_erase = NULL, |
| 4362 | } |
| 4363 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4364 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4365 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4366 | }, |
| 4367 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4368 | { |
| 4369 | .vendor = "SST", |
| 4370 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4371 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4372 | .manufacture_id = SST_ID, |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4373 | .model_id = SST_49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4374 | .total_size = 1024, |
| 4375 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4376 | .feature_bits = FEATURE_EITHER_RESET, |
| 4377 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4378 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4379 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4380 | .block_erasers = |
| 4381 | { |
| 4382 | { |
| 4383 | .eraseblocks = { {4 * 1024, 256} }, |
| 4384 | .block_erase = erase_sector_jedec, |
| 4385 | }, { |
| 4386 | .eraseblocks = { {64 * 1024, 16} }, |
| 4387 | .block_erase = erase_block_jedec, |
| 4388 | }, { |
| 4389 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4390 | .block_erase = NULL, |
| 4391 | } |
| 4392 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4393 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4394 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4395 | }, |
| 4396 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4397 | { |
| 4398 | .vendor = "SST", |
| 4399 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4400 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4401 | .manufacture_id = SST_ID, |
| 4402 | .model_id = SST_49LF160C, |
| 4403 | .total_size = 2048, |
| 4404 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4405 | .feature_bits = 0, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4406 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4407 | .probe = probe_49lfxxxc, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4408 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Carl-Daniel Hailfinger | 48f1d73 | 2010-02-11 23:03:53 +0000 | [diff] [blame] | 4409 | /* .erase = NULL, Was: erase_49flxxxc */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4410 | .block_erasers = |
| 4411 | { |
| 4412 | { |
| 4413 | .eraseblocks = { {4 * 1024, 512} }, |
| 4414 | .block_erase = erase_sector_49lfxxxc, |
| 4415 | }, { |
| 4416 | .eraseblocks = { |
| 4417 | {64 * 1024, 31}, |
| 4418 | {32 * 1024, 1}, |
| 4419 | {8 * 1024, 2}, |
| 4420 | {16 * 1024, 1}, |
| 4421 | }, |
| 4422 | .block_erase = erase_block_49lfxxxc, |
| 4423 | } |
| 4424 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4425 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4426 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4427 | }, |
| 4428 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4429 | { |
| 4430 | .vendor = "ST", |
| 4431 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4432 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4433 | .manufacture_id = ST_ID, |
| 4434 | .model_id = ST_M25P05A, |
| 4435 | .total_size = 64, |
| 4436 | .page_size = 256, |
| 4437 | .tested = TEST_UNTESTED, |
| 4438 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4439 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4440 | .block_erasers = |
| 4441 | { |
| 4442 | { |
| 4443 | .eraseblocks = { {32 * 1024, 2} }, |
| 4444 | .block_erase = spi_block_erase_d8, |
| 4445 | }, { |
| 4446 | .eraseblocks = { {64 * 1024, 1} }, |
| 4447 | .block_erase = spi_block_erase_c7, |
| 4448 | } |
| 4449 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4450 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4451 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4452 | }, |
| 4453 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4454 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 4455 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
| 4456 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res |
| 4457 | * only is successful if RDID does not work. |
| 4458 | */ |
| 4459 | { |
| 4460 | .vendor = "ST", |
| 4461 | .name = "M25P05.RES", |
| 4462 | .bustype = CHIP_BUSTYPE_SPI, |
| 4463 | .manufacture_id = ST_ID, |
| 4464 | .model_id = ST_M25P05_RES, |
| 4465 | .total_size = 64, |
| 4466 | .page_size = 256, |
| 4467 | .tested = TEST_UNTESTED, |
| 4468 | .probe = probe_spi_res, |
| 4469 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4470 | .block_erasers = |
| 4471 | { |
| 4472 | { |
| 4473 | .eraseblocks = { {32 * 1024, 2} }, |
| 4474 | .block_erase = spi_block_erase_d8, |
| 4475 | }, { |
| 4476 | .eraseblocks = { {64 * 1024, 1} }, |
| 4477 | .block_erase = spi_block_erase_c7, |
| 4478 | } |
| 4479 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4480 | .write = spi_chip_write_1, /* 128 */ |
| 4481 | .read = spi_chip_read, |
| 4482 | }, |
| 4483 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4484 | { |
| 4485 | .vendor = "ST", |
| 4486 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4487 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4488 | .manufacture_id = ST_ID, |
| 4489 | .model_id = ST_M25P10A, |
| 4490 | .total_size = 128, |
| 4491 | .page_size = 256, |
| 4492 | .tested = TEST_UNTESTED, |
| 4493 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4494 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4495 | .block_erasers = |
| 4496 | { |
| 4497 | { |
| 4498 | .eraseblocks = { {32 * 1024, 4} }, |
| 4499 | .block_erase = spi_block_erase_d8, |
| 4500 | }, { |
| 4501 | .eraseblocks = { {128 * 1024, 1} }, |
| 4502 | .block_erase = spi_block_erase_c7, |
| 4503 | } |
| 4504 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4505 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4506 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4507 | }, |
| 4508 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4509 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 4510 | { |
| 4511 | .vendor = "ST", |
| 4512 | .name = "M25P10.RES", |
| 4513 | .bustype = CHIP_BUSTYPE_SPI, |
| 4514 | .manufacture_id = ST_ID, |
| 4515 | .model_id = ST_M25P10_RES, |
| 4516 | .total_size = 128, |
| 4517 | .page_size = 256, |
| 4518 | .tested = TEST_UNTESTED, |
| 4519 | .probe = probe_spi_res, |
| 4520 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4521 | .block_erasers = |
| 4522 | { |
| 4523 | { |
| 4524 | .eraseblocks = { {32 * 1024, 4} }, |
| 4525 | .block_erase = spi_block_erase_d8, |
| 4526 | }, { |
| 4527 | .eraseblocks = { {128 * 1024, 1} }, |
| 4528 | .block_erase = spi_block_erase_c7, |
| 4529 | } |
| 4530 | }, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 4531 | .write = spi_chip_write_1, /* 128 */ |
| 4532 | .read = spi_chip_read, |
| 4533 | }, |
| 4534 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4535 | { |
| 4536 | .vendor = "ST", |
| 4537 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4538 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4539 | .manufacture_id = ST_ID, |
| 4540 | .model_id = ST_M25P20, |
| 4541 | .total_size = 256, |
| 4542 | .page_size = 256, |
| 4543 | .tested = TEST_UNTESTED, |
| 4544 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4545 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4546 | .block_erasers = |
| 4547 | { |
| 4548 | { |
| 4549 | .eraseblocks = { {64 * 1024, 4} }, |
| 4550 | .block_erase = spi_block_erase_d8, |
| 4551 | }, { |
| 4552 | .eraseblocks = { {256 * 1024, 1} }, |
| 4553 | .block_erase = spi_block_erase_c7, |
| 4554 | } |
| 4555 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4556 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4557 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4558 | }, |
| 4559 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4560 | { |
| 4561 | .vendor = "ST", |
| 4562 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4563 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4564 | .manufacture_id = ST_ID, |
| 4565 | .model_id = ST_M25P40, |
| 4566 | .total_size = 512, |
| 4567 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4568 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4569 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4570 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4571 | .block_erasers = |
| 4572 | { |
| 4573 | { |
| 4574 | .eraseblocks = { {64 * 1024, 8} }, |
| 4575 | .block_erase = spi_block_erase_d8, |
| 4576 | }, { |
| 4577 | .eraseblocks = { {512 * 1024, 1} }, |
| 4578 | .block_erase = spi_block_erase_c7, |
| 4579 | } |
| 4580 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4581 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4582 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4583 | }, |
| 4584 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4585 | { |
| 4586 | .vendor = "ST", |
| 4587 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4588 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4589 | .manufacture_id = ST_ID, |
| 4590 | .model_id = ST_M25P40_RES, |
| 4591 | .total_size = 512, |
| 4592 | .page_size = 256, |
| 4593 | .tested = TEST_UNTESTED, |
| 4594 | .probe = probe_spi_res, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4595 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4596 | .block_erasers = |
| 4597 | { |
| 4598 | { |
| 4599 | .eraseblocks = { {64 * 1024, 8} }, |
| 4600 | .block_erase = spi_block_erase_d8, |
| 4601 | }, { |
| 4602 | .eraseblocks = { {512 * 1024, 1} }, |
| 4603 | .block_erase = spi_block_erase_c7, |
| 4604 | } |
| 4605 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4606 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4607 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4608 | }, |
| 4609 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4610 | { |
| 4611 | .vendor = "ST", |
| 4612 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4613 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4614 | .manufacture_id = ST_ID, |
| 4615 | .model_id = ST_M25P80, |
| 4616 | .total_size = 1024, |
| 4617 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4618 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4619 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4620 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4621 | .block_erasers = |
| 4622 | { |
| 4623 | { |
| 4624 | .eraseblocks = { {64 * 1024, 16} }, |
| 4625 | .block_erase = spi_block_erase_d8, |
| 4626 | }, { |
| 4627 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4628 | .block_erase = spi_block_erase_c7, |
| 4629 | } |
| 4630 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4631 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4632 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4633 | }, |
| 4634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4635 | { |
| 4636 | .vendor = "ST", |
| 4637 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4638 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4639 | .manufacture_id = ST_ID, |
| 4640 | .model_id = ST_M25P16, |
| 4641 | .total_size = 2048, |
| 4642 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4643 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4644 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4645 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4646 | .block_erasers = |
| 4647 | { |
| 4648 | { |
| 4649 | .eraseblocks = { {64 * 1024, 32} }, |
| 4650 | .block_erase = spi_block_erase_d8, |
| 4651 | }, { |
| 4652 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4653 | .block_erase = spi_block_erase_c7, |
| 4654 | } |
| 4655 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4656 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4657 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4658 | }, |
| 4659 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4660 | { |
| 4661 | .vendor = "ST", |
| 4662 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4663 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4664 | .manufacture_id = ST_ID, |
| 4665 | .model_id = ST_M25P32, |
| 4666 | .total_size = 4096, |
| 4667 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4668 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4669 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4670 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4671 | .block_erasers = |
| 4672 | { |
| 4673 | { |
| 4674 | .eraseblocks = { {64 * 1024, 64} }, |
| 4675 | .block_erase = spi_block_erase_d8, |
| 4676 | }, { |
| 4677 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4678 | .block_erase = spi_block_erase_c7, |
| 4679 | } |
| 4680 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4681 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4682 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4683 | }, |
| 4684 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4685 | { |
| 4686 | .vendor = "ST", |
| 4687 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4688 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4689 | .manufacture_id = ST_ID, |
| 4690 | .model_id = ST_M25P64, |
| 4691 | .total_size = 8192, |
| 4692 | .page_size = 256, |
| 4693 | .tested = TEST_UNTESTED, |
| 4694 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4695 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4696 | .block_erasers = |
| 4697 | { |
| 4698 | { |
| 4699 | .eraseblocks = { {64 * 1024, 128} }, |
| 4700 | .block_erase = spi_block_erase_d8, |
| 4701 | }, { |
| 4702 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4703 | .block_erase = spi_block_erase_c7, |
| 4704 | } |
| 4705 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4706 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4707 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4708 | }, |
| 4709 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4710 | { |
| 4711 | .vendor = "ST", |
| 4712 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4713 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4714 | .manufacture_id = ST_ID, |
| 4715 | .model_id = ST_M25P128, |
| 4716 | .total_size = 16384, |
| 4717 | .page_size = 256, |
| 4718 | .tested = TEST_UNTESTED, |
| 4719 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4720 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4721 | .block_erasers = |
| 4722 | { |
| 4723 | { |
| 4724 | .eraseblocks = { {256 * 1024, 64} }, |
| 4725 | .block_erase = spi_block_erase_d8, |
| 4726 | }, { |
| 4727 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 4728 | .block_erase = spi_block_erase_c7, |
| 4729 | } |
| 4730 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4731 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4732 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4733 | }, |
| 4734 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4735 | { |
| 4736 | .vendor = "ST", |
| 4737 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4738 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4739 | .manufacture_id = ST_ID, |
| 4740 | .model_id = ST_M29F002B, |
| 4741 | .total_size = 256, |
| 4742 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4743 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4744 | .tested = TEST_UNTESTED, |
| 4745 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4746 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4747 | .block_erasers = |
| 4748 | { |
| 4749 | { |
| 4750 | .eraseblocks = { |
| 4751 | {16 * 1024, 1}, |
| 4752 | {8 * 1024, 2}, |
| 4753 | {32 * 1024, 1}, |
| 4754 | {64 * 1024, 3}, |
| 4755 | }, |
| 4756 | .block_erase = erase_sector_jedec, |
| 4757 | }, { |
| 4758 | .eraseblocks = { {256 * 1024, 1} }, |
| 4759 | .block_erase = erase_chip_block_jedec, |
| 4760 | } |
| 4761 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4762 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4763 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4764 | }, |
| 4765 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4766 | { |
| 4767 | .vendor = "ST", |
| 4768 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4769 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4770 | .manufacture_id = ST_ID, |
| 4771 | .model_id = ST_M29F002T, |
| 4772 | .total_size = 256, |
| 4773 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4774 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 4775 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4776 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4777 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4778 | .block_erasers = |
| 4779 | { |
| 4780 | { |
| 4781 | .eraseblocks = { |
| 4782 | {64 * 1024, 3}, |
| 4783 | {32 * 1024, 1}, |
| 4784 | {8 * 1024, 2}, |
| 4785 | {16 * 1024, 1}, |
| 4786 | }, |
| 4787 | .block_erase = erase_sector_jedec, |
| 4788 | }, { |
| 4789 | .eraseblocks = { {256 * 1024, 1} }, |
| 4790 | .block_erase = erase_chip_block_jedec, |
| 4791 | } |
| 4792 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4793 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4794 | .read = read_memmapped, |
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 = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4800 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4801 | .manufacture_id = ST_ID, |
| 4802 | .model_id = ST_M29F040B, |
| 4803 | .total_size = 512, |
| 4804 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4805 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4806 | .tested = TEST_UNTESTED, |
| 4807 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4808 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4809 | .block_erasers = |
| 4810 | { |
| 4811 | { |
| 4812 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4813 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4814 | }, { |
| 4815 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4816 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4817 | } |
| 4818 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4819 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4820 | .read = read_memmapped, |
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 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4824 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4825 | .vendor = "ST", |
| 4826 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4827 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4828 | .manufacture_id = ST_ID, |
| 4829 | .model_id = ST_M29F400BT, |
| 4830 | .total_size = 512, |
| 4831 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4832 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4833 | .tested = TEST_UNTESTED, |
| 4834 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 4835 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4836 | .block_erasers = |
| 4837 | { |
| 4838 | { |
| 4839 | .eraseblocks = { |
| 4840 | {64 * 1024, 7}, |
| 4841 | {32 * 1024, 1}, |
| 4842 | {8 * 1024, 2}, |
| 4843 | {16 * 1024, 1}, |
| 4844 | }, |
| 4845 | .block_erase = block_erase_m29f400bt, |
| 4846 | }, { |
| 4847 | .eraseblocks = { {512 * 1024, 1} }, |
| 4848 | .block_erase = block_erase_chip_m29f400bt, |
| 4849 | } |
| 4850 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4851 | .write = write_coreboot_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4852 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4853 | }, |
| 4854 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4855 | { |
| 4856 | .vendor = "ST", |
| 4857 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4858 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4859 | .manufacture_id = ST_ID, |
| 4860 | .model_id = ST_M29W010B, |
| 4861 | .total_size = 128, |
| 4862 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4863 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4864 | .tested = TEST_UNTESTED, |
| 4865 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4866 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4867 | .block_erasers = |
| 4868 | { |
| 4869 | { |
| 4870 | .eraseblocks = { {16 * 1024, 8}, }, |
| 4871 | .block_erase = erase_sector_jedec, |
| 4872 | }, { |
| 4873 | .eraseblocks = { {128 * 1024, 1} }, |
| 4874 | .block_erase = erase_chip_block_jedec, |
| 4875 | } |
| 4876 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4877 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4878 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4879 | }, |
| 4880 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4881 | { |
| 4882 | .vendor = "ST", |
| 4883 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4884 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4885 | .manufacture_id = ST_ID, |
| 4886 | .model_id = ST_M29W040B, |
| 4887 | .total_size = 512, |
| 4888 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4889 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4890 | .tested = TEST_UNTESTED, |
| 4891 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4892 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4893 | .block_erasers = |
| 4894 | { |
| 4895 | { |
| 4896 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4897 | .block_erase = erase_sector_jedec, |
| 4898 | }, { |
| 4899 | .eraseblocks = { {512 * 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 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 4907 | { |
| 4908 | .vendor = "ST", |
| 4909 | .name = "M29W512B", |
| 4910 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4911 | .manufacture_id = ST_ID, |
| 4912 | .model_id = ST_M29W512B, |
| 4913 | .total_size = 64, |
| 4914 | .page_size = 64 * 1024, |
| 4915 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4916 | .tested = TEST_OK_PREW, |
| 4917 | .probe = probe_jedec, |
| 4918 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 4919 | .block_erasers = |
| 4920 | { |
| 4921 | { |
| 4922 | .eraseblocks = { {64 * 1024, 1} }, |
| 4923 | .block_erase = erase_chip_block_jedec, |
| 4924 | } |
| 4925 | }, |
| 4926 | .write = write_jedec_1, |
| 4927 | .read = read_memmapped, |
| 4928 | }, |
| 4929 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4930 | { |
| 4931 | .vendor = "ST", |
| 4932 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4933 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4934 | .manufacture_id = ST_ID, |
| 4935 | .model_id = ST_M50FLW040A, |
| 4936 | .total_size = 512, |
| 4937 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4938 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4939 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4940 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 4941 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4942 | .block_erasers = |
| 4943 | { |
| 4944 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 4945 | .eraseblocks = { |
| 4946 | {4 * 1024, 16}, /* sector */ |
| 4947 | {64 * 1024, 5}, /* block */ |
| 4948 | {4 * 1024, 16}, /* sector */ |
| 4949 | {4 * 1024, 16}, /* sector */ |
| 4950 | }, |
| 4951 | .block_erase = NULL, |
| 4952 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4953 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4954 | .block_erase = erase_block_stm50flw0x0x, |
| 4955 | }, { |
| 4956 | .eraseblocks = { {512 * 1024, 1} }, |
| 4957 | .block_erase = erase_chip_stm50flw0x0x, |
| 4958 | } |
| 4959 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4960 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4961 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4962 | }, |
| 4963 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4964 | { |
| 4965 | .vendor = "ST", |
| 4966 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4967 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4968 | .manufacture_id = ST_ID, |
| 4969 | .model_id = ST_M50FLW040B, |
| 4970 | .total_size = 512, |
| 4971 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4972 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4973 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4974 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 4975 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4976 | .block_erasers = |
| 4977 | { |
| 4978 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 4979 | .eraseblocks = { |
| 4980 | {4 * 1024, 16}, /* sector */ |
| 4981 | {4 * 1024, 16}, /* sector */ |
| 4982 | {64 * 1024, 5}, /* block */ |
| 4983 | {4 * 1024, 16}, /* sector */ |
| 4984 | }, |
| 4985 | .block_erase = NULL, |
| 4986 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 4987 | .eraseblocks = { {64 * 1024, 8}, }, |
| 4988 | .block_erase = erase_block_stm50flw0x0x, |
| 4989 | }, { |
| 4990 | .eraseblocks = { {512 * 1024, 1} }, |
| 4991 | .block_erase = erase_chip_stm50flw0x0x, |
| 4992 | } |
| 4993 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4994 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4995 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4996 | }, |
| 4997 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4998 | { |
| 4999 | .vendor = "ST", |
| 5000 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5001 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5002 | .manufacture_id = ST_ID, |
| 5003 | .model_id = ST_M50FLW080A, |
| 5004 | .total_size = 1024, |
| 5005 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5006 | .feature_bits = 0, |
| 5007 | .tested = TEST_UNTESTED, |
| 5008 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5009 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5010 | .block_erasers = |
| 5011 | { |
| 5012 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5013 | .eraseblocks = { |
| 5014 | {4 * 1024, 16}, /* sector */ |
| 5015 | {64 * 1024, 13}, /* block */ |
| 5016 | {4 * 1024, 16}, /* sector */ |
| 5017 | {4 * 1024, 16}, /* sector */ |
| 5018 | }, |
| 5019 | .block_erase = NULL, |
| 5020 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5021 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5022 | .block_erase = erase_block_stm50flw0x0x, |
| 5023 | }, { |
| 5024 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5025 | .block_erase = erase_chip_stm50flw0x0x, |
| 5026 | } |
| 5027 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5028 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5029 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5030 | }, |
| 5031 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5032 | { |
| 5033 | .vendor = "ST", |
| 5034 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5035 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5036 | .manufacture_id = ST_ID, |
| 5037 | .model_id = ST_M50FLW080B, |
| 5038 | .total_size = 1024, |
| 5039 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5040 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5041 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5042 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5043 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5044 | .block_erasers = |
| 5045 | { |
| 5046 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 5047 | .eraseblocks = { |
| 5048 | {4 * 1024, 16}, /* sector */ |
| 5049 | {4 * 1024, 16}, /* sector */ |
| 5050 | {64 * 1024, 13}, /* block */ |
| 5051 | {4 * 1024, 16}, /* sector */ |
| 5052 | }, |
| 5053 | .block_erase = NULL, |
| 5054 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5055 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5056 | .block_erase = erase_block_stm50flw0x0x, |
| 5057 | }, { |
| 5058 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5059 | .block_erase = erase_chip_stm50flw0x0x, |
| 5060 | } |
| 5061 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5062 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5063 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5064 | }, |
| 5065 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5066 | { |
| 5067 | .vendor = "ST", |
| 5068 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5069 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5070 | .manufacture_id = ST_ID, |
| 5071 | .model_id = ST_M50FW002, |
| 5072 | .total_size = 256, |
| 5073 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5074 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5075 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5076 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5077 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5078 | .block_erasers = |
| 5079 | { |
| 5080 | { |
| 5081 | .eraseblocks = { |
| 5082 | {64 * 1024, 3}, |
| 5083 | {32 * 1024, 1}, |
| 5084 | {8 * 1024, 2}, |
| 5085 | {16 * 1024, 1}, |
| 5086 | }, |
| 5087 | .block_erase = erase_block_stm50flw0x0x, |
| 5088 | }, { |
| 5089 | .eraseblocks = { {256 * 1024, 1} }, |
| 5090 | .block_erase = erase_chip_stm50flw0x0x, |
| 5091 | } |
| 5092 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5093 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5094 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5095 | }, |
| 5096 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5097 | { |
| 5098 | .vendor = "ST", |
| 5099 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5100 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5101 | .manufacture_id = ST_ID, |
| 5102 | .model_id = ST_M50FW016, |
| 5103 | .total_size = 2048, |
| 5104 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5105 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5106 | .tested = TEST_UNTESTED, |
| 5107 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5108 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5109 | .block_erasers = |
| 5110 | { |
| 5111 | { |
| 5112 | .eraseblocks = { {64 * 1024, 32}, }, |
| 5113 | .block_erase = erase_block_stm50flw0x0x, |
| 5114 | }, { |
| 5115 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5116 | .block_erase = erase_chip_stm50flw0x0x, |
| 5117 | } |
| 5118 | }, |
| 5119 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5120 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5121 | }, |
| 5122 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5123 | { |
| 5124 | .vendor = "ST", |
| 5125 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5126 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5127 | .manufacture_id = ST_ID, |
| 5128 | .model_id = ST_M50FW040, |
| 5129 | .total_size = 512, |
| 5130 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5131 | .feature_bits = 0, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5132 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5133 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5134 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5135 | .block_erasers = |
| 5136 | { |
| 5137 | { |
| 5138 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5139 | .block_erase = erase_block_stm50flw0x0x, |
| 5140 | }, { |
| 5141 | .eraseblocks = { {512 * 1024, 1} }, |
| 5142 | .block_erase = erase_chip_stm50flw0x0x, |
| 5143 | } |
| 5144 | }, |
| 5145 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5146 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5147 | }, |
| 5148 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5149 | { |
| 5150 | .vendor = "ST", |
| 5151 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5152 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5153 | .manufacture_id = ST_ID, |
| 5154 | .model_id = ST_M50FW080, |
| 5155 | .total_size = 1024, |
| 5156 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5157 | .feature_bits = 0, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5158 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5159 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5160 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5161 | .block_erasers = |
| 5162 | { |
| 5163 | { |
| 5164 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5165 | .block_erase = erase_block_stm50flw0x0x, |
| 5166 | }, { |
| 5167 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5168 | .block_erase = erase_chip_stm50flw0x0x, |
| 5169 | } |
| 5170 | }, |
| 5171 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5172 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5173 | }, |
| 5174 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5175 | { |
| 5176 | .vendor = "ST", |
| 5177 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5178 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5179 | .manufacture_id = ST_ID, |
| 5180 | .model_id = ST_M50LPW116, |
| 5181 | .total_size = 2048, |
| 5182 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5183 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5184 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5185 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5186 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5187 | .block_erasers = |
| 5188 | { |
| 5189 | { |
| 5190 | .eraseblocks = { |
| 5191 | {4 * 1024, 16}, |
| 5192 | {64 * 1024, 30}, |
| 5193 | {32 * 1024, 1}, |
| 5194 | {8 * 1024, 2}, |
| 5195 | {16 * 1024, 1}, |
| 5196 | }, |
| 5197 | .block_erase = erase_block_stm50flw0x0x, |
| 5198 | }, { |
| 5199 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5200 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5201 | } |
| 5202 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5203 | .write = write_stm50flw0x0x, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5204 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5205 | }, |
| 5206 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5207 | { |
| 5208 | .vendor = "SyncMOS", |
| 5209 | .name = "S29C31004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5210 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5211 | .manufacture_id = SYNCMOS_ID, |
| 5212 | .model_id = S29C31004T, |
| 5213 | .total_size = 512, |
| 5214 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5215 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5216 | .tested = TEST_UNTESTED, |
| 5217 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5218 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5219 | .block_erasers = |
| 5220 | { |
| 5221 | { |
| 5222 | .eraseblocks = { {1 * 1024, 512} }, |
| 5223 | .block_erase = erase_sector_jedec, |
| 5224 | }, { |
| 5225 | .eraseblocks = { {512 * 1024, 1} }, |
| 5226 | .block_erase = erase_chip_block_jedec, |
| 5227 | }, |
| 5228 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5229 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5230 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5231 | }, |
| 5232 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5233 | { |
| 5234 | .vendor = "SyncMOS", |
| 5235 | .name = "S29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5236 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5237 | .manufacture_id = SYNCMOS_ID, |
| 5238 | .model_id = S29C51001T, |
| 5239 | .total_size = 128, |
| 5240 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5241 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5242 | .tested = TEST_UNTESTED, |
| 5243 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5244 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5245 | .block_erasers = |
| 5246 | { |
| 5247 | { |
| 5248 | .eraseblocks = { {512, 256} }, |
| 5249 | .block_erase = erase_sector_jedec, |
| 5250 | }, { |
| 5251 | .eraseblocks = { {128 * 1024, 1} }, |
| 5252 | .block_erase = erase_chip_block_jedec, |
| 5253 | }, |
| 5254 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5255 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5256 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5257 | }, |
| 5258 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5259 | { |
| 5260 | .vendor = "SyncMOS", |
| 5261 | .name = "S29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5262 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5263 | .manufacture_id = SYNCMOS_ID, |
| 5264 | .model_id = S29C51002T, |
| 5265 | .total_size = 256, |
| 5266 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5267 | .feature_bits = FEATURE_EITHER_RESET, |
| 5268 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5269 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5270 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5271 | .block_erasers = |
| 5272 | { |
| 5273 | { |
| 5274 | .eraseblocks = { {512, 512} }, |
| 5275 | .block_erase = erase_sector_jedec, |
| 5276 | }, { |
| 5277 | .eraseblocks = { {256 * 1024, 1} }, |
| 5278 | .block_erase = erase_chip_block_jedec, |
| 5279 | }, |
| 5280 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5281 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5282 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5283 | }, |
| 5284 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5285 | { |
| 5286 | .vendor = "SyncMOS", |
| 5287 | .name = "S29C51004T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5288 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5289 | .manufacture_id = SYNCMOS_ID, |
| 5290 | .model_id = S29C51004T, |
| 5291 | .total_size = 512, |
| 5292 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5293 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5294 | .tested = TEST_UNTESTED, |
| 5295 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5296 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5297 | .block_erasers = |
| 5298 | { |
| 5299 | { |
Sean Nelson | 012a31e | 2010-01-19 20:23:26 +0000 | [diff] [blame] | 5300 | .eraseblocks = { {1 * 1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5301 | .block_erase = erase_sector_jedec, |
| 5302 | }, { |
| 5303 | .eraseblocks = { {512 * 1024, 1} }, |
| 5304 | .block_erase = erase_chip_block_jedec, |
| 5305 | }, |
| 5306 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5307 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5308 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5309 | }, |
| 5310 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5311 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5312 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5313 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5314 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5315 | .manufacture_id = TI_OLD_ID, |
| 5316 | .model_id = TI_TMS29F002RB, |
| 5317 | .total_size = 256, |
| 5318 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5319 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5320 | .tested = TEST_UNTESTED, |
| 5321 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5322 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5323 | .block_erasers = |
| 5324 | { |
| 5325 | { |
| 5326 | .eraseblocks = { |
| 5327 | {16 * 1024, 1}, |
| 5328 | {8 * 1024, 2}, |
| 5329 | {32 * 1024, 1}, |
| 5330 | {64 * 1024, 3}, |
| 5331 | }, |
| 5332 | .block_erase = erase_sector_jedec, |
| 5333 | }, { |
| 5334 | .eraseblocks = { {256 * 1024, 1} }, |
| 5335 | .block_erase = erase_chip_block_jedec, |
| 5336 | }, |
| 5337 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5338 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5339 | .read = read_memmapped, |
| 5340 | }, |
| 5341 | |
| 5342 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 5343 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5344 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5345 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5346 | .manufacture_id = TI_OLD_ID, |
| 5347 | .model_id = TI_TMS29F002RT, |
| 5348 | .total_size = 256, |
| 5349 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5350 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5351 | .tested = TEST_UNTESTED, |
| 5352 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5353 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5354 | .block_erasers = |
| 5355 | { |
| 5356 | { |
| 5357 | .eraseblocks = { |
| 5358 | {64 * 1024, 3}, |
| 5359 | {32 * 1024, 1}, |
| 5360 | {8 * 1024, 2}, |
| 5361 | {16 * 1024, 1}, |
| 5362 | }, |
| 5363 | .block_erase = erase_sector_jedec, |
| 5364 | }, { |
| 5365 | .eraseblocks = { {256 * 1024, 1} }, |
| 5366 | .block_erase = erase_chip_block_jedec, |
| 5367 | }, |
| 5368 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5369 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 5370 | .read = read_memmapped, |
| 5371 | }, |
| 5372 | |
| 5373 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5374 | .vendor = "Winbond", |
| 5375 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5376 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5377 | .manufacture_id = WINBOND_NEX_ID, |
| 5378 | .model_id = W_25X10, |
| 5379 | .total_size = 128, |
| 5380 | .page_size = 256, |
| 5381 | .tested = TEST_UNTESTED, |
| 5382 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5383 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5384 | .block_erasers = |
| 5385 | { |
| 5386 | { |
| 5387 | .eraseblocks = { {4 * 1024, 32} }, |
| 5388 | .block_erase = spi_block_erase_20, |
| 5389 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5390 | .eraseblocks = { {64 * 1024, 2} }, |
| 5391 | .block_erase = spi_block_erase_d8, |
| 5392 | }, { |
| 5393 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5394 | .block_erase = spi_block_erase_c7, |
| 5395 | } |
| 5396 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5397 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5398 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5399 | }, |
| 5400 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5401 | { |
| 5402 | .vendor = "Winbond", |
| 5403 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5404 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5405 | .manufacture_id = WINBOND_NEX_ID, |
| 5406 | .model_id = W_25X20, |
| 5407 | .total_size = 256, |
| 5408 | .page_size = 256, |
| 5409 | .tested = TEST_UNTESTED, |
| 5410 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5411 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5412 | .block_erasers = |
| 5413 | { |
| 5414 | { |
| 5415 | .eraseblocks = { {4 * 1024, 64} }, |
| 5416 | .block_erase = spi_block_erase_20, |
| 5417 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5418 | .eraseblocks = { {64 * 1024, 4} }, |
| 5419 | .block_erase = spi_block_erase_d8, |
| 5420 | }, { |
| 5421 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5422 | .block_erase = spi_block_erase_c7, |
| 5423 | } |
| 5424 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5425 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5426 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5427 | }, |
| 5428 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5429 | { |
| 5430 | .vendor = "Winbond", |
| 5431 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5432 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5433 | .manufacture_id = WINBOND_NEX_ID, |
| 5434 | .model_id = W_25X40, |
| 5435 | .total_size = 512, |
| 5436 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5437 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5438 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5439 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5440 | .block_erasers = |
| 5441 | { |
| 5442 | { |
| 5443 | .eraseblocks = { {4 * 1024, 128} }, |
| 5444 | .block_erase = spi_block_erase_20, |
| 5445 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5446 | .eraseblocks = { {64 * 1024, 8} }, |
| 5447 | .block_erase = spi_block_erase_d8, |
| 5448 | }, { |
| 5449 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5450 | .block_erase = spi_block_erase_c7, |
| 5451 | } |
| 5452 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5453 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5454 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5455 | }, |
| 5456 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5457 | { |
| 5458 | .vendor = "Winbond", |
| 5459 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5460 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5461 | .manufacture_id = WINBOND_NEX_ID, |
| 5462 | .model_id = W_25X80, |
| 5463 | .total_size = 1024, |
| 5464 | .page_size = 256, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5465 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5466 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5467 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5468 | .block_erasers = |
| 5469 | { |
| 5470 | { |
| 5471 | .eraseblocks = { {4 * 1024, 256} }, |
| 5472 | .block_erase = spi_block_erase_20, |
| 5473 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5474 | .eraseblocks = { {64 * 1024, 16} }, |
| 5475 | .block_erase = spi_block_erase_d8, |
| 5476 | }, { |
| 5477 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5478 | .block_erase = spi_block_erase_c7, |
| 5479 | } |
| 5480 | }, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5481 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5482 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5483 | }, |
| 5484 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5485 | { |
| 5486 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5487 | .name = "W25x16", |
| 5488 | .bustype = CHIP_BUSTYPE_SPI, |
| 5489 | .manufacture_id = WINBOND_NEX_ID, |
| 5490 | .model_id = W_25X16, |
| 5491 | .total_size = 2048, |
| 5492 | .page_size = 256, |
| 5493 | .tested = TEST_OK_PR, |
| 5494 | .probe = probe_spi_rdid, |
| 5495 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5496 | .block_erasers = |
| 5497 | { |
| 5498 | { |
| 5499 | .eraseblocks = { {4 * 1024, 512} }, |
| 5500 | .block_erase = spi_block_erase_20, |
| 5501 | }, { |
| 5502 | .eraseblocks = { {32 * 1024, 64} }, |
| 5503 | .block_erase = spi_block_erase_52, |
| 5504 | }, { |
| 5505 | .eraseblocks = { {64 * 1024, 32} }, |
| 5506 | .block_erase = spi_block_erase_d8, |
| 5507 | }, { |
| 5508 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5509 | .block_erase = spi_block_erase_60, |
| 5510 | }, { |
| 5511 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 5512 | .block_erase = spi_block_erase_c7, |
| 5513 | } |
| 5514 | }, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 5515 | .write = spi_chip_write_256, |
| 5516 | .read = spi_chip_read, |
| 5517 | }, |
| 5518 | |
| 5519 | { |
| 5520 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5521 | .name = "W25x32", |
| 5522 | .bustype = CHIP_BUSTYPE_SPI, |
| 5523 | .manufacture_id = WINBOND_NEX_ID, |
| 5524 | .model_id = W_25X32, |
| 5525 | .total_size = 4096, |
| 5526 | .page_size = 256, |
| 5527 | .tested = TEST_OK_PROBE, |
| 5528 | .probe = probe_spi_rdid, |
| 5529 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5530 | .block_erasers = |
| 5531 | { |
| 5532 | { |
| 5533 | .eraseblocks = { {4 * 1024, 1024} }, |
| 5534 | .block_erase = spi_block_erase_20, |
| 5535 | }, { |
| 5536 | .eraseblocks = { {32 * 1024, 128} }, |
| 5537 | .block_erase = spi_block_erase_52, |
| 5538 | }, { |
| 5539 | .eraseblocks = { {64 * 1024, 64} }, |
| 5540 | .block_erase = spi_block_erase_d8, |
| 5541 | }, { |
| 5542 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5543 | .block_erase = spi_block_erase_60, |
| 5544 | }, { |
| 5545 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 5546 | .block_erase = spi_block_erase_c7, |
| 5547 | } |
| 5548 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5549 | .write = spi_chip_write_256, |
| 5550 | .read = spi_chip_read, |
| 5551 | }, |
| 5552 | |
| 5553 | { |
| 5554 | .vendor = "Winbond", |
| 5555 | .name = "W25x64", |
| 5556 | .bustype = CHIP_BUSTYPE_SPI, |
| 5557 | .manufacture_id = WINBOND_NEX_ID, |
| 5558 | .model_id = W_25X64, |
| 5559 | .total_size = 8192, |
| 5560 | .page_size = 256, |
| 5561 | .tested = TEST_UNTESTED, |
| 5562 | .probe = probe_spi_rdid, |
| 5563 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5564 | .block_erasers = |
| 5565 | { |
| 5566 | { |
| 5567 | .eraseblocks = { {4 * 1024, 2048} }, |
| 5568 | .block_erase = spi_block_erase_20, |
| 5569 | }, { |
| 5570 | .eraseblocks = { {32 * 1024, 256} }, |
| 5571 | .block_erase = spi_block_erase_52, |
| 5572 | }, { |
| 5573 | .eraseblocks = { {64 * 1024, 128} }, |
| 5574 | .block_erase = spi_block_erase_d8, |
| 5575 | }, { |
| 5576 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5577 | .block_erase = spi_block_erase_60, |
| 5578 | }, { |
| 5579 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 5580 | .block_erase = spi_block_erase_c7, |
| 5581 | } |
| 5582 | }, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 5583 | .write = spi_chip_write_256, |
| 5584 | .read = spi_chip_read, |
| 5585 | }, |
| 5586 | |
| 5587 | { |
| 5588 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5589 | .name = "W29C011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5590 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5591 | .manufacture_id = WINBOND_ID, |
| 5592 | .model_id = W_29C011, |
| 5593 | .total_size = 128, |
| 5594 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5595 | .feature_bits = FEATURE_LONG_RESET, |
| 5596 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5597 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5598 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5599 | .block_erasers = |
| 5600 | { |
| 5601 | { |
| 5602 | .eraseblocks = { {128 * 1024, 1} }, |
| 5603 | .block_erase = erase_chip_block_jedec, |
| 5604 | } |
| 5605 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5606 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5607 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5608 | }, |
| 5609 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5610 | { |
| 5611 | .vendor = "Winbond", |
| 5612 | .name = "W29C020C", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5613 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5614 | .manufacture_id = WINBOND_ID, |
| 5615 | .model_id = W_29C020C, |
| 5616 | .total_size = 256, |
| 5617 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5618 | .feature_bits = FEATURE_LONG_RESET, |
| 5619 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5620 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5621 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5622 | .block_erasers = |
| 5623 | { |
| 5624 | { |
| 5625 | .eraseblocks = { {256 * 1024, 1} }, |
| 5626 | .block_erase = erase_chip_block_jedec, |
| 5627 | } |
| 5628 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5629 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5630 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5631 | }, |
| 5632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5633 | { |
| 5634 | .vendor = "Winbond", |
| 5635 | .name = "W29C040P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 5636 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5637 | .manufacture_id = WINBOND_ID, |
| 5638 | .model_id = W_29C040P, |
| 5639 | .total_size = 512, |
| 5640 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5641 | .feature_bits = FEATURE_LONG_RESET, |
| 5642 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5643 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5644 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5645 | .block_erasers = |
| 5646 | { |
| 5647 | { |
| 5648 | .eraseblocks = { {512 * 1024, 1} }, |
| 5649 | .block_erase = erase_chip_block_jedec, |
| 5650 | } |
| 5651 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5652 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5653 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5654 | }, |
| 5655 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5656 | { |
| 5657 | .vendor = "Winbond", |
| 5658 | .name = "W29EE011", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5659 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5660 | .manufacture_id = WINBOND_ID, |
| 5661 | .model_id = W_29C011, |
| 5662 | .total_size = 128, |
| 5663 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5664 | .feature_bits = FEATURE_LONG_RESET, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5665 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5666 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5667 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5668 | .block_erasers = |
| 5669 | { |
| 5670 | { |
| 5671 | .eraseblocks = { {128 * 1024, 1} }, |
| 5672 | .block_erase = erase_chip_block_jedec, |
| 5673 | } |
| 5674 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5675 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5676 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5677 | }, |
| 5678 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5679 | { |
| 5680 | .vendor = "Winbond", |
| 5681 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5682 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5683 | .manufacture_id = WINBOND_ID, |
| 5684 | .model_id = W_39V040A, |
| 5685 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5686 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5687 | .feature_bits = FEATURE_EITHER_RESET, |
| 5688 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5689 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5690 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5691 | .block_erasers = |
| 5692 | { |
| 5693 | { |
| 5694 | .eraseblocks = { {64 * 1024, 8} }, |
| 5695 | .block_erase = erase_sector_jedec, |
| 5696 | }, { |
| 5697 | .eraseblocks = { {512 * 1024, 1} }, |
| 5698 | .block_erase = erase_chip_block_jedec, |
| 5699 | } |
| 5700 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5701 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5702 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5703 | }, |
| 5704 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5705 | { |
| 5706 | .vendor = "Winbond", |
| 5707 | .name = "W39V040B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5708 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5709 | .manufacture_id = WINBOND_ID, |
| 5710 | .model_id = W_39V040B, |
| 5711 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5712 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5713 | .feature_bits = FEATURE_EITHER_RESET, |
| 5714 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5715 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5716 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5717 | .block_erasers = |
| 5718 | { |
| 5719 | { |
| 5720 | .eraseblocks = { {64 * 1024, 8} }, |
| 5721 | .block_erase = erase_sector_jedec, |
| 5722 | }, { |
| 5723 | .eraseblocks = { {512 * 1024, 1} }, |
| 5724 | .block_erase = erase_chip_block_jedec, |
| 5725 | } |
| 5726 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5727 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5728 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5729 | }, |
| 5730 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5731 | { |
| 5732 | .vendor = "Winbond", |
| 5733 | .name = "W39V040C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5734 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5735 | .manufacture_id = WINBOND_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5736 | .model_id = W_39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5737 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5738 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5739 | .feature_bits = FEATURE_EITHER_RESET, |
| 5740 | .tested = TEST_UNTESTED, |
| 5741 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 5742 | .probe_timing = TIMING_FIXME, |
Carl-Daniel Hailfinger | 48f1d73 | 2010-02-11 23:03:53 +0000 | [diff] [blame] | 5743 | /* .erase = NULL, Was erase_w39v040c */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5744 | .block_erasers = |
| 5745 | { |
| 5746 | { |
| 5747 | .eraseblocks = { {64 * 1024, 8} }, |
| 5748 | .block_erase = erase_sector_jedec, |
| 5749 | }, { |
| 5750 | .eraseblocks = { {512 * 1024, 1} }, |
| 5751 | .block_erase = erase_chip_block_jedec, |
| 5752 | } |
| 5753 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5754 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5755 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5756 | }, |
| 5757 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5758 | { |
| 5759 | .vendor = "Winbond", |
| 5760 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5761 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5762 | .manufacture_id = WINBOND_ID, |
| 5763 | .model_id = W_39V040FA, |
| 5764 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5765 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5766 | .feature_bits = FEATURE_EITHER_RESET, |
| 5767 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5768 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5769 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5770 | .block_erasers = |
| 5771 | { |
| 5772 | { |
| 5773 | .eraseblocks = { {4 * 1024, 128} }, |
| 5774 | .block_erase = erase_block_jedec, |
| 5775 | }, { |
| 5776 | .eraseblocks = { {64 * 1024, 8} }, |
| 5777 | .block_erase = erase_sector_jedec, |
| 5778 | }, { |
| 5779 | .eraseblocks = { {512 * 1024, 1} }, |
| 5780 | .block_erase = erase_chip_block_jedec, |
| 5781 | } |
| 5782 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5783 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5784 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5785 | }, |
| 5786 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5787 | { |
| 5788 | .vendor = "Winbond", |
| 5789 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5790 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5791 | .manufacture_id = WINBOND_ID, |
| 5792 | .model_id = W_39V080A, |
| 5793 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5794 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5795 | .feature_bits = FEATURE_EITHER_RESET, |
| 5796 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5797 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5798 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5799 | .block_erasers = |
| 5800 | { |
| 5801 | { |
| 5802 | .eraseblocks = { {64 * 1024, 16} }, |
| 5803 | .block_erase = erase_sector_jedec, |
| 5804 | }, { |
| 5805 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5806 | .block_erase = erase_chip_block_jedec, |
| 5807 | } |
| 5808 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5809 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5810 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5811 | }, |
| 5812 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5813 | { |
| 5814 | .vendor = "Winbond", |
| 5815 | .name = "W49F002U", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5816 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5817 | .manufacture_id = WINBOND_ID, |
| 5818 | .model_id = W_49F002U, |
| 5819 | .total_size = 256, |
| 5820 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5821 | .feature_bits = FEATURE_EITHER_RESET, |
| 5822 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5823 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5824 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5825 | .block_erasers = |
| 5826 | { |
| 5827 | { |
| 5828 | .eraseblocks = { |
| 5829 | {128 * 1024, 1}, |
| 5830 | {96 * 1024, 1}, |
| 5831 | {8 * 1024, 2}, |
| 5832 | {16 * 1024, 1}, |
| 5833 | }, |
| 5834 | .block_erase = erase_sector_jedec, |
| 5835 | }, { |
| 5836 | .eraseblocks = { {256 * 1024, 1} }, |
| 5837 | .block_erase = erase_chip_block_jedec, |
| 5838 | } |
| 5839 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5840 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5841 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5842 | }, |
| 5843 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5844 | { |
| 5845 | .vendor = "Winbond", |
| 5846 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5847 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5848 | .manufacture_id = WINBOND_ID, |
| 5849 | .model_id = W_49V002A, |
| 5850 | .total_size = 256, |
| 5851 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5852 | .feature_bits = FEATURE_EITHER_RESET, |
| 5853 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5854 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5855 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5856 | .block_erasers = |
| 5857 | { |
| 5858 | { |
| 5859 | .eraseblocks = { |
| 5860 | {64 * 1024, 3}, |
| 5861 | {32 * 1024, 1}, |
| 5862 | {8 * 1024, 2}, |
| 5863 | {16 * 1024, 1}, |
| 5864 | }, |
| 5865 | .block_erase = erase_sector_jedec, |
| 5866 | }, { |
| 5867 | .eraseblocks = { {256 * 1024, 1} }, |
| 5868 | .block_erase = erase_chip_block_jedec, |
| 5869 | } |
| 5870 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5871 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5872 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5873 | }, |
| 5874 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5875 | { |
| 5876 | .vendor = "Winbond", |
| 5877 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5878 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5879 | .manufacture_id = WINBOND_ID, |
| 5880 | .model_id = W_49V002FA, |
| 5881 | .total_size = 256, |
| 5882 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5883 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5884 | .tested = TEST_UNTESTED, |
| 5885 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5886 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5887 | .block_erasers = |
| 5888 | { |
| 5889 | { |
| 5890 | .eraseblocks = { |
| 5891 | {64 * 1024, 3}, |
| 5892 | {32 * 1024, 1}, |
| 5893 | {8 * 1024, 2}, |
| 5894 | {16 * 1024, 1}, |
| 5895 | }, |
| 5896 | .block_erase = erase_sector_jedec, |
| 5897 | }, { |
| 5898 | .eraseblocks = { {256 * 1024, 1} }, |
| 5899 | .block_erase = erase_chip_block_jedec, |
| 5900 | } |
| 5901 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5902 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5903 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5904 | }, |
| 5905 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5906 | { |
| 5907 | .vendor = "Winbond", |
| 5908 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5909 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5910 | .manufacture_id = WINBOND_ID, |
| 5911 | .model_id = W_39V080FA, |
| 5912 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5913 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5914 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 5915 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5916 | .probe = probe_jedec, |
| 5917 | .probe_timing = TIMING_FIXME, |
Carl-Daniel Hailfinger | 48f1d73 | 2010-02-11 23:03:53 +0000 | [diff] [blame] | 5918 | /* .erase = NULL, Was erase_winbond_fwhub */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5919 | .block_erasers = |
| 5920 | { |
| 5921 | { |
| 5922 | .eraseblocks = { {64 * 1024, 16}, }, |
| 5923 | .block_erase = erase_sector_jedec, |
| 5924 | }, { |
| 5925 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5926 | .block_erase = erase_chip_block_jedec, |
| 5927 | } |
| 5928 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5929 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5930 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5931 | }, |
| 5932 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5933 | { |
| 5934 | .vendor = "Winbond", |
| 5935 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 5936 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5937 | .manufacture_id = WINBOND_ID, |
| 5938 | .model_id = W_39V080FA_DM, |
| 5939 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 5940 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5941 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5942 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 5943 | .probe = probe_jedec, |
| 5944 | .probe_timing = TIMING_FIXME, |
Carl-Daniel Hailfinger | 48f1d73 | 2010-02-11 23:03:53 +0000 | [diff] [blame] | 5945 | /* .erase = NULL, Was erase_winbond_fwhub */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 5946 | .block_erasers = |
| 5947 | { |
| 5948 | { |
| 5949 | .eraseblocks = { {64 * 1024, 8}, }, |
| 5950 | .block_erase = erase_sector_jedec, |
| 5951 | }, { |
| 5952 | .eraseblocks = { {512 * 1024, 1} }, |
| 5953 | .block_erase = erase_chip_block_jedec, |
| 5954 | } |
| 5955 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5956 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5957 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5958 | }, |
| 5959 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5960 | { |
| 5961 | .vendor = "Atmel", |
| 5962 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5963 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5964 | .manufacture_id = ATMEL_ID, |
| 5965 | .model_id = GENERIC_DEVICE_ID, |
| 5966 | .total_size = 0, |
| 5967 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 5968 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5969 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5970 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5971 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5972 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5973 | }, |
| 5974 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5975 | { |
| 5976 | .vendor = "EON", |
| 5977 | .name = "unknown EON SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5978 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5979 | .manufacture_id = EON_ID_NOPREFIX, |
| 5980 | .model_id = GENERIC_DEVICE_ID, |
| 5981 | .total_size = 0, |
| 5982 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 5983 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5984 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5985 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5986 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5987 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5988 | }, |
| 5989 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5990 | { |
| 5991 | .vendor = "Macronix", |
| 5992 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5993 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5994 | .manufacture_id = MX_ID, |
| 5995 | .model_id = GENERIC_DEVICE_ID, |
| 5996 | .total_size = 0, |
| 5997 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 5998 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5999 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6000 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6001 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6002 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6003 | }, |
| 6004 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6005 | { |
| 6006 | .vendor = "PMC", |
| 6007 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6008 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6009 | .manufacture_id = PMC_ID, |
| 6010 | .model_id = GENERIC_DEVICE_ID, |
| 6011 | .total_size = 0, |
| 6012 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6013 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6014 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6015 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6016 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6017 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6018 | }, |
| 6019 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6020 | { |
| 6021 | .vendor = "SST", |
| 6022 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6023 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6024 | .manufacture_id = SST_ID, |
| 6025 | .model_id = GENERIC_DEVICE_ID, |
| 6026 | .total_size = 0, |
| 6027 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6028 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6029 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6030 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6031 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6032 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6033 | }, |
| 6034 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6035 | { |
| 6036 | .vendor = "ST", |
| 6037 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6038 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6039 | .manufacture_id = ST_ID, |
| 6040 | .model_id = GENERIC_DEVICE_ID, |
| 6041 | .total_size = 0, |
| 6042 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 6043 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6044 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6045 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6046 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6047 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6048 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 6049 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6050 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6051 | .vendor = "Sanyo", |
| 6052 | .name = "unknown Sanyo SPI chip", |
| 6053 | .bustype = CHIP_BUSTYPE_SPI, |
| 6054 | .manufacture_id = SANYO_ID, |
| 6055 | .model_id = GENERIC_DEVICE_ID, |
| 6056 | .total_size = 0, |
| 6057 | .page_size = 256, |
| 6058 | .tested = TEST_BAD_PREW, |
| 6059 | .probe = probe_spi_rdid, |
| 6060 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 6061 | .write = NULL, |
| 6062 | .read = NULL, |
| 6063 | }, |
| 6064 | |
| 6065 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6066 | .vendor = "Generic", |
| 6067 | .name = "unknown SPI chip (RDID)", |
| 6068 | .bustype = CHIP_BUSTYPE_SPI, |
| 6069 | .manufacture_id = GENERIC_MANUF_ID, |
| 6070 | .model_id = GENERIC_DEVICE_ID, |
| 6071 | .total_size = 0, |
| 6072 | .page_size = 256, |
| 6073 | .tested = TEST_BAD_PREW, |
| 6074 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6075 | .write = NULL, |
| 6076 | }, |
| 6077 | { |
| 6078 | .vendor = "Generic", |
| 6079 | .name = "unknown SPI chip (REMS)", |
| 6080 | .bustype = CHIP_BUSTYPE_SPI, |
| 6081 | .manufacture_id = GENERIC_MANUF_ID, |
| 6082 | .model_id = GENERIC_DEVICE_ID, |
| 6083 | .total_size = 0, |
| 6084 | .page_size = 256, |
| 6085 | .tested = TEST_BAD_PREW, |
| 6086 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 6087 | .write = NULL, |
| 6088 | }, |
| 6089 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6090 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 6091 | }; |