Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | /* |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 2 | * This file is part of the flashrom project. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 3 | * |
Uwe Hermann | d22a1d4 | 2007-09-09 20:21:05 +0000 | [diff] [blame] | 4 | * Copyright (C) 2000 Silicon Integrated System Corporation |
| 5 | * Copyright (C) 2004 Tyan Corp |
Stefan Reinauer | 4c390c8 | 2008-07-02 13:33:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 7 | * Copyright (C) 2006-2009 Carl-Daniel Hailfinger |
Sean Nelson | c57a920 | 2010-01-04 17:15:23 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 9 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 14 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 19 | * |
Stefan Reinauer | ce53297 | 2007-05-23 17:20:56 +0000 | [diff] [blame] | 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
Uwe Hermann | d110764 | 2007-08-29 17:52:32 +0000 | [diff] [blame] | 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #include "flash.h" |
Carl-Daniel Hailfinger | 0845464 | 2009-06-15 14:14:48 +0000 | [diff] [blame] | 26 | #include "flashchips.h" |
Sean Nelson | 14ba668 | 2010-02-26 05:48:29 +0000 | [diff] [blame] | 27 | #include "chipdrivers.h" |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 29 | /** |
Uwe Hermann | a972040 | 2009-05-21 15:55:46 +0000 | [diff] [blame] | 30 | * List of supported flash chips. |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 31 | * |
| 32 | * Please keep the list sorted by vendor name and chip name, so that |
| 33 | * the output of 'flashrom -L' is alphabetically sorted. |
| 34 | */ |
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 35 | struct flashchip flashchips[] = { |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 36 | |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 37 | /* |
| 38 | * .vendor = Vendor name |
| 39 | * .name = Chip name |
| 40 | * .bustype = Supported flash bus types (Parallel, LPC...) |
| 41 | * .manufacture_id = Manufacturer chip ID |
| 42 | * .model_id = Model chip ID |
| 43 | * .total_size = Total size in (binary) kbytes |
| 44 | * .page_size = Page or eraseblock(?) size in bytes |
| 45 | * .tested = Test status |
| 46 | * .probe = Probe function |
| 47 | * .probe_timing = Probe function delay |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 48 | * .block_erasers[] = Array of erase layouts and erase functions |
| 49 | * { |
| 50 | * .eraseblocks[] = Array of { blocksize, blockcount } |
| 51 | * .block_erase = Block erase function |
| 52 | * } |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 53 | * .printlock = Chip lock status function |
| 54 | * .unlock = Chip unlock function |
Carl-Daniel Hailfinger | 21eedec | 2009-07-23 12:42:01 +0000 | [diff] [blame] | 55 | * .write = Chip write function |
| 56 | * .read = Chip read function |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 57 | */ |
| 58 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 59 | { |
| 60 | .vendor = "AMD", |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 61 | .name = "Am29F010A/B", |
| 62 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 63 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 64 | .model_id = AMD_AM29F010B, /* Same as Am29F010A */ |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 65 | .total_size = 128, |
| 66 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 67 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 68 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 69 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 70 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 71 | .block_erasers = |
| 72 | { |
| 73 | { |
| 74 | .eraseblocks = { {16 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 75 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 76 | }, { |
| 77 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 78 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 79 | }, |
| 80 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 81 | .write = write_jedec_1, |
Uwe Hermann | a8b3727 | 2009-06-19 15:54:39 +0000 | [diff] [blame] | 82 | .read = read_memmapped, |
| 83 | }, |
| 84 | |
| 85 | { |
| 86 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 87 | .name = "Am29F002(N)BB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 88 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 89 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 90 | .model_id = AMD_AM29F002BB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 91 | .total_size = 256, |
| 92 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 93 | .feature_bits = FEATURE_SHORT_RESET | FEATURE_ADDR_2AA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 94 | .tested = TEST_UNTESTED, |
| 95 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 96 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 97 | .block_erasers = |
| 98 | { |
| 99 | { |
| 100 | .eraseblocks = { |
| 101 | {16 * 1024, 1}, |
| 102 | {8 * 1024, 2}, |
| 103 | {32 * 1024, 1}, |
| 104 | {64 * 1024, 3}, |
| 105 | }, |
| 106 | .block_erase = erase_sector_jedec, |
| 107 | }, { |
| 108 | .eraseblocks = { {256 * 1024, 1} }, |
| 109 | .block_erase = erase_chip_block_jedec, |
| 110 | }, |
| 111 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 112 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 113 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 114 | }, |
| 115 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 116 | { |
| 117 | .vendor = "AMD", |
| 118 | .name = "Am29F002(N)BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 119 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 120 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 121 | .model_id = AMD_AM29F002BT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 122 | .total_size = 256, |
| 123 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 124 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_ADDR_2AA, |
| 125 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 126 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 127 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 128 | .block_erasers = |
| 129 | { |
| 130 | { |
| 131 | .eraseblocks = { |
| 132 | {64 * 1024, 3}, |
| 133 | {32 * 1024, 1}, |
| 134 | {8 * 1024, 2}, |
| 135 | {16 * 1024, 1}, |
| 136 | }, |
| 137 | .block_erase = erase_sector_jedec, |
| 138 | }, { |
| 139 | .eraseblocks = { {256 * 1024, 1} }, |
| 140 | .block_erase = erase_chip_block_jedec, |
| 141 | }, |
| 142 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 143 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 144 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 145 | }, |
| 146 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 147 | { |
| 148 | .vendor = "AMD", |
| 149 | .name = "Am29F016D", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 150 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 151 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 152 | .model_id = AMD_AM29F016D, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 153 | .total_size = 2 * 1024, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 154 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 155 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 156 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 157 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 158 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 159 | .block_erasers = |
| 160 | { |
| 161 | { |
| 162 | .eraseblocks = { {64 * 1024, 32} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 163 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 164 | }, { |
| 165 | .eraseblocks = { {2048 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 166 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 167 | }, |
| 168 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 169 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 170 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 171 | }, |
| 172 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 173 | { |
| 174 | .vendor = "AMD", |
| 175 | .name = "Am29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 176 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 177 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 178 | .model_id = AMD_AM29F040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 179 | .total_size = 512, |
| 180 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 181 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 182 | .tested = TEST_UNTESTED, |
| 183 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 184 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 185 | .block_erasers = |
| 186 | { |
| 187 | { |
| 188 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 189 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 190 | }, { |
| 191 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 192 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 193 | }, |
| 194 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 195 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 196 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 197 | }, |
| 198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 199 | { |
| 200 | .vendor = "AMD", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 201 | .name = "Am29F080B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 202 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 203 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 204 | .model_id = AMD_AM29F080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 205 | .total_size = 1024, |
| 206 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 207 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 208 | .tested = TEST_UNTESTED, |
| 209 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 210 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 211 | .block_erasers = |
| 212 | { |
| 213 | { |
| 214 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 215 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 216 | }, { |
| 217 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 218 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 219 | }, |
| 220 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 221 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 222 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 223 | }, |
| 224 | |
| 225 | { |
| 226 | .vendor = "AMD", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 227 | .name = "Am29LV040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 228 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 229 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 230 | .model_id = AMD_AM29LV040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 231 | .total_size = 512, |
| 232 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 233 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 234 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 235 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 236 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 237 | .block_erasers = |
| 238 | { |
| 239 | { |
| 240 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 241 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 242 | }, { |
| 243 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 244 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 245 | }, |
| 246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 249 | }, |
| 250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 251 | { |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 252 | .vendor = "AMD", |
| 253 | .name = "Am29LV081B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | 5bae438 | 2009-06-02 00:38:14 +0000 | [diff] [blame] | 255 | .manufacture_id = AMD_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 256 | .model_id = AMD_AM29LV080B, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 257 | .total_size = 1024, |
| 258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 259 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 260 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 261 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 262 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 263 | .block_erasers = |
| 264 | { |
| 265 | { |
| 266 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 267 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 268 | }, { |
| 269 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 270 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 271 | }, |
| 272 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 273 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 274 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 275 | }, |
| 276 | |
| 277 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 278 | .vendor = "AMIC", |
| 279 | .name = "A25L05PT", |
| 280 | .bustype = CHIP_BUSTYPE_SPI, |
| 281 | .manufacture_id = AMIC_ID, |
| 282 | .model_id = AMIC_A25L05PT, |
| 283 | .total_size = 64, |
| 284 | .page_size = 256, |
| 285 | .tested = TEST_UNTESTED, |
| 286 | .probe = probe_spi_rdid4, |
| 287 | .probe_timing = TIMING_ZERO, |
| 288 | .block_erasers = |
| 289 | { |
| 290 | { |
| 291 | .eraseblocks = { |
| 292 | {32 * 1024, 1}, |
| 293 | {16 * 1024, 1}, |
| 294 | {8 * 1024, 1}, |
| 295 | {4 * 1024, 2}, |
| 296 | }, |
| 297 | .block_erase = spi_block_erase_d8, |
| 298 | }, { |
| 299 | .eraseblocks = { {64 * 1024, 1} }, |
| 300 | .block_erase = spi_block_erase_c7, |
| 301 | } |
| 302 | }, |
| 303 | .unlock = spi_disable_blockprotect, |
| 304 | .write = spi_chip_write_256, |
| 305 | .read = spi_chip_read, |
| 306 | }, |
| 307 | |
| 308 | { |
| 309 | .vendor = "AMIC", |
| 310 | .name = "A25L05PU", |
| 311 | .bustype = CHIP_BUSTYPE_SPI, |
| 312 | .manufacture_id = AMIC_ID, |
| 313 | .model_id = AMIC_A25L05PU, |
| 314 | .total_size = 64, |
| 315 | .page_size = 256, |
| 316 | .tested = TEST_UNTESTED, |
| 317 | .probe = probe_spi_rdid4, |
| 318 | .probe_timing = TIMING_ZERO, |
| 319 | .block_erasers = |
| 320 | { |
| 321 | { |
| 322 | .eraseblocks = { |
| 323 | {4 * 1024, 2}, |
| 324 | {8 * 1024, 1}, |
| 325 | {16 * 1024, 1}, |
| 326 | {32 * 1024, 1}, |
| 327 | }, |
| 328 | .block_erase = spi_block_erase_d8, |
| 329 | }, { |
| 330 | .eraseblocks = { {64 * 1024, 1} }, |
| 331 | .block_erase = spi_block_erase_c7, |
| 332 | } |
| 333 | }, |
| 334 | .unlock = spi_disable_blockprotect, |
| 335 | .write = spi_chip_write_256, |
| 336 | .read = spi_chip_read, |
| 337 | }, |
| 338 | |
| 339 | { |
| 340 | .vendor = "AMIC", |
| 341 | .name = "A25L10PT", |
| 342 | .bustype = CHIP_BUSTYPE_SPI, |
| 343 | .manufacture_id = AMIC_ID, |
| 344 | .model_id = AMIC_A25L10PT, |
| 345 | .total_size = 128, |
| 346 | .page_size = 256, |
| 347 | .tested = TEST_UNTESTED, |
| 348 | .probe = probe_spi_rdid4, |
| 349 | .probe_timing = TIMING_ZERO, |
| 350 | .block_erasers = |
| 351 | { |
| 352 | { |
| 353 | .eraseblocks = { |
| 354 | {64 * 1024, 1}, |
| 355 | {32 * 1024, 1}, |
| 356 | {16 * 1024, 1}, |
| 357 | {8 * 1024, 1}, |
| 358 | {4 * 1024, 2}, |
| 359 | }, |
| 360 | .block_erase = spi_block_erase_d8, |
| 361 | }, { |
| 362 | .eraseblocks = { {128 * 1024, 1} }, |
| 363 | .block_erase = spi_block_erase_c7, |
| 364 | } |
| 365 | }, |
| 366 | .unlock = spi_disable_blockprotect, |
| 367 | .write = spi_chip_write_256, |
| 368 | .read = spi_chip_read, |
| 369 | }, |
| 370 | |
| 371 | { |
| 372 | .vendor = "AMIC", |
| 373 | .name = "A25L10PU", |
| 374 | .bustype = CHIP_BUSTYPE_SPI, |
| 375 | .manufacture_id = AMIC_ID, |
| 376 | .model_id = AMIC_A25L10PU, |
| 377 | .total_size = 128, |
| 378 | .page_size = 256, |
| 379 | .tested = TEST_UNTESTED, |
| 380 | .probe = probe_spi_rdid4, |
| 381 | .probe_timing = TIMING_ZERO, |
| 382 | .block_erasers = |
| 383 | { |
| 384 | { |
| 385 | .eraseblocks = { |
| 386 | {4 * 1024, 2}, |
| 387 | {8 * 1024, 1}, |
| 388 | {16 * 1024, 1}, |
| 389 | {32 * 1024, 1}, |
| 390 | {64 * 1024, 1}, |
| 391 | }, |
| 392 | .block_erase = spi_block_erase_d8, |
| 393 | }, { |
| 394 | .eraseblocks = { {128 * 1024, 1} }, |
| 395 | .block_erase = spi_block_erase_c7, |
| 396 | } |
| 397 | }, |
| 398 | .unlock = spi_disable_blockprotect, |
| 399 | .write = spi_chip_write_256, |
| 400 | .read = spi_chip_read, |
| 401 | }, |
| 402 | |
| 403 | { |
| 404 | .vendor = "AMIC", |
| 405 | .name = "A25L20PT", |
| 406 | .bustype = CHIP_BUSTYPE_SPI, |
| 407 | .manufacture_id = AMIC_ID, |
| 408 | .model_id = AMIC_A25L20PT, |
| 409 | .total_size = 256, |
| 410 | .page_size = 256, |
| 411 | .tested = TEST_UNTESTED, |
| 412 | .probe = probe_spi_rdid4, |
| 413 | .probe_timing = TIMING_ZERO, |
| 414 | .block_erasers = |
| 415 | { |
| 416 | { |
| 417 | .eraseblocks = { |
| 418 | {64 * 1024, 3}, |
| 419 | {32 * 1024, 1}, |
| 420 | {16 * 1024, 1}, |
| 421 | {8 * 1024, 1}, |
| 422 | {4 * 1024, 2}, |
| 423 | }, |
| 424 | .block_erase = spi_block_erase_d8, |
| 425 | }, { |
| 426 | .eraseblocks = { {256 * 1024, 1} }, |
| 427 | .block_erase = spi_block_erase_c7, |
| 428 | } |
| 429 | }, |
| 430 | .unlock = spi_disable_blockprotect, |
| 431 | .write = spi_chip_write_256, |
| 432 | .read = spi_chip_read, |
| 433 | }, |
| 434 | |
| 435 | { |
| 436 | .vendor = "AMIC", |
| 437 | .name = "A25L20PU", |
| 438 | .bustype = CHIP_BUSTYPE_SPI, |
| 439 | .manufacture_id = AMIC_ID, |
| 440 | .model_id = AMIC_A25L20PU, |
| 441 | .total_size = 256, |
| 442 | .page_size = 256, |
| 443 | .tested = TEST_UNTESTED, |
| 444 | .probe = probe_spi_rdid4, |
| 445 | .probe_timing = TIMING_ZERO, |
| 446 | .block_erasers = |
| 447 | { |
| 448 | { |
| 449 | .eraseblocks = { |
| 450 | {4 * 1024, 2}, |
| 451 | {8 * 1024, 1}, |
| 452 | {16 * 1024, 1}, |
| 453 | {32 * 1024, 1}, |
| 454 | {64 * 1024, 3}, |
| 455 | }, |
| 456 | .block_erase = spi_block_erase_d8, |
| 457 | }, { |
| 458 | .eraseblocks = { {256 * 1024, 1} }, |
| 459 | .block_erase = spi_block_erase_c7, |
| 460 | } |
| 461 | }, |
| 462 | .unlock = spi_disable_blockprotect, |
| 463 | .write = spi_chip_write_256, |
| 464 | .read = spi_chip_read, |
| 465 | }, |
| 466 | |
| 467 | /* The A25L40P{T,U} chips are distinguished by their |
| 468 | * erase block layouts, but without any distinction in RDID. |
| 469 | * This inexplicable quirk was verified by Rudolf Marek |
| 470 | * and discussed on the flashrom mailing list on 2010-07-12. |
| 471 | */ |
| 472 | { |
| 473 | .vendor = "AMIC", |
| 474 | .name = "A25L40PT", |
| 475 | .bustype = CHIP_BUSTYPE_SPI, |
| 476 | .manufacture_id = AMIC_ID, |
| 477 | .model_id = AMIC_A25L40PT, |
| 478 | .total_size = 512, |
| 479 | .page_size = 256, |
| 480 | .tested = TEST_OK_PRW, |
| 481 | .probe = probe_spi_rdid4, |
| 482 | .probe_timing = TIMING_ZERO, |
| 483 | .block_erasers = |
| 484 | { |
| 485 | { |
| 486 | .eraseblocks = { |
| 487 | {64 * 1024, 7}, |
| 488 | {32 * 1024, 1}, |
| 489 | {16 * 1024, 1}, |
| 490 | {8 * 1024, 1}, |
| 491 | {4 * 1024, 2}, |
| 492 | }, |
| 493 | .block_erase = spi_block_erase_d8, |
| 494 | }, { |
| 495 | .eraseblocks = { {512 * 1024, 1} }, |
| 496 | .block_erase = spi_block_erase_c7, |
| 497 | } |
| 498 | }, |
| 499 | .unlock = spi_disable_blockprotect, |
| 500 | .write = spi_chip_write_256, |
| 501 | .read = spi_chip_read, |
| 502 | }, |
| 503 | |
| 504 | { |
| 505 | .vendor = "AMIC", |
| 506 | .name = "A25L40PU", |
| 507 | .bustype = CHIP_BUSTYPE_SPI, |
| 508 | .manufacture_id = AMIC_ID, |
| 509 | .model_id = AMIC_A25L40PU, |
| 510 | .total_size = 512, |
| 511 | .page_size = 256, |
| 512 | .tested = TEST_OK_PRW, |
| 513 | .probe = probe_spi_rdid4, |
| 514 | .probe_timing = TIMING_ZERO, |
| 515 | .block_erasers = |
| 516 | { |
| 517 | { |
| 518 | .eraseblocks = { |
| 519 | {4 * 1024, 2}, |
| 520 | {8 * 1024, 1}, |
| 521 | {16 * 1024, 1}, |
| 522 | {32 * 1024, 1}, |
| 523 | {64 * 1024, 7}, |
| 524 | }, |
| 525 | .block_erase = spi_block_erase_d8, |
| 526 | }, { |
| 527 | .eraseblocks = { {512 * 1024, 1} }, |
| 528 | .block_erase = spi_block_erase_c7, |
| 529 | } |
| 530 | }, |
| 531 | .unlock = spi_disable_blockprotect, |
| 532 | .write = spi_chip_write_256, |
| 533 | .read = spi_chip_read, |
| 534 | }, |
| 535 | |
| 536 | { |
| 537 | .vendor = "AMIC", |
| 538 | .name = "A25L80P", |
| 539 | .bustype = CHIP_BUSTYPE_SPI, |
| 540 | .manufacture_id = AMIC_ID, |
| 541 | .model_id = AMIC_A25L80P, |
| 542 | .total_size = 1024, |
| 543 | .page_size = 256, |
| 544 | .tested = TEST_OK_PREW, |
| 545 | .probe = probe_spi_rdid4, |
| 546 | .probe_timing = TIMING_ZERO, |
| 547 | .block_erasers = |
| 548 | { |
| 549 | { |
| 550 | .eraseblocks = { |
| 551 | {4 * 1024, 2}, |
| 552 | {8 * 1024, 1}, |
| 553 | {16 * 1024, 1}, |
| 554 | {32 * 1024, 1}, |
| 555 | {64 * 1024, 15}, |
| 556 | }, |
| 557 | .block_erase = spi_block_erase_d8, |
| 558 | }, { |
| 559 | .eraseblocks = { {1024 * 1024, 1} }, |
| 560 | .block_erase = spi_block_erase_c7, |
| 561 | } |
| 562 | }, |
| 563 | .unlock = spi_disable_blockprotect, |
| 564 | .write = spi_chip_write_256, |
| 565 | .read = spi_chip_read, |
| 566 | }, |
| 567 | |
| 568 | { |
| 569 | .vendor = "AMIC", |
| 570 | .name = "A25L16PT", |
| 571 | .bustype = CHIP_BUSTYPE_SPI, |
| 572 | .manufacture_id = AMIC_ID, |
| 573 | .model_id = AMIC_A25L16PT, |
| 574 | .total_size = 2048, |
| 575 | .page_size = 256, |
| 576 | .tested = TEST_UNTESTED, |
| 577 | .probe = probe_spi_rdid4, |
| 578 | .probe_timing = TIMING_ZERO, |
| 579 | .block_erasers = |
| 580 | { |
| 581 | { |
| 582 | .eraseblocks = { |
| 583 | {64 * 1024, 31}, |
| 584 | {32 * 1024, 1}, |
| 585 | {16 * 1024, 1}, |
| 586 | {8 * 1024, 1}, |
| 587 | {4 * 1024, 2}, |
| 588 | }, |
| 589 | .block_erase = spi_block_erase_d8, |
| 590 | }, { |
| 591 | .eraseblocks = { {2048 * 1024, 1} }, |
| 592 | .block_erase = spi_block_erase_60, |
| 593 | }, { |
| 594 | .eraseblocks = { {2048 * 1024, 1} }, |
| 595 | .block_erase = spi_block_erase_c7, |
| 596 | } |
| 597 | }, |
| 598 | .unlock = spi_disable_blockprotect, |
| 599 | .write = spi_chip_write_256, |
| 600 | .read = spi_chip_read, |
| 601 | }, |
| 602 | |
| 603 | { |
| 604 | .vendor = "AMIC", |
| 605 | .name = "A25L16PU", |
| 606 | .bustype = CHIP_BUSTYPE_SPI, |
| 607 | .manufacture_id = AMIC_ID, |
| 608 | .model_id = AMIC_A25L16PU, |
| 609 | .total_size = 2048, |
| 610 | .page_size = 256, |
| 611 | .tested = TEST_OK_PRW, |
| 612 | .probe = probe_spi_rdid4, |
| 613 | .probe_timing = TIMING_ZERO, |
| 614 | .block_erasers = |
| 615 | { |
| 616 | { |
| 617 | .eraseblocks = { |
| 618 | {4 * 1024, 2}, |
| 619 | {8 * 1024, 1}, |
| 620 | {16 * 1024, 1}, |
| 621 | {32 * 1024, 1}, |
| 622 | {64 * 1024, 31}, |
| 623 | }, |
| 624 | .block_erase = spi_block_erase_d8, |
| 625 | }, { |
| 626 | .eraseblocks = { {2048 * 1024, 1} }, |
| 627 | .block_erase = spi_block_erase_60, |
| 628 | }, { |
| 629 | .eraseblocks = { {2048 * 1024, 1} }, |
| 630 | .block_erase = spi_block_erase_c7, |
| 631 | } |
| 632 | }, |
| 633 | .unlock = spi_disable_blockprotect, |
| 634 | .write = spi_chip_write_256, |
| 635 | .read = spi_chip_read, |
| 636 | }, |
| 637 | |
| 638 | { |
| 639 | .vendor = "AMIC", |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 640 | .name = "A25L512", |
| 641 | .bustype = CHIP_BUSTYPE_SPI, |
| 642 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 643 | .model_id = AMIC_A25L512, |
| 644 | .total_size = 64, |
| 645 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 646 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 647 | .tested = TEST_UNTESTED, |
| 648 | .probe = probe_spi_rdid, |
| 649 | .probe_timing = TIMING_ZERO, |
| 650 | .block_erasers = |
| 651 | { |
| 652 | { |
| 653 | .eraseblocks = { { 4 * 1024, 16 } }, |
| 654 | .block_erase = spi_block_erase_20, |
| 655 | }, { |
| 656 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 657 | .block_erase = spi_block_erase_d8, |
| 658 | }, { |
| 659 | .eraseblocks = { { 64 * 1024, 1 } }, |
| 660 | .block_erase = spi_block_erase_c7, |
| 661 | } |
| 662 | }, |
| 663 | .unlock = spi_disable_blockprotect, |
| 664 | .write = spi_chip_write_256, |
| 665 | .read = spi_chip_read, |
| 666 | }, |
| 667 | |
| 668 | { |
| 669 | .vendor = "AMIC", |
| 670 | .name = "A25L010", |
| 671 | .bustype = CHIP_BUSTYPE_SPI, |
| 672 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 673 | .model_id = AMIC_A25L010, |
| 674 | .total_size = 128, |
| 675 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 676 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 677 | .tested = TEST_UNTESTED, |
| 678 | .probe = probe_spi_rdid, |
| 679 | .probe_timing = TIMING_ZERO, |
| 680 | .block_erasers = |
| 681 | { |
| 682 | { |
| 683 | .eraseblocks = { { 4 * 1024, 32 } }, |
| 684 | .block_erase = spi_block_erase_20, |
| 685 | }, { |
| 686 | .eraseblocks = { { 64 * 1024, 2 } }, |
| 687 | .block_erase = spi_block_erase_d8, |
| 688 | }, { |
| 689 | .eraseblocks = { { 128 * 1024, 1 } }, |
| 690 | .block_erase = spi_block_erase_c7, |
| 691 | } |
| 692 | }, |
| 693 | .unlock = spi_disable_blockprotect, |
| 694 | .write = spi_chip_write_256, |
| 695 | .read = spi_chip_read, |
| 696 | }, |
| 697 | |
| 698 | { |
| 699 | .vendor = "AMIC", |
| 700 | .name = "A25L020", |
| 701 | .bustype = CHIP_BUSTYPE_SPI, |
| 702 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 703 | .model_id = AMIC_A25L020, |
| 704 | .total_size = 256, |
| 705 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 706 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 707 | .tested = TEST_UNTESTED, |
| 708 | .probe = probe_spi_rdid, |
| 709 | .probe_timing = TIMING_ZERO, |
| 710 | .block_erasers = |
| 711 | { |
| 712 | { |
| 713 | .eraseblocks = { { 4 * 1024, 64 } }, |
| 714 | .block_erase = spi_block_erase_20, |
| 715 | }, { |
| 716 | .eraseblocks = { { 64 * 1024, 4 } }, |
| 717 | .block_erase = spi_block_erase_d8, |
| 718 | }, { |
| 719 | .eraseblocks = { { 256 * 1024, 1 } }, |
| 720 | .block_erase = spi_block_erase_c7, |
| 721 | } |
| 722 | }, |
| 723 | .unlock = spi_disable_blockprotect, |
| 724 | .write = spi_chip_write_256, |
| 725 | .read = spi_chip_read, |
| 726 | }, |
| 727 | |
| 728 | { |
| 729 | .vendor = "AMIC", |
| 730 | .name = "A25L040", |
| 731 | .bustype = CHIP_BUSTYPE_SPI, |
| 732 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 733 | .model_id = AMIC_A25L040, |
| 734 | .total_size = 512, |
| 735 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 736 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 737 | .tested = TEST_UNTESTED, |
| 738 | .probe = probe_spi_rdid, |
| 739 | .probe_timing = TIMING_ZERO, |
| 740 | .block_erasers = |
| 741 | { |
| 742 | { |
| 743 | .eraseblocks = { { 4 * 1024, 128 } }, |
| 744 | .block_erase = spi_block_erase_20, |
| 745 | }, { |
| 746 | .eraseblocks = { { 64 * 1024, 8 } }, |
| 747 | .block_erase = spi_block_erase_d8, |
| 748 | }, { |
| 749 | .eraseblocks = { { 512 * 1024, 1 } }, |
| 750 | .block_erase = spi_block_erase_c7, |
| 751 | } |
| 752 | }, |
| 753 | .unlock = spi_disable_blockprotect, |
| 754 | .write = spi_chip_write_256, |
| 755 | .read = spi_chip_read, |
| 756 | }, |
| 757 | |
| 758 | { |
| 759 | .vendor = "AMIC", |
| 760 | .name = "A25L080", |
| 761 | .bustype = CHIP_BUSTYPE_SPI, |
| 762 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 763 | .model_id = AMIC_A25L080, |
| 764 | .total_size = 1024, |
| 765 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 766 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 767 | .tested = TEST_UNTESTED, |
| 768 | .probe = probe_spi_rdid, |
| 769 | .probe_timing = TIMING_ZERO, |
| 770 | .block_erasers = |
| 771 | { |
| 772 | { |
| 773 | .eraseblocks = { { 4 * 1024, 256 } }, |
| 774 | .block_erase = spi_block_erase_20, |
| 775 | }, { |
| 776 | .eraseblocks = { { 64 * 1024, 16 } }, |
| 777 | .block_erase = spi_block_erase_d8, |
| 778 | }, { |
| 779 | .eraseblocks = { { 1024 * 1024, 1 } }, |
| 780 | .block_erase = spi_block_erase_c7, |
| 781 | } |
| 782 | }, |
| 783 | .unlock = spi_disable_blockprotect, |
| 784 | .write = spi_chip_write_256, |
| 785 | .read = spi_chip_read, |
| 786 | }, |
| 787 | |
| 788 | { |
| 789 | .vendor = "AMIC", |
| 790 | .name = "A25L016", |
| 791 | .bustype = CHIP_BUSTYPE_SPI, |
| 792 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 793 | .model_id = AMIC_A25L016, |
| 794 | .total_size = 2048, |
| 795 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 796 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 797 | .tested = TEST_UNTESTED, |
| 798 | .probe = probe_spi_rdid, |
| 799 | .probe_timing = TIMING_ZERO, |
| 800 | .block_erasers = |
| 801 | { |
| 802 | { |
| 803 | .eraseblocks = { { 4 * 1024, 512 } }, |
| 804 | .block_erase = spi_block_erase_20, |
| 805 | }, { |
| 806 | .eraseblocks = { { 64 * 1024, 32 } }, |
| 807 | .block_erase = spi_block_erase_d8, |
| 808 | }, { |
| 809 | .eraseblocks = { { 2048 * 1024, 1 } }, |
| 810 | .block_erase = spi_block_erase_c7, |
| 811 | } |
| 812 | }, |
| 813 | .unlock = spi_disable_blockprotect, |
| 814 | .write = spi_chip_write_256, |
| 815 | .read = spi_chip_read, |
| 816 | }, |
| 817 | |
| 818 | { |
| 819 | .vendor = "AMIC", |
| 820 | .name = "A25L032", |
| 821 | .bustype = CHIP_BUSTYPE_SPI, |
| 822 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 823 | .model_id = AMIC_A25L032, |
| 824 | .total_size = 4096, |
| 825 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 826 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 827 | .tested = TEST_UNTESTED, |
| 828 | .probe = probe_spi_rdid, |
| 829 | .probe_timing = TIMING_ZERO, |
| 830 | .block_erasers = |
| 831 | { |
| 832 | { |
| 833 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 834 | .block_erase = spi_block_erase_20, |
| 835 | }, { |
| 836 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 837 | .block_erase = spi_block_erase_52, |
| 838 | }, { |
| 839 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 840 | .block_erase = spi_block_erase_d8, |
| 841 | }, { |
| 842 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 843 | .block_erase = spi_block_erase_60, |
| 844 | }, { |
| 845 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 846 | .block_erase = spi_block_erase_c7, |
| 847 | } |
| 848 | }, |
| 849 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 850 | .write = spi_chip_write_256, |
| 851 | .read = spi_chip_read, |
| 852 | }, |
| 853 | |
| 854 | { |
| 855 | .vendor = "AMIC", |
| 856 | .name = "A25LQ032", |
| 857 | .bustype = CHIP_BUSTYPE_SPI, |
| 858 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 859 | .model_id = AMIC_A25LQ032, |
| 860 | .total_size = 4096, |
| 861 | .page_size = 256, |
David Hendricks | 6c51cfd | 2010-09-03 03:32:22 +0000 | [diff] [blame] | 862 | .feature_bits = FEATURE_WRSR_WREN, |
Dan Lenski | 1161712 | 2010-07-29 15:00:40 +0000 | [diff] [blame] | 863 | .tested = TEST_UNTESTED, |
| 864 | .probe = probe_spi_rdid, |
| 865 | .probe_timing = TIMING_ZERO, |
| 866 | .block_erasers = |
| 867 | { |
| 868 | { |
| 869 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 870 | .block_erase = spi_block_erase_20, |
| 871 | }, { |
| 872 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 873 | .block_erase = spi_block_erase_52, |
| 874 | }, { |
| 875 | .eraseblocks = { { 64 * 1024, 64 } }, |
| 876 | .block_erase = spi_block_erase_d8, |
| 877 | }, { |
| 878 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 879 | .block_erase = spi_block_erase_60, |
| 880 | }, { |
| 881 | .eraseblocks = { { 4096 * 1024, 1 } }, |
| 882 | .block_erase = spi_block_erase_c7, |
| 883 | } |
| 884 | }, |
| 885 | .unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */ |
| 886 | .write = spi_chip_write_256, |
| 887 | .read = spi_chip_read, |
| 888 | }, |
| 889 | |
| 890 | { |
| 891 | .vendor = "AMIC", |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 892 | .name = "A29002B", |
| 893 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 894 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 895 | .model_id = AMIC_A29002B, |
| 896 | .total_size = 256, |
| 897 | .page_size = 64 * 1024, |
| 898 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 899 | .tested = TEST_UNTESTED, |
| 900 | .probe = probe_jedec, |
| 901 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 902 | .block_erasers = |
| 903 | { |
| 904 | { |
| 905 | .eraseblocks = { |
| 906 | {16 * 1024, 1}, |
| 907 | {8 * 1024, 2}, |
| 908 | {32 * 1024, 1}, |
| 909 | {64 * 1024, 3}, |
| 910 | }, |
| 911 | .block_erase = erase_sector_jedec, |
| 912 | }, { |
| 913 | .eraseblocks = { {256 * 1024, 1} }, |
| 914 | .block_erase = erase_chip_block_jedec, |
| 915 | }, |
| 916 | }, |
| 917 | .write = write_jedec_1, |
| 918 | .read = read_memmapped, |
| 919 | }, |
| 920 | |
| 921 | { |
| 922 | .vendor = "AMIC", |
| 923 | .name = "A29002T", |
| 924 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 925 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 926 | .model_id = AMIC_A29002T, |
| 927 | .total_size = 256, |
| 928 | .page_size = 64 * 1024, |
| 929 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 930 | .tested = TEST_OK_PRW, |
| 931 | .probe = probe_jedec, |
| 932 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
| 933 | .block_erasers = |
| 934 | { |
| 935 | { |
| 936 | .eraseblocks = { |
| 937 | {64 * 1024, 3}, |
| 938 | {32 * 1024, 1}, |
| 939 | {8 * 1024, 2}, |
| 940 | {16 * 1024, 1}, |
| 941 | }, |
| 942 | .block_erase = erase_sector_jedec, |
| 943 | }, { |
| 944 | .eraseblocks = { {256 * 1024, 1} }, |
| 945 | .block_erase = erase_chip_block_jedec, |
| 946 | }, |
| 947 | }, |
| 948 | .write = write_jedec_1, |
| 949 | .read = read_memmapped, |
| 950 | }, |
| 951 | |
| 952 | { |
| 953 | .vendor = "AMIC", |
| 954 | .name = "A29040B", |
| 955 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 956 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 957 | .model_id = AMIC_A29040B, |
| 958 | .total_size = 512, |
| 959 | .page_size = 64 * 1024, |
| 960 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 961 | .tested = TEST_UNTESTED, |
| 962 | .probe = probe_jedec, |
| 963 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (am29f040b.c) */ |
| 964 | .block_erasers = |
| 965 | { |
| 966 | { |
| 967 | .eraseblocks = { {64 * 1024, 8} }, |
| 968 | .block_erase = erase_sector_jedec, |
| 969 | }, { |
| 970 | .eraseblocks = { {512 * 1024, 1} }, |
| 971 | .block_erase = erase_chip_block_jedec, |
| 972 | }, |
| 973 | }, |
| 974 | .write = write_jedec_1, |
| 975 | .read = read_memmapped, |
| 976 | }, |
| 977 | |
| 978 | { |
| 979 | .vendor = "AMIC", |
| 980 | .name = "A49LF040A", |
| 981 | .bustype = CHIP_BUSTYPE_LPC, |
| 982 | .manufacture_id = AMIC_ID_NOPREFIX, |
| 983 | .model_id = AMIC_A49LF040A, |
| 984 | .total_size = 512, |
| 985 | .page_size = 64 * 1024, |
| 986 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
| 987 | .tested = TEST_OK_PREW, |
| 988 | .probe = probe_jedec, |
| 989 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
| 990 | .block_erasers = |
| 991 | { |
| 992 | { |
| 993 | .eraseblocks = { {64 * 1024, 8} }, |
| 994 | .block_erase = erase_block_jedec, |
| 995 | }, { |
| 996 | .eraseblocks = { {512 * 1024, 1} }, |
| 997 | .block_erase = erase_chip_block_jedec, |
| 998 | } |
| 999 | }, |
| 1000 | .unlock = unlock_49fl00x, |
| 1001 | .write = write_jedec_1, |
| 1002 | .read = read_memmapped, |
| 1003 | }, |
| 1004 | |
| 1005 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1006 | .vendor = "Atmel", |
| 1007 | .name = "AT25DF021", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1008 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1009 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1010 | .model_id = ATMEL_AT25DF021, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1011 | .total_size = 256, |
| 1012 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1013 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1014 | .tested = TEST_UNTESTED, |
| 1015 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1016 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1017 | .block_erasers = |
| 1018 | { |
| 1019 | { |
| 1020 | .eraseblocks = { {4 * 1024, 64} }, |
| 1021 | .block_erase = spi_block_erase_20, |
| 1022 | }, { |
| 1023 | .eraseblocks = { {32 * 1024, 8} }, |
| 1024 | .block_erase = spi_block_erase_52, |
| 1025 | }, { |
| 1026 | .eraseblocks = { {64 * 1024, 4} }, |
| 1027 | .block_erase = spi_block_erase_d8, |
| 1028 | }, { |
| 1029 | .eraseblocks = { {256 * 1024, 1} }, |
| 1030 | .block_erase = spi_block_erase_60, |
| 1031 | }, { |
| 1032 | .eraseblocks = { {256 * 1024, 1} }, |
| 1033 | .block_erase = spi_block_erase_c7, |
| 1034 | } |
| 1035 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1036 | .printlock = spi_prettyprint_status_register_at25df, |
| 1037 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1038 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1039 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1040 | }, |
| 1041 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1042 | { |
| 1043 | .vendor = "Atmel", |
| 1044 | .name = "AT25DF041A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1045 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1046 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1047 | .model_id = ATMEL_AT25DF041A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1048 | .total_size = 512, |
| 1049 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1050 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1051 | .tested = TEST_UNTESTED, |
| 1052 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1053 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1054 | .block_erasers = |
| 1055 | { |
| 1056 | { |
| 1057 | .eraseblocks = { {4 * 1024, 128} }, |
| 1058 | .block_erase = spi_block_erase_20, |
| 1059 | }, { |
| 1060 | .eraseblocks = { {32 * 1024, 16} }, |
| 1061 | .block_erase = spi_block_erase_52, |
| 1062 | }, { |
| 1063 | .eraseblocks = { {64 * 1024, 8} }, |
| 1064 | .block_erase = spi_block_erase_d8, |
| 1065 | }, { |
| 1066 | .eraseblocks = { {512 * 1024, 1} }, |
| 1067 | .block_erase = spi_block_erase_60, |
| 1068 | }, { |
| 1069 | .eraseblocks = { {512 * 1024, 1} }, |
| 1070 | .block_erase = spi_block_erase_c7, |
| 1071 | } |
| 1072 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1073 | .printlock = spi_prettyprint_status_register_at25df, |
| 1074 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1075 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1076 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1077 | }, |
| 1078 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1079 | { |
| 1080 | .vendor = "Atmel", |
| 1081 | .name = "AT25DF081", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1082 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1083 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1084 | .model_id = ATMEL_AT25DF081, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1085 | .total_size = 1024, |
| 1086 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1087 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1088 | .tested = TEST_UNTESTED, |
| 1089 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1090 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1091 | .block_erasers = |
| 1092 | { |
| 1093 | { |
| 1094 | .eraseblocks = { {4 * 1024, 256} }, |
| 1095 | .block_erase = spi_block_erase_20, |
| 1096 | }, { |
| 1097 | .eraseblocks = { {32 * 1024, 32} }, |
| 1098 | .block_erase = spi_block_erase_52, |
| 1099 | }, { |
| 1100 | .eraseblocks = { {64 * 1024, 16} }, |
| 1101 | .block_erase = spi_block_erase_d8, |
| 1102 | }, { |
| 1103 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1104 | .block_erase = spi_block_erase_60, |
| 1105 | }, { |
| 1106 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1107 | .block_erase = spi_block_erase_c7, |
| 1108 | } |
| 1109 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1110 | .printlock = spi_prettyprint_status_register_at25df, |
| 1111 | .unlock = spi_disable_blockprotect_at25df, |
| 1112 | .write = spi_chip_write_256, |
| 1113 | .read = spi_chip_read, |
| 1114 | }, |
| 1115 | |
| 1116 | { |
| 1117 | .vendor = "Atmel", |
| 1118 | .name = "AT25DF081A", |
| 1119 | .bustype = CHIP_BUSTYPE_SPI, |
| 1120 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1121 | .model_id = ATMEL_AT25DF081A, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1122 | .total_size = 1024, |
| 1123 | .page_size = 256, |
| 1124 | .feature_bits = FEATURE_WRSR_WREN, |
| 1125 | .tested = TEST_UNTESTED, |
| 1126 | .probe = probe_spi_rdid, |
| 1127 | .probe_timing = TIMING_ZERO, |
| 1128 | .block_erasers = |
| 1129 | { |
| 1130 | { |
| 1131 | .eraseblocks = { {4 * 1024, 256} }, |
| 1132 | .block_erase = spi_block_erase_20, |
| 1133 | }, { |
| 1134 | .eraseblocks = { {32 * 1024, 32} }, |
| 1135 | .block_erase = spi_block_erase_52, |
| 1136 | }, { |
| 1137 | .eraseblocks = { {64 * 1024, 16} }, |
| 1138 | .block_erase = spi_block_erase_d8, |
| 1139 | }, { |
| 1140 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1141 | .block_erase = spi_block_erase_60, |
| 1142 | }, { |
| 1143 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1144 | .block_erase = spi_block_erase_c7, |
| 1145 | } |
| 1146 | }, |
| 1147 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1148 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1149 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1150 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1151 | }, |
| 1152 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1153 | { |
| 1154 | .vendor = "Atmel", |
| 1155 | .name = "AT25DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1156 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1157 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1158 | .model_id = ATMEL_AT25DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1159 | .total_size = 2048, |
| 1160 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1161 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1162 | .tested = TEST_UNTESTED, |
| 1163 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1164 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1165 | .block_erasers = |
| 1166 | { |
| 1167 | { |
| 1168 | .eraseblocks = { {4 * 1024, 512} }, |
| 1169 | .block_erase = spi_block_erase_20, |
| 1170 | }, { |
| 1171 | .eraseblocks = { {32 * 1024, 64} }, |
| 1172 | .block_erase = spi_block_erase_52, |
| 1173 | }, { |
| 1174 | .eraseblocks = { {64 * 1024, 32} }, |
| 1175 | .block_erase = spi_block_erase_d8, |
| 1176 | }, { |
| 1177 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1178 | .block_erase = spi_block_erase_60, |
| 1179 | }, { |
| 1180 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1181 | .block_erase = spi_block_erase_c7, |
| 1182 | } |
| 1183 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1184 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1185 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1186 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1187 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1188 | }, |
| 1189 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1190 | { |
| 1191 | .vendor = "Atmel", |
| 1192 | .name = "AT25DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1193 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1194 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1195 | .model_id = ATMEL_AT25DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1196 | .total_size = 4096, |
| 1197 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1198 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 1199 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1200 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1201 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1202 | .block_erasers = |
| 1203 | { |
| 1204 | { |
| 1205 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1206 | .block_erase = spi_block_erase_20, |
| 1207 | }, { |
| 1208 | .eraseblocks = { {32 * 1024, 128} }, |
| 1209 | .block_erase = spi_block_erase_52, |
| 1210 | }, { |
| 1211 | .eraseblocks = { {64 * 1024, 64} }, |
| 1212 | .block_erase = spi_block_erase_d8, |
| 1213 | }, { |
| 1214 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1215 | .block_erase = spi_block_erase_60, |
| 1216 | }, { |
| 1217 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1218 | .block_erase = spi_block_erase_c7, |
| 1219 | } |
| 1220 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1221 | .printlock = spi_prettyprint_status_register_at25df, |
| 1222 | .unlock = spi_disable_blockprotect_at25df, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1223 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1224 | .read = spi_chip_read, |
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 = "Atmel", |
| 1229 | .name = "AT25DF321A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1230 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1231 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1232 | .model_id = ATMEL_AT25DF321A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1233 | .total_size = 4096, |
| 1234 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1235 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1236 | .tested = TEST_UNTESTED, |
| 1237 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1238 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1239 | .block_erasers = |
| 1240 | { |
| 1241 | { |
| 1242 | .eraseblocks = { {4 * 1024, 1024} }, |
| 1243 | .block_erase = spi_block_erase_20, |
| 1244 | }, { |
| 1245 | .eraseblocks = { {32 * 1024, 128} }, |
| 1246 | .block_erase = spi_block_erase_52, |
| 1247 | }, { |
| 1248 | .eraseblocks = { {64 * 1024, 64} }, |
| 1249 | .block_erase = spi_block_erase_d8, |
| 1250 | }, { |
| 1251 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1252 | .block_erase = spi_block_erase_60, |
| 1253 | }, { |
| 1254 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 1255 | .block_erase = spi_block_erase_c7, |
| 1256 | } |
| 1257 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1258 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1259 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1260 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1261 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1262 | }, |
| 1263 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1264 | { |
| 1265 | .vendor = "Atmel", |
| 1266 | .name = "AT25DF641", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1267 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1268 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1269 | .model_id = ATMEL_AT25DF641, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1270 | .total_size = 8192, |
| 1271 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1272 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1273 | .tested = TEST_UNTESTED, |
| 1274 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1275 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1276 | .block_erasers = |
| 1277 | { |
| 1278 | { |
| 1279 | .eraseblocks = { {4 * 1024, 2048} }, |
| 1280 | .block_erase = spi_block_erase_20, |
| 1281 | }, { |
| 1282 | .eraseblocks = { {32 * 1024, 256} }, |
| 1283 | .block_erase = spi_block_erase_52, |
| 1284 | }, { |
| 1285 | .eraseblocks = { {64 * 1024, 128} }, |
| 1286 | .block_erase = spi_block_erase_d8, |
| 1287 | }, { |
| 1288 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1289 | .block_erase = spi_block_erase_60, |
| 1290 | }, { |
| 1291 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 1292 | .block_erase = spi_block_erase_c7, |
| 1293 | } |
| 1294 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1295 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1296 | .unlock = spi_disable_blockprotect_at25df_sec, |
| 1297 | .write = spi_chip_write_256, |
| 1298 | .read = spi_chip_read, |
| 1299 | }, |
| 1300 | |
| 1301 | { |
| 1302 | .vendor = "Atmel", |
| 1303 | .name = "AT25DQ161", |
| 1304 | .bustype = CHIP_BUSTYPE_SPI, |
| 1305 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1306 | .model_id = ATMEL_AT25DQ161, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1307 | .total_size = 2048, |
| 1308 | .page_size = 256, |
| 1309 | .feature_bits = FEATURE_WRSR_WREN, |
| 1310 | .tested = TEST_UNTESTED, |
| 1311 | .probe = probe_spi_rdid, |
| 1312 | .probe_timing = TIMING_ZERO, |
| 1313 | .block_erasers = |
| 1314 | { |
| 1315 | { |
| 1316 | .eraseblocks = { {4 * 1024, 512} }, |
| 1317 | .block_erase = spi_block_erase_20, |
| 1318 | }, { |
| 1319 | .eraseblocks = { {32 * 1024, 64} }, |
| 1320 | .block_erase = spi_block_erase_52, |
| 1321 | }, { |
| 1322 | .eraseblocks = { {64 * 1024, 32} }, |
| 1323 | .block_erase = spi_block_erase_d8, |
| 1324 | }, { |
| 1325 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1326 | .block_erase = spi_block_erase_60, |
| 1327 | }, { |
| 1328 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1329 | .block_erase = spi_block_erase_c7, |
| 1330 | } |
| 1331 | }, |
| 1332 | .printlock = spi_prettyprint_status_register_at25df_sec, |
| 1333 | .unlock = spi_disable_blockprotect_at25df_sec, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1334 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1335 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1336 | }, |
| 1337 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1338 | { |
| 1339 | .vendor = "Atmel", |
| 1340 | .name = "AT25F512B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1341 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1342 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1343 | .model_id = ATMEL_AT25F512B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1344 | .total_size = 64, |
| 1345 | .page_size = 256, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1346 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1347 | .tested = TEST_UNTESTED, |
| 1348 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1350 | .block_erasers = |
| 1351 | { |
| 1352 | { |
| 1353 | .eraseblocks = { {4 * 1024, 16} }, |
| 1354 | .block_erase = spi_block_erase_20, |
| 1355 | }, { |
| 1356 | .eraseblocks = { {32 * 1024, 2} }, |
| 1357 | .block_erase = spi_block_erase_52, |
| 1358 | }, { |
| 1359 | .eraseblocks = { {32 * 1024, 2} }, |
| 1360 | .block_erase = spi_block_erase_d8, |
| 1361 | }, { |
| 1362 | .eraseblocks = { {64 * 1024, 1} }, |
| 1363 | .block_erase = spi_block_erase_60, |
| 1364 | }, { |
| 1365 | .eraseblocks = { {64 * 1024, 1} }, |
| 1366 | .block_erase = spi_block_erase_c7, |
| 1367 | } |
| 1368 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1369 | .printlock = spi_prettyprint_status_register_at25f, |
| 1370 | .unlock = spi_disable_blockprotect_at25f, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1371 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1372 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1373 | }, |
| 1374 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1375 | { |
| 1376 | .vendor = "Atmel", |
| 1377 | .name = "AT25FS010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1378 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1379 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1380 | .model_id = ATMEL_AT25FS010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1381 | .total_size = 128, |
| 1382 | .page_size = 256, |
| 1383 | .tested = TEST_UNTESTED, |
| 1384 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1385 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1386 | .block_erasers = |
| 1387 | { |
| 1388 | { |
| 1389 | .eraseblocks = { {4 * 1024, 32} }, |
| 1390 | .block_erase = spi_block_erase_20, |
| 1391 | }, { |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1392 | .eraseblocks = { {4 * 1024, 32} }, |
| 1393 | .block_erase = spi_block_erase_d7, |
| 1394 | }, { |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1395 | .eraseblocks = { {32 * 1024, 4} }, |
| 1396 | .block_erase = spi_block_erase_52, |
| 1397 | }, { |
| 1398 | .eraseblocks = { {32 * 1024, 4} }, |
| 1399 | .block_erase = spi_block_erase_d8, |
| 1400 | }, { |
| 1401 | .eraseblocks = { {128 * 1024, 1} }, |
| 1402 | .block_erase = spi_block_erase_60, |
| 1403 | }, { |
| 1404 | .eraseblocks = { {128 * 1024, 1} }, |
| 1405 | .block_erase = spi_block_erase_c7, |
| 1406 | } |
| 1407 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1408 | .printlock = spi_prettyprint_status_register_at25fs010, |
| 1409 | .unlock = spi_disable_blockprotect_at25fs010, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1410 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1411 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1412 | }, |
| 1413 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1414 | { |
| 1415 | .vendor = "Atmel", |
| 1416 | .name = "AT25FS040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1417 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1418 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1419 | .model_id = ATMEL_AT25FS040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1420 | .total_size = 512, |
| 1421 | .page_size = 256, |
| 1422 | .tested = TEST_UNTESTED, |
| 1423 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1424 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1425 | .block_erasers = |
| 1426 | { |
| 1427 | { |
| 1428 | .eraseblocks = { {4 * 1024, 128} }, |
| 1429 | .block_erase = spi_block_erase_20, |
| 1430 | }, { |
| 1431 | .eraseblocks = { {64 * 1024, 8} }, |
| 1432 | .block_erase = spi_block_erase_52, |
| 1433 | }, { |
| 1434 | .eraseblocks = { {64 * 1024, 8} }, |
| 1435 | .block_erase = spi_block_erase_d8, |
| 1436 | }, { |
| 1437 | .eraseblocks = { {512 * 1024, 1} }, |
| 1438 | .block_erase = spi_block_erase_60, |
| 1439 | }, { |
| 1440 | .eraseblocks = { {512 * 1024, 1} }, |
| 1441 | .block_erase = spi_block_erase_c7, |
| 1442 | } |
| 1443 | }, |
Carl-Daniel Hailfinger | fd7075a | 2010-07-29 13:09:18 +0000 | [diff] [blame] | 1444 | .printlock = spi_prettyprint_status_register_at25fs040, |
| 1445 | .unlock = spi_disable_blockprotect_at25fs040, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1446 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1447 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1448 | }, |
| 1449 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1450 | { |
| 1451 | .vendor = "Atmel", |
| 1452 | .name = "AT26DF041", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1453 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1454 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1455 | .model_id = ATMEL_AT26DF041, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1456 | .total_size = 512, |
| 1457 | .page_size = 256, |
| 1458 | .tested = TEST_UNTESTED, |
| 1459 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1460 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1461 | .block_erasers = |
| 1462 | { |
| 1463 | { |
| 1464 | .eraseblocks = { {4 * 1024, 128} }, |
| 1465 | .block_erase = spi_block_erase_20, |
| 1466 | } |
| 1467 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1468 | .write = NULL /* Incompatible Page write */, |
| 1469 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1470 | }, |
| 1471 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1472 | { |
| 1473 | .vendor = "Atmel", |
| 1474 | .name = "AT26DF081A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1475 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1476 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1477 | .model_id = ATMEL_AT26DF081A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1478 | .total_size = 1024, |
| 1479 | .page_size = 256, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 1480 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1481 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1482 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1483 | .block_erasers = |
| 1484 | { |
| 1485 | { |
| 1486 | .eraseblocks = { {4 * 1024, 256} }, |
| 1487 | .block_erase = spi_block_erase_20, |
| 1488 | }, { |
| 1489 | .eraseblocks = { {32 * 1024, 32} }, |
| 1490 | .block_erase = spi_block_erase_52, |
| 1491 | }, { |
| 1492 | .eraseblocks = { {64 * 1024, 16} }, |
| 1493 | .block_erase = spi_block_erase_d8, |
| 1494 | }, { |
| 1495 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1496 | .block_erase = spi_block_erase_60, |
| 1497 | }, { |
| 1498 | .eraseblocks = { {1024 * 1024, 1} }, |
| 1499 | .block_erase = spi_block_erase_c7, |
| 1500 | } |
| 1501 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1502 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1503 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1504 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1505 | }, |
| 1506 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1507 | { |
| 1508 | .vendor = "Atmel", |
| 1509 | .name = "AT26DF161", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1510 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1511 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1512 | .model_id = ATMEL_AT26DF161, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1513 | .total_size = 2048, |
| 1514 | .page_size = 256, |
| 1515 | .tested = TEST_UNTESTED, |
| 1516 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1517 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1518 | .block_erasers = |
| 1519 | { |
| 1520 | { |
| 1521 | .eraseblocks = { {4 * 1024, 512} }, |
| 1522 | .block_erase = spi_block_erase_20, |
| 1523 | }, { |
| 1524 | .eraseblocks = { {32 * 1024, 64} }, |
| 1525 | .block_erase = spi_block_erase_52, |
| 1526 | }, { |
| 1527 | .eraseblocks = { {64 * 1024, 32} }, |
| 1528 | .block_erase = spi_block_erase_d8, |
| 1529 | }, { |
| 1530 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1531 | .block_erase = spi_block_erase_60, |
| 1532 | }, { |
| 1533 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1534 | .block_erase = spi_block_erase_c7, |
| 1535 | } |
| 1536 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1537 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1538 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1539 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1540 | }, |
| 1541 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1542 | { |
| 1543 | .vendor = "Atmel", |
| 1544 | .name = "AT26DF161A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1545 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1546 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1547 | .model_id = ATMEL_AT26DF161A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1548 | .total_size = 2048, |
| 1549 | .page_size = 256, |
| 1550 | .tested = TEST_UNTESTED, |
| 1551 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1552 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1553 | .block_erasers = |
| 1554 | { |
| 1555 | { |
| 1556 | .eraseblocks = { {4 * 1024, 512} }, |
| 1557 | .block_erase = spi_block_erase_20, |
| 1558 | }, { |
| 1559 | .eraseblocks = { {32 * 1024, 64} }, |
| 1560 | .block_erase = spi_block_erase_52, |
| 1561 | }, { |
| 1562 | .eraseblocks = { {64 * 1024, 32} }, |
| 1563 | .block_erase = spi_block_erase_d8, |
| 1564 | }, { |
| 1565 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1566 | .block_erase = spi_block_erase_60, |
| 1567 | }, { |
| 1568 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 1569 | .block_erase = spi_block_erase_c7, |
| 1570 | } |
| 1571 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1572 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1573 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1574 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1575 | }, |
| 1576 | |
| 1577 | /*The AT26DF321 has the same ID as the AT25DF321. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1578 | /*{ |
| 1579 | .vendor = "Atmel", |
| 1580 | .name = "AT26DF321", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1581 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1582 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1583 | .model_id = ATMEL_AT26DF321, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1584 | .total_size = 4096, |
| 1585 | .page_size = 256, |
| 1586 | .tested = TEST_UNTESTED, |
| 1587 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1588 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 1589 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 1590 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1591 | .read = spi_chip_read, |
| 1592 | },*/ |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1593 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1594 | { |
| 1595 | .vendor = "Atmel", |
| 1596 | .name = "AT26F004", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1597 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1598 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1599 | .model_id = ATMEL_AT26F004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1600 | .total_size = 512, |
| 1601 | .page_size = 256, |
| 1602 | .tested = TEST_UNTESTED, |
| 1603 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1604 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1605 | .block_erasers = |
| 1606 | { |
| 1607 | { |
| 1608 | .eraseblocks = { {4 * 1024, 128} }, |
| 1609 | .block_erase = spi_block_erase_20, |
| 1610 | }, { |
| 1611 | .eraseblocks = { {32 * 1024, 16} }, |
| 1612 | .block_erase = spi_block_erase_52, |
| 1613 | }, { |
| 1614 | .eraseblocks = { {64 * 1024, 8} }, |
| 1615 | .block_erase = spi_block_erase_d8, |
| 1616 | }, { |
| 1617 | .eraseblocks = { {512 * 1024, 1} }, |
| 1618 | .block_erase = spi_block_erase_60, |
| 1619 | }, { |
| 1620 | .eraseblocks = { {512 * 1024, 1} }, |
| 1621 | .block_erase = spi_block_erase_c7, |
| 1622 | } |
| 1623 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1624 | .write = NULL /* Incompatible Page write */, |
| 1625 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1626 | }, |
| 1627 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1628 | { |
| 1629 | .vendor = "Atmel", |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1630 | .name = "AT29C512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 1631 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1632 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1633 | .model_id = ATMEL_AT29C512, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1634 | .total_size = 64, |
| 1635 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1636 | .feature_bits = FEATURE_LONG_RESET, |
| 1637 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 1638 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1639 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1640 | .block_erasers = |
| 1641 | { |
| 1642 | { |
| 1643 | .eraseblocks = { {64 * 1024, 1} }, |
| 1644 | .block_erase = erase_chip_block_jedec, |
| 1645 | } |
| 1646 | }, |
Maciej Pijanka | bc2bbd2 | 2009-06-02 16:45:59 +0000 | [diff] [blame] | 1647 | .write = write_jedec, |
| 1648 | .read = read_memmapped, |
| 1649 | |
| 1650 | }, |
| 1651 | |
| 1652 | { |
| 1653 | .vendor = "Atmel", |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1654 | .name = "AT29C010A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1655 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1656 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1657 | .model_id = ATMEL_AT29C010A, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1658 | .total_size = 128, |
| 1659 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1660 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 1661 | .tested = TEST_OK_PREW, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1662 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 1663 | .probe_timing = 10000, /* 10mS, Enter=Exec */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1664 | .block_erasers = |
| 1665 | { |
| 1666 | { |
| 1667 | .eraseblocks = { {128 * 1024, 1} }, |
| 1668 | .block_erase = erase_chip_block_jedec, |
| 1669 | } |
| 1670 | }, |
Uwe Hermann | 8403ccb | 2009-05-16 21:39:19 +0000 | [diff] [blame] | 1671 | .write = write_jedec, /* FIXME */ |
| 1672 | .read = read_memmapped, |
| 1673 | }, |
| 1674 | |
| 1675 | { |
| 1676 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1677 | .name = "AT29C020", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1678 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1679 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1680 | .model_id = ATMEL_AT29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1681 | .total_size = 256, |
| 1682 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1683 | .feature_bits = FEATURE_LONG_RESET, |
| 1684 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1685 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 1686 | .probe_timing = 10000, /* 10ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1687 | .block_erasers = |
| 1688 | { |
| 1689 | { |
| 1690 | .eraseblocks = { {256 * 1024, 1} }, |
| 1691 | .block_erase = erase_chip_block_jedec, |
| 1692 | } |
| 1693 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1694 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1695 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1696 | }, |
| 1697 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1698 | { |
| 1699 | .vendor = "Atmel", |
| 1700 | .name = "AT29C040A", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1701 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1702 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1703 | .model_id = ATMEL_AT29C040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1704 | .total_size = 512, |
| 1705 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1706 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1707 | .tested = TEST_UNTESTED, |
| 1708 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 1709 | .probe_timing = 10000, /* 10 ms */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1710 | .block_erasers = |
| 1711 | { |
| 1712 | { |
| 1713 | .eraseblocks = { {512 * 1024, 1} }, |
| 1714 | .block_erase = erase_chip_block_jedec, |
| 1715 | } |
| 1716 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1717 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1718 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1719 | }, |
| 1720 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1721 | { |
| 1722 | .vendor = "Atmel", |
| 1723 | .name = "AT45CS1282", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1724 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1725 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1726 | .model_id = ATMEL_AT45CS1282, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1727 | .total_size = 16896 /* No power of two sizes */, |
| 1728 | .page_size = 1056 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1729 | .tested = TEST_BAD_READ, |
| 1730 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1731 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1732 | .write = NULL /* Incompatible Page write */, |
| 1733 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1734 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1735 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1736 | { |
| 1737 | .vendor = "Atmel", |
| 1738 | .name = "AT45DB011D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1739 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1740 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1741 | .model_id = ATMEL_AT45DB011D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1742 | .total_size = 128 /* Size can only be determined from status register */, |
| 1743 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1744 | .tested = TEST_BAD_READ, |
| 1745 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1746 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1747 | .write = NULL, |
| 1748 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1749 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1750 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1751 | { |
| 1752 | .vendor = "Atmel", |
| 1753 | .name = "AT45DB021D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1754 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1755 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1756 | .model_id = ATMEL_AT45DB021D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1757 | .total_size = 256 /* Size can only be determined from status register */, |
| 1758 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1759 | .tested = TEST_BAD_READ, |
| 1760 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1761 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1762 | .write = NULL, |
| 1763 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1764 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1765 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1766 | { |
| 1767 | .vendor = "Atmel", |
| 1768 | .name = "AT45DB041D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1769 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1770 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1771 | .model_id = ATMEL_AT45DB041D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1772 | .total_size = 512 /* Size can only be determined from status register */, |
| 1773 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1774 | .tested = TEST_BAD_READ, |
| 1775 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1776 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1777 | .write = NULL, |
| 1778 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1779 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1780 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1781 | { |
| 1782 | .vendor = "Atmel", |
| 1783 | .name = "AT45DB081D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1784 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1785 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1786 | .model_id = ATMEL_AT45DB081D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1787 | .total_size = 1024 /* Size can only be determined from status register */, |
| 1788 | .page_size = 256 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1789 | .tested = TEST_BAD_READ, |
| 1790 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1791 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1792 | .write = NULL, |
| 1793 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1794 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1795 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1796 | { |
| 1797 | .vendor = "Atmel", |
| 1798 | .name = "AT45DB161D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1799 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1800 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1801 | .model_id = ATMEL_AT45DB161D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1802 | .total_size = 2048 /* Size can only be determined from status register */, |
| 1803 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1804 | .tested = TEST_BAD_READ, |
| 1805 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1806 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1807 | .write = NULL, |
| 1808 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1809 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1810 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1811 | { |
| 1812 | .vendor = "Atmel", |
| 1813 | .name = "AT45DB321C", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1814 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1815 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1816 | .model_id = ATMEL_AT45DB321C, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1817 | .total_size = 4224 /* No power of two sizes */, |
| 1818 | .page_size = 528 /* No power of two sizes */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1819 | .tested = TEST_BAD_READ, |
| 1820 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1821 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1822 | .write = NULL, |
| 1823 | .read = NULL /* Incompatible read */, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1824 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1825 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1826 | { |
| 1827 | .vendor = "Atmel", |
| 1828 | .name = "AT45DB321D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1829 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1830 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1831 | .model_id = ATMEL_AT45DB321D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1832 | .total_size = 4096 /* Size can only be determined from status register */, |
| 1833 | .page_size = 512 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1834 | .tested = TEST_BAD_READ, |
| 1835 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1836 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1837 | .write = NULL, |
| 1838 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1839 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1840 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1841 | { |
| 1842 | .vendor = "Atmel", |
| 1843 | .name = "AT45DB642D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 1844 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1845 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1846 | .model_id = ATMEL_AT45DB642D, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1847 | .total_size = 8192 /* Size can only be determined from status register */, |
| 1848 | .page_size = 1024 /* Size can only be determined from status register */, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1849 | .tested = TEST_BAD_READ, |
| 1850 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 1851 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1852 | .write = NULL, |
| 1853 | .read = NULL, |
Carl-Daniel Hailfinger | 66afb36 | 2009-03-19 12:18:13 +0000 | [diff] [blame] | 1854 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1855 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1856 | { |
| 1857 | .vendor = "Atmel", |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1858 | .name = "AT49BV512", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1859 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1860 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1861 | .model_id = ATMEL_AT49BV512, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1862 | .total_size = 64, |
| 1863 | .page_size = 64, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1864 | .feature_bits = FEATURE_EITHER_RESET, |
| 1865 | .tested = TEST_UNTESTED, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1866 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1867 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1868 | .block_erasers = |
| 1869 | { |
| 1870 | { |
| 1871 | .eraseblocks = { {64 * 1024, 1} }, |
| 1872 | .block_erase = erase_chip_block_jedec, |
| 1873 | } |
| 1874 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1875 | .write = write_jedec_1, |
Uwe Hermann | b4dcb71 | 2009-05-13 11:36:06 +0000 | [diff] [blame] | 1876 | .read = read_memmapped, |
| 1877 | }, |
| 1878 | |
| 1879 | { |
| 1880 | .vendor = "Atmel", |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1881 | .name = "AT49F020", |
| 1882 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1883 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1884 | .model_id = ATMEL_AT49F020, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 1885 | .total_size = 256, |
| 1886 | .page_size = 256, |
| 1887 | .feature_bits = FEATURE_EITHER_RESET, |
| 1888 | .tested = TEST_OK_PREW, |
| 1889 | .probe = probe_jedec, |
| 1890 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 1891 | .block_erasers = |
| 1892 | { |
| 1893 | { |
| 1894 | .eraseblocks = { {256 * 1024, 1} }, |
| 1895 | .block_erase = erase_chip_block_jedec, |
| 1896 | } |
| 1897 | }, |
| 1898 | .write = write_jedec_1, |
| 1899 | .read = read_memmapped, |
| 1900 | }, |
| 1901 | |
| 1902 | { |
| 1903 | .vendor = "Atmel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1904 | .name = "AT49F002(N)", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1905 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1906 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1907 | .model_id = ATMEL_AT49F002N, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1908 | .total_size = 256, |
| 1909 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1910 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1911 | .tested = TEST_UNTESTED, |
| 1912 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1913 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1914 | .block_erasers = |
| 1915 | { |
| 1916 | { |
| 1917 | .eraseblocks = { |
| 1918 | {16 * 1024, 1}, |
| 1919 | {8 * 1024, 2}, |
| 1920 | {96 * 1024, 1}, |
| 1921 | {128 * 1024, 1}, |
| 1922 | }, |
| 1923 | .block_erase = erase_sector_jedec, |
| 1924 | }, { |
| 1925 | .eraseblocks = { {256 * 1024, 1} }, |
| 1926 | .block_erase = erase_chip_block_jedec, |
| 1927 | } |
| 1928 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1929 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1930 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1931 | }, |
| 1932 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1933 | { |
| 1934 | .vendor = "Atmel", |
| 1935 | .name = "AT49F002(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1936 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1937 | .manufacture_id = ATMEL_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 1938 | .model_id = ATMEL_AT49F002NT, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1939 | .total_size = 256, |
| 1940 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1941 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 1942 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1943 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 1944 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 8918729 | 2009-12-23 12:02:55 +0000 | [diff] [blame] | 1945 | .block_erasers = |
| 1946 | { |
| 1947 | { |
| 1948 | .eraseblocks = { |
| 1949 | {128 * 1024, 1}, |
| 1950 | {96 * 1024, 1}, |
| 1951 | {8 * 1024, 2}, |
| 1952 | {16 * 1024, 1}, |
| 1953 | }, |
| 1954 | .block_erase = erase_sector_jedec, |
| 1955 | }, { |
| 1956 | .eraseblocks = { {256 * 1024, 1} }, |
| 1957 | .block_erase = erase_chip_block_jedec, |
| 1958 | } |
| 1959 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1960 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 1961 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 1962 | }, |
| 1963 | |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 1964 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 1965 | .vendor = "Bright", |
| 1966 | .name = "BM29F040", |
| 1967 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 1968 | .manufacture_id = BRIGHT_ID, |
| 1969 | .model_id = BRIGHT_BM29F040, |
| 1970 | .total_size = 512, |
| 1971 | .page_size = 64 * 1024, |
| 1972 | .feature_bits = FEATURE_EITHER_RESET, |
| 1973 | .tested = TEST_OK_PR, |
| 1974 | .probe = probe_jedec, |
| 1975 | .probe_timing = TIMING_ZERO, |
| 1976 | .block_erasers = |
| 1977 | { |
| 1978 | { |
| 1979 | .eraseblocks = { {64 * 1024, 8} }, |
| 1980 | .block_erase = erase_sector_jedec, |
| 1981 | }, { |
| 1982 | .eraseblocks = { {512 * 1024, 1} }, |
| 1983 | .block_erase = erase_chip_block_jedec, |
| 1984 | }, |
| 1985 | }, |
| 1986 | .write = write_jedec_1, |
| 1987 | .read = read_memmapped, |
| 1988 | }, |
| 1989 | |
| 1990 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1991 | .vendor = "EMST", |
| 1992 | .name = "F49B002UA", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 1993 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1994 | .manufacture_id = EMST_ID, |
| 1995 | .model_id = EMST_F49B002UA, |
| 1996 | .total_size = 256, |
| 1997 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 1998 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 1999 | .tested = TEST_UNTESTED, |
| 2000 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2001 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2002 | .block_erasers = |
| 2003 | { |
| 2004 | { |
| 2005 | .eraseblocks = { |
| 2006 | {128 * 1024, 1}, |
| 2007 | {96 * 1024, 1}, |
| 2008 | {8 * 1024, 2}, |
| 2009 | {16 * 1024, 1}, |
| 2010 | }, |
| 2011 | .block_erase = erase_sector_jedec, |
| 2012 | }, { |
| 2013 | .eraseblocks = { {256 * 1024, 1} }, |
| 2014 | .block_erase = erase_chip_block_jedec, |
| 2015 | } |
| 2016 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2017 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2018 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2019 | }, |
| 2020 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2021 | { |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2022 | .vendor = "EMST", |
| 2023 | .name = "F25L008A", |
| 2024 | .bustype = CHIP_BUSTYPE_SPI, |
| 2025 | .manufacture_id = EMST_ID, |
| 2026 | .model_id = EMST_F25L008A, |
| 2027 | .total_size = 1024, |
| 2028 | .page_size = 256, |
| 2029 | .tested = TEST_UNTESTED, |
| 2030 | .probe = probe_spi_rdid, |
| 2031 | .probe_timing = TIMING_ZERO, |
| 2032 | .block_erasers = |
| 2033 | { |
| 2034 | { |
| 2035 | .eraseblocks = { {4 * 1024, 256} }, |
| 2036 | .block_erase = spi_block_erase_20, |
| 2037 | }, { |
| 2038 | .eraseblocks = { {64 * 1024, 16} }, |
| 2039 | .block_erase = spi_block_erase_d8, |
| 2040 | }, { |
| 2041 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2042 | .block_erase = spi_block_erase_60, |
| 2043 | }, { |
| 2044 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2045 | .block_erase = spi_block_erase_c7, |
| 2046 | } |
| 2047 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2048 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 9a795d8 | 2010-07-14 16:19:05 +0000 | [diff] [blame] | 2049 | .write = spi_chip_write_1, |
Michael Karcher | 4497e86 | 2010-07-10 19:34:15 +0000 | [diff] [blame] | 2050 | .read = spi_chip_read, |
Michael Karcher | 80a59ea | 2010-06-19 22:06:35 +0000 | [diff] [blame] | 2051 | }, |
| 2052 | |
| 2053 | { |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2054 | .vendor = "Eon", |
| 2055 | .name = "EN25B05", |
| 2056 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2057 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2058 | .model_id = EON_EN25B05, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2059 | .total_size = 64, |
| 2060 | .page_size = 256, |
| 2061 | .tested = TEST_UNTESTED, |
| 2062 | .probe = probe_spi_rdid, |
| 2063 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2064 | .block_erasers = |
| 2065 | { |
| 2066 | { |
| 2067 | .eraseblocks = { |
| 2068 | {4 * 1024, 2}, |
| 2069 | {8 * 1024, 1}, |
| 2070 | {16 * 1024, 1}, |
| 2071 | {32 * 1024, 1}, |
| 2072 | }, |
| 2073 | .block_erase = spi_block_erase_d8, |
| 2074 | }, { |
| 2075 | .eraseblocks = { {64 * 1024, 1} }, |
| 2076 | .block_erase = spi_block_erase_c7, |
| 2077 | } |
| 2078 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2079 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2080 | .write = spi_chip_write_256, |
| 2081 | .read = spi_chip_read, |
| 2082 | }, |
| 2083 | |
| 2084 | { |
| 2085 | .vendor = "Eon", |
| 2086 | .name = "EN25B05T", |
| 2087 | .bustype = CHIP_BUSTYPE_SPI, |
| 2088 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2089 | .model_id = EON_EN25B05, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2090 | .total_size = 64, |
| 2091 | .page_size = 256, |
| 2092 | .tested = TEST_UNTESTED, |
| 2093 | .probe = probe_spi_rdid, |
| 2094 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2095 | .block_erasers = |
| 2096 | { |
| 2097 | { |
| 2098 | .eraseblocks = { |
| 2099 | {32 * 1024, 1}, |
| 2100 | {16 * 1024, 1}, |
| 2101 | {8 * 1024, 1}, |
| 2102 | {4 * 1024, 2}, |
| 2103 | }, |
| 2104 | .block_erase = spi_block_erase_d8, |
| 2105 | }, { |
| 2106 | .eraseblocks = { {64 * 1024, 1} }, |
| 2107 | .block_erase = spi_block_erase_c7, |
| 2108 | } |
| 2109 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2110 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2111 | .write = spi_chip_write_256, |
| 2112 | .read = spi_chip_read, |
| 2113 | }, |
| 2114 | |
| 2115 | { |
| 2116 | .vendor = "Eon", |
| 2117 | .name = "EN25B10", |
| 2118 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2119 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2120 | .model_id = EON_EN25B10, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2121 | .total_size = 128, |
| 2122 | .page_size = 256, |
| 2123 | .tested = TEST_UNTESTED, |
| 2124 | .probe = probe_spi_rdid, |
| 2125 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2126 | .block_erasers = |
| 2127 | { |
| 2128 | { |
| 2129 | .eraseblocks = { |
| 2130 | {4 * 1024, 2}, |
| 2131 | {8 * 1024, 1}, |
| 2132 | {16 * 1024, 1}, |
| 2133 | {32 * 1024, 3}, |
| 2134 | }, |
| 2135 | .block_erase = spi_block_erase_d8, |
| 2136 | }, { |
| 2137 | .eraseblocks = { {128 * 1024, 1} }, |
| 2138 | .block_erase = spi_block_erase_c7, |
| 2139 | } |
| 2140 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2141 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2142 | .write = spi_chip_write_256, |
| 2143 | .read = spi_chip_read, |
| 2144 | }, |
| 2145 | |
| 2146 | { |
| 2147 | .vendor = "Eon", |
| 2148 | .name = "EN25B10T", |
| 2149 | .bustype = CHIP_BUSTYPE_SPI, |
| 2150 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2151 | .model_id = EON_EN25B10, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2152 | .total_size = 128, |
| 2153 | .page_size = 256, |
| 2154 | .tested = TEST_UNTESTED, |
| 2155 | .probe = probe_spi_rdid, |
| 2156 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2157 | .block_erasers = |
| 2158 | { |
| 2159 | { |
| 2160 | .eraseblocks = { |
| 2161 | {32 * 1024, 3}, |
| 2162 | {16 * 1024, 1}, |
| 2163 | {8 * 1024, 1}, |
| 2164 | {4 * 1024, 2}, |
| 2165 | }, |
| 2166 | .block_erase = spi_block_erase_d8, |
| 2167 | }, { |
| 2168 | .eraseblocks = { {128 * 1024, 1} }, |
| 2169 | .block_erase = spi_block_erase_c7, |
| 2170 | } |
| 2171 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2172 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2173 | .write = spi_chip_write_256, |
| 2174 | .read = spi_chip_read, |
| 2175 | }, |
| 2176 | |
| 2177 | { |
| 2178 | .vendor = "Eon", |
| 2179 | .name = "EN25B20", |
| 2180 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2181 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2182 | .model_id = EON_EN25B20, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2183 | .total_size = 256, |
| 2184 | .page_size = 256, |
| 2185 | .tested = TEST_UNTESTED, |
| 2186 | .probe = probe_spi_rdid, |
| 2187 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2188 | .block_erasers = |
| 2189 | { |
| 2190 | { |
| 2191 | .eraseblocks = { |
| 2192 | {4 * 1024, 2}, |
| 2193 | {8 * 1024, 1}, |
| 2194 | {16 * 1024, 1}, |
| 2195 | {32 * 1024, 1}, |
| 2196 | {64 * 1024, 3} |
| 2197 | }, |
| 2198 | .block_erase = spi_block_erase_d8, |
| 2199 | }, { |
| 2200 | .eraseblocks = { {256 * 1024, 1} }, |
| 2201 | .block_erase = spi_block_erase_c7, |
| 2202 | } |
| 2203 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2204 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2205 | .write = spi_chip_write_256, |
| 2206 | .read = spi_chip_read, |
| 2207 | }, |
| 2208 | |
| 2209 | { |
| 2210 | .vendor = "Eon", |
| 2211 | .name = "EN25B20T", |
| 2212 | .bustype = CHIP_BUSTYPE_SPI, |
| 2213 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2214 | .model_id = EON_EN25B20, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2215 | .total_size = 256, |
| 2216 | .page_size = 256, |
| 2217 | .tested = TEST_UNTESTED, |
| 2218 | .probe = probe_spi_rdid, |
| 2219 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2220 | .block_erasers = |
| 2221 | { |
| 2222 | { |
| 2223 | .eraseblocks = { |
| 2224 | {64 * 1024, 3}, |
| 2225 | {32 * 1024, 1}, |
| 2226 | {16 * 1024, 1}, |
| 2227 | {8 * 1024, 1}, |
| 2228 | {4 * 1024, 2}, |
| 2229 | }, |
| 2230 | .block_erase = spi_block_erase_d8, |
| 2231 | }, { |
| 2232 | .eraseblocks = { {256 * 1024, 1} }, |
| 2233 | .block_erase = spi_block_erase_c7, |
| 2234 | } |
| 2235 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2236 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2237 | .write = spi_chip_write_256, |
| 2238 | .read = spi_chip_read, |
| 2239 | }, |
| 2240 | |
| 2241 | { |
| 2242 | .vendor = "Eon", |
| 2243 | .name = "EN25B40", |
| 2244 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2245 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2246 | .model_id = EON_EN25B40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2247 | .total_size = 512, |
| 2248 | .page_size = 256, |
| 2249 | .tested = TEST_UNTESTED, |
| 2250 | .probe = probe_spi_rdid, |
| 2251 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2252 | .block_erasers = |
| 2253 | { |
| 2254 | { |
| 2255 | .eraseblocks = { |
| 2256 | {4 * 1024, 2}, |
| 2257 | {8 * 1024, 1}, |
| 2258 | {16 * 1024, 1}, |
| 2259 | {32 * 1024, 1}, |
| 2260 | {64 * 1024, 7} |
| 2261 | }, |
| 2262 | .block_erase = spi_block_erase_d8, |
| 2263 | }, { |
| 2264 | .eraseblocks = { {512 * 1024, 1} }, |
| 2265 | .block_erase = spi_block_erase_c7, |
| 2266 | } |
| 2267 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2268 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2269 | .write = spi_chip_write_256, |
| 2270 | .read = spi_chip_read, |
| 2271 | }, |
| 2272 | |
| 2273 | { |
| 2274 | .vendor = "Eon", |
| 2275 | .name = "EN25B40T", |
| 2276 | .bustype = CHIP_BUSTYPE_SPI, |
| 2277 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2278 | .model_id = EON_EN25B40, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2279 | .total_size = 512, |
| 2280 | .page_size = 256, |
| 2281 | .tested = TEST_UNTESTED, |
| 2282 | .probe = probe_spi_rdid, |
| 2283 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2284 | .block_erasers = |
| 2285 | { |
| 2286 | { |
| 2287 | .eraseblocks = { |
| 2288 | {64 * 1024, 7}, |
| 2289 | {32 * 1024, 1}, |
| 2290 | {16 * 1024, 1}, |
| 2291 | {8 * 1024, 1}, |
| 2292 | {4 * 1024, 2}, |
| 2293 | }, |
| 2294 | .block_erase = spi_block_erase_d8, |
| 2295 | }, { |
| 2296 | .eraseblocks = { {512 * 1024, 1} }, |
| 2297 | .block_erase = spi_block_erase_c7, |
| 2298 | } |
| 2299 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2300 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2301 | .write = spi_chip_write_256, |
| 2302 | .read = spi_chip_read, |
| 2303 | }, |
| 2304 | |
| 2305 | { |
| 2306 | .vendor = "Eon", |
| 2307 | .name = "EN25B80", |
| 2308 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2309 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2310 | .model_id = EON_EN25B80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2311 | .total_size = 1024, |
| 2312 | .page_size = 256, |
| 2313 | .tested = TEST_UNTESTED, |
| 2314 | .probe = probe_spi_rdid, |
| 2315 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2316 | .block_erasers = |
| 2317 | { |
| 2318 | { |
| 2319 | .eraseblocks = { |
| 2320 | {4 * 1024, 2}, |
| 2321 | {8 * 1024, 1}, |
| 2322 | {16 * 1024, 1}, |
| 2323 | {32 * 1024, 1}, |
| 2324 | {64 * 1024, 15} |
| 2325 | }, |
| 2326 | .block_erase = spi_block_erase_d8, |
| 2327 | }, { |
| 2328 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2329 | .block_erase = spi_block_erase_c7, |
| 2330 | } |
| 2331 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2332 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2333 | .write = spi_chip_write_256, |
| 2334 | .read = spi_chip_read, |
| 2335 | }, |
| 2336 | |
| 2337 | { |
| 2338 | .vendor = "Eon", |
| 2339 | .name = "EN25B80T", |
| 2340 | .bustype = CHIP_BUSTYPE_SPI, |
| 2341 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2342 | .model_id = EON_EN25B80, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2343 | .total_size = 1024, |
| 2344 | .page_size = 256, |
| 2345 | .tested = TEST_UNTESTED, |
| 2346 | .probe = probe_spi_rdid, |
| 2347 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2348 | .block_erasers = |
| 2349 | { |
| 2350 | { |
| 2351 | .eraseblocks = { |
| 2352 | {64 * 1024, 15}, |
| 2353 | {32 * 1024, 1}, |
| 2354 | {16 * 1024, 1}, |
| 2355 | {8 * 1024, 1}, |
| 2356 | {4 * 1024, 2}, |
| 2357 | }, |
| 2358 | .block_erase = spi_block_erase_d8, |
| 2359 | }, { |
| 2360 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2361 | .block_erase = spi_block_erase_c7, |
| 2362 | } |
| 2363 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2364 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2365 | .write = spi_chip_write_256, |
| 2366 | .read = spi_chip_read, |
| 2367 | }, |
| 2368 | |
| 2369 | { |
| 2370 | .vendor = "Eon", |
| 2371 | .name = "EN25B16", |
| 2372 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2373 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2374 | .model_id = EON_EN25B16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2375 | .total_size = 2048, |
| 2376 | .page_size = 256, |
| 2377 | .tested = TEST_UNTESTED, |
| 2378 | .probe = probe_spi_rdid, |
| 2379 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2380 | .block_erasers = |
| 2381 | { |
| 2382 | { |
| 2383 | .eraseblocks = { |
| 2384 | {4 * 1024, 2}, |
| 2385 | {8 * 1024, 1}, |
| 2386 | {16 * 1024, 1}, |
| 2387 | {32 * 1024, 1}, |
| 2388 | {64 * 1024, 31}, |
| 2389 | }, |
| 2390 | .block_erase = spi_block_erase_d8, |
| 2391 | }, { |
| 2392 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2393 | .block_erase = spi_block_erase_c7, |
| 2394 | } |
| 2395 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2396 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2397 | .write = spi_chip_write_256, |
| 2398 | .read = spi_chip_read, |
| 2399 | }, |
| 2400 | |
| 2401 | { |
| 2402 | .vendor = "Eon", |
| 2403 | .name = "EN25B16T", |
| 2404 | .bustype = CHIP_BUSTYPE_SPI, |
| 2405 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2406 | .model_id = EON_EN25B16, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2407 | .total_size = 2048, |
| 2408 | .page_size = 256, |
| 2409 | .tested = TEST_UNTESTED, |
| 2410 | .probe = probe_spi_rdid, |
| 2411 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2412 | .block_erasers = |
| 2413 | { |
| 2414 | { |
| 2415 | .eraseblocks = { |
| 2416 | {64 * 1024, 31}, |
| 2417 | {32 * 1024, 1}, |
| 2418 | {16 * 1024, 1}, |
| 2419 | {8 * 1024, 1}, |
| 2420 | {4 * 1024, 2}, |
| 2421 | }, |
| 2422 | .block_erase = spi_block_erase_d8, |
| 2423 | }, { |
| 2424 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2425 | .block_erase = spi_block_erase_c7, |
| 2426 | } |
| 2427 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2428 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2429 | .write = spi_chip_write_256, |
| 2430 | .read = spi_chip_read, |
| 2431 | }, |
| 2432 | |
| 2433 | { |
| 2434 | .vendor = "Eon", |
| 2435 | .name = "EN25B32", |
| 2436 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2437 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2438 | .model_id = EON_EN25B32, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2439 | .total_size = 4096, |
| 2440 | .page_size = 256, |
| 2441 | .tested = TEST_UNTESTED, |
| 2442 | .probe = probe_spi_rdid, |
| 2443 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2444 | .block_erasers = |
| 2445 | { |
| 2446 | { |
| 2447 | .eraseblocks = { |
| 2448 | {4 * 1024, 2}, |
| 2449 | {8 * 1024, 1}, |
| 2450 | {16 * 1024, 1}, |
| 2451 | {32 * 1024, 1}, |
| 2452 | {64 * 1024, 63}, |
| 2453 | }, |
| 2454 | .block_erase = spi_block_erase_d8, |
| 2455 | }, { |
| 2456 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2457 | .block_erase = spi_block_erase_c7, |
| 2458 | } |
| 2459 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2460 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2461 | .write = spi_chip_write_256, |
| 2462 | .read = spi_chip_read, |
| 2463 | }, |
| 2464 | |
| 2465 | { |
| 2466 | .vendor = "Eon", |
| 2467 | .name = "EN25B32T", |
| 2468 | .bustype = CHIP_BUSTYPE_SPI, |
| 2469 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2470 | .model_id = EON_EN25B32, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2471 | .total_size = 4096, |
| 2472 | .page_size = 256, |
| 2473 | .tested = TEST_UNTESTED, |
| 2474 | .probe = probe_spi_rdid, |
| 2475 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2476 | .block_erasers = |
| 2477 | { |
| 2478 | { |
| 2479 | .eraseblocks = { |
| 2480 | {64 * 1024, 63}, |
| 2481 | {32 * 1024, 1}, |
| 2482 | {16 * 1024, 1}, |
| 2483 | {8 * 1024, 1}, |
| 2484 | {4 * 1024, 2}, |
| 2485 | }, |
| 2486 | .block_erase = spi_block_erase_d8, |
| 2487 | }, { |
| 2488 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2489 | .block_erase = spi_block_erase_c7, |
| 2490 | } |
| 2491 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2492 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2493 | .write = spi_chip_write_256, |
| 2494 | .read = spi_chip_read, |
| 2495 | }, |
| 2496 | |
| 2497 | { |
| 2498 | .vendor = "Eon", |
| 2499 | .name = "EN25B64", |
| 2500 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2501 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2502 | .model_id = EON_EN25B64, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2503 | .total_size = 8192, |
| 2504 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2505 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2506 | .tested = TEST_UNTESTED, |
| 2507 | .probe = probe_spi_rdid, |
| 2508 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2509 | .block_erasers = |
| 2510 | { |
| 2511 | { |
| 2512 | .eraseblocks = { |
| 2513 | {4 * 1024, 2}, |
| 2514 | {8 * 1024, 1}, |
| 2515 | {16 * 1024, 1}, |
| 2516 | {32 * 1024, 1}, |
| 2517 | {64 * 1024, 127}, |
| 2518 | }, |
| 2519 | .block_erase = spi_block_erase_d8, |
| 2520 | }, { |
| 2521 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2522 | .block_erase = spi_block_erase_c7, |
| 2523 | } |
| 2524 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2525 | .unlock = spi_disable_blockprotect, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2526 | .write = spi_chip_write_256, |
| 2527 | .read = spi_chip_read, |
| 2528 | }, |
| 2529 | |
| 2530 | { |
| 2531 | .vendor = "Eon", |
| 2532 | .name = "EN25B64T", |
| 2533 | .bustype = CHIP_BUSTYPE_SPI, |
| 2534 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2535 | .model_id = EON_EN25B64, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2536 | .total_size = 8192, |
| 2537 | .page_size = 256, |
| 2538 | .tested = TEST_UNTESTED, |
| 2539 | .probe = probe_spi_rdid, |
| 2540 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2541 | .block_erasers = |
| 2542 | { |
| 2543 | { |
| 2544 | .eraseblocks = { |
| 2545 | {64 * 1024, 127}, |
| 2546 | {32 * 1024, 1}, |
| 2547 | {16 * 1024, 1}, |
| 2548 | {8 * 1024, 1}, |
| 2549 | {4 * 1024, 2}, |
| 2550 | }, |
| 2551 | .block_erase = spi_block_erase_d8, |
| 2552 | }, { |
| 2553 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 2554 | .block_erase = spi_block_erase_c7, |
| 2555 | } |
| 2556 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2557 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2558 | .write = spi_chip_write_256, |
| 2559 | .read = spi_chip_read, |
| 2560 | }, |
| 2561 | |
| 2562 | { |
| 2563 | .vendor = "Eon", |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2564 | .name = "EN25D16", |
| 2565 | .bustype = CHIP_BUSTYPE_SPI, |
| 2566 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2567 | .model_id = EON_EN25D16, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2568 | .total_size = 2048, |
| 2569 | .page_size = 256, |
| 2570 | .tested = TEST_UNTESTED, |
| 2571 | .probe = probe_spi_rdid, |
| 2572 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2573 | .block_erasers = |
| 2574 | { |
| 2575 | { |
| 2576 | .eraseblocks = { {4 * 1024, 512} }, |
| 2577 | .block_erase = spi_block_erase_20, |
| 2578 | }, { |
| 2579 | .eraseblocks = { {64 * 1024, 32} }, |
| 2580 | .block_erase = spi_block_erase_d8, |
| 2581 | }, { |
| 2582 | .eraseblocks = { {64 * 1024, 32} }, |
| 2583 | .block_erase = spi_block_erase_52, |
| 2584 | }, { |
| 2585 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2586 | .block_erase = spi_block_erase_60, |
| 2587 | }, { |
| 2588 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2589 | .block_erase = spi_block_erase_c7, |
| 2590 | } |
| 2591 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2592 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2593 | .write = spi_chip_write_256, |
| 2594 | .read = spi_chip_read, |
| 2595 | }, |
| 2596 | |
| 2597 | { |
| 2598 | .vendor = "Eon", |
| 2599 | .name = "EN25F05", |
| 2600 | .bustype = CHIP_BUSTYPE_SPI, |
| 2601 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2602 | .model_id = EON_EN25F05, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2603 | .total_size = 64, |
| 2604 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2605 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2606 | .tested = TEST_UNTESTED, |
| 2607 | .probe = probe_spi_rdid, |
| 2608 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2609 | .block_erasers = |
| 2610 | { |
| 2611 | { |
| 2612 | .eraseblocks = { {4 * 1024, 16} }, |
| 2613 | .block_erase = spi_block_erase_20, |
| 2614 | }, { |
| 2615 | .eraseblocks = { {32 * 1024, 2} }, |
| 2616 | .block_erase = spi_block_erase_d8, |
| 2617 | }, { |
| 2618 | .eraseblocks = { {32 * 1024, 2} }, |
| 2619 | .block_erase = spi_block_erase_52, |
| 2620 | }, { |
| 2621 | .eraseblocks = { {64 * 1024, 1} }, |
| 2622 | .block_erase = spi_block_erase_60, |
| 2623 | }, { |
| 2624 | .eraseblocks = { {64 * 1024, 1} }, |
| 2625 | .block_erase = spi_block_erase_c7, |
| 2626 | } |
| 2627 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2628 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2629 | .write = spi_chip_write_256, |
| 2630 | .read = spi_chip_read, |
| 2631 | }, |
| 2632 | |
| 2633 | { |
| 2634 | .vendor = "Eon", |
| 2635 | .name = "EN25F10", |
| 2636 | .bustype = CHIP_BUSTYPE_SPI, |
| 2637 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2638 | .model_id = EON_EN25F10, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2639 | .total_size = 128, |
| 2640 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2641 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2642 | .tested = TEST_UNTESTED, |
| 2643 | .probe = probe_spi_rdid, |
| 2644 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2645 | .block_erasers = |
| 2646 | { |
| 2647 | { |
| 2648 | .eraseblocks = { {4 * 1024, 32} }, |
| 2649 | .block_erase = spi_block_erase_20, |
| 2650 | }, { |
| 2651 | .eraseblocks = { {32 * 1024, 4} }, |
| 2652 | .block_erase = spi_block_erase_d8, |
| 2653 | }, { |
| 2654 | .eraseblocks = { {32 * 1024, 4} }, |
| 2655 | .block_erase = spi_block_erase_52, |
| 2656 | }, { |
| 2657 | .eraseblocks = { {128 * 1024, 1} }, |
| 2658 | .block_erase = spi_block_erase_60, |
| 2659 | }, { |
| 2660 | .eraseblocks = { {128 * 1024, 1} }, |
| 2661 | .block_erase = spi_block_erase_c7, |
| 2662 | } |
| 2663 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2664 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2665 | .write = spi_chip_write_256, |
| 2666 | .read = spi_chip_read, |
| 2667 | }, |
| 2668 | |
| 2669 | { |
| 2670 | .vendor = "Eon", |
| 2671 | .name = "EN25F20", |
| 2672 | .bustype = CHIP_BUSTYPE_SPI, |
| 2673 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2674 | .model_id = EON_EN25F20, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2675 | .total_size = 256, |
| 2676 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2677 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2678 | .tested = TEST_UNTESTED, |
| 2679 | .probe = probe_spi_rdid, |
| 2680 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2681 | .block_erasers = |
| 2682 | { |
| 2683 | { |
| 2684 | .eraseblocks = { {4 * 1024, 64} }, |
| 2685 | .block_erase = spi_block_erase_20, |
| 2686 | }, { |
| 2687 | .eraseblocks = { {64 * 1024, 4} }, |
| 2688 | .block_erase = spi_block_erase_d8, |
| 2689 | }, { |
| 2690 | .eraseblocks = { {64 * 1024, 4} }, |
| 2691 | .block_erase = spi_block_erase_52, |
| 2692 | }, { |
| 2693 | .eraseblocks = { {256 * 1024, 1} }, |
| 2694 | .block_erase = spi_block_erase_60, |
| 2695 | }, { |
| 2696 | .eraseblocks = { {256 * 1024, 1} }, |
| 2697 | .block_erase = spi_block_erase_c7, |
| 2698 | } |
| 2699 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2700 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2701 | .write = spi_chip_write_256, |
| 2702 | .read = spi_chip_read, |
| 2703 | }, |
| 2704 | |
| 2705 | { |
| 2706 | .vendor = "Eon", |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2707 | .name = "EN25F40", |
| 2708 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2709 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2710 | .model_id = EON_EN25F40, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2711 | .total_size = 512, |
| 2712 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2713 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | faaa2b2 | 2009-06-22 10:06:28 +0000 | [diff] [blame] | 2714 | .tested = TEST_OK_PROBE, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2715 | .probe = probe_spi_rdid, |
| 2716 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2717 | .block_erasers = |
| 2718 | { |
| 2719 | { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2720 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2721 | .block_erase = spi_block_erase_20, |
| 2722 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2723 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2724 | .block_erase = spi_block_erase_d8, |
| 2725 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2726 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2727 | .block_erase = spi_block_erase_60, |
| 2728 | }, { |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2729 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2730 | .block_erase = spi_block_erase_c7, |
| 2731 | }, |
| 2732 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2733 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2734 | .write = spi_chip_write_256, |
| 2735 | .read = spi_chip_read, |
| 2736 | }, |
| 2737 | |
| 2738 | { |
| 2739 | .vendor = "Eon", |
| 2740 | .name = "EN25F80", |
| 2741 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2742 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2743 | .model_id = EON_EN25F80, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2744 | .total_size = 1024, |
| 2745 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2746 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 2747 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2748 | .probe = probe_spi_rdid, |
| 2749 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2750 | .block_erasers = |
| 2751 | { |
| 2752 | { |
| 2753 | .eraseblocks = { {4 * 1024, 256} }, |
| 2754 | .block_erase = spi_block_erase_20, |
| 2755 | }, { |
| 2756 | .eraseblocks = { {64 * 1024, 16} }, |
| 2757 | .block_erase = spi_block_erase_d8, |
| 2758 | }, { |
| 2759 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2760 | .block_erase = spi_block_erase_60, |
| 2761 | }, { |
| 2762 | .eraseblocks = { {1024 * 1024, 1} }, |
| 2763 | .block_erase = spi_block_erase_c7, |
| 2764 | } |
| 2765 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2766 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2767 | .write = spi_chip_write_256, |
| 2768 | .read = spi_chip_read, |
| 2769 | }, |
| 2770 | |
| 2771 | { |
| 2772 | .vendor = "Eon", |
| 2773 | .name = "EN25F16", |
| 2774 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2775 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2776 | .model_id = EON_EN25F16, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2777 | .total_size = 2048, |
| 2778 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2779 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2780 | .tested = TEST_UNTESTED, |
| 2781 | .probe = probe_spi_rdid, |
| 2782 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2783 | .block_erasers = |
| 2784 | { |
| 2785 | { |
| 2786 | .eraseblocks = { {4 * 1024, 512} }, |
| 2787 | .block_erase = spi_block_erase_20, |
| 2788 | }, { |
| 2789 | .eraseblocks = { {64 * 1024, 32} }, |
| 2790 | .block_erase = spi_block_erase_d8, |
| 2791 | }, { |
| 2792 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2793 | .block_erase = spi_block_erase_60, |
| 2794 | }, { |
| 2795 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 2796 | .block_erase = spi_block_erase_c7, |
| 2797 | } |
| 2798 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2799 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 80243c9 | 2009-06-05 20:53:07 +0000 | [diff] [blame] | 2800 | .write = spi_chip_write_256, |
| 2801 | .read = spi_chip_read, |
| 2802 | }, |
| 2803 | |
| 2804 | { |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2805 | .vendor = "Eon", |
| 2806 | .name = "EN25F32", |
| 2807 | .bustype = CHIP_BUSTYPE_SPI, |
| 2808 | .manufacture_id = EON_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2809 | .model_id = EON_EN25F32, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2810 | .total_size = 4096, |
| 2811 | .page_size = 256, |
David Hendricks | d6c5dfc | 2010-09-03 03:18:26 +0000 | [diff] [blame] | 2812 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2813 | .tested = TEST_UNTESTED, |
| 2814 | .probe = probe_spi_rdid, |
| 2815 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 2816 | .block_erasers = |
| 2817 | { |
| 2818 | { |
| 2819 | .eraseblocks = { {4 * 1024, 1024} }, |
| 2820 | .block_erase = spi_block_erase_20, |
| 2821 | }, { |
| 2822 | .eraseblocks = { {64 * 1024, 64} }, |
| 2823 | .block_erase = spi_block_erase_d8, |
| 2824 | }, { |
| 2825 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2826 | .block_erase = spi_block_erase_60, |
| 2827 | }, { |
| 2828 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 2829 | .block_erase = spi_block_erase_c7, |
| 2830 | } |
| 2831 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 2832 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | a0a6ae9 | 2009-06-15 12:10:57 +0000 | [diff] [blame] | 2833 | .write = spi_chip_write_256, |
| 2834 | .read = spi_chip_read, |
| 2835 | }, |
| 2836 | |
| 2837 | { |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2838 | .vendor = "Eon", |
| 2839 | .name = "EN29F010", |
| 2840 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 2841 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2842 | .model_id = EON_EN29F010, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 2843 | .total_size = 128, |
| 2844 | .page_size = 128, |
| 2845 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 2846 | .tested = TEST_OK_PREW, |
| 2847 | .probe = probe_jedec, |
| 2848 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 2849 | .block_erasers = |
| 2850 | { |
| 2851 | { |
| 2852 | .eraseblocks = { {16 * 1024, 8} }, |
| 2853 | .block_erase = erase_sector_jedec, |
| 2854 | }, |
| 2855 | { |
| 2856 | .eraseblocks = { {128 * 1024, 1} }, |
| 2857 | .block_erase = erase_chip_block_jedec, |
| 2858 | }, |
| 2859 | }, |
| 2860 | .write = write_jedec_1, |
| 2861 | .read = read_memmapped, |
| 2862 | }, |
| 2863 | |
| 2864 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2865 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2866 | .name = "EN29F002(A)(N)B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2867 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2868 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2869 | .model_id = EON_EN29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2870 | .total_size = 256, |
| 2871 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2872 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 2873 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2874 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2875 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2876 | .block_erasers = |
| 2877 | { |
| 2878 | { |
| 2879 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2880 | {16 * 1024, 1}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2881 | {8 * 1024, 2}, |
| 2882 | {32 * 1024, 1}, |
| 2883 | {64 * 1024, 3}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2884 | }, |
| 2885 | .block_erase = erase_sector_jedec, |
| 2886 | }, { |
| 2887 | .eraseblocks = { {256 * 1024, 1} }, |
| 2888 | .block_erase = erase_chip_block_jedec, |
| 2889 | }, |
| 2890 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2891 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2892 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2893 | }, |
| 2894 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2895 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 2896 | .vendor = "Eon", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2897 | .name = "EN29F002(A)(N)T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 2898 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2899 | .manufacture_id = EON_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2900 | .model_id = EON_EN29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2901 | .total_size = 256, |
| 2902 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2903 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 2904 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2905 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2906 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2907 | .block_erasers = |
| 2908 | { |
| 2909 | { |
| 2910 | .eraseblocks = { |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2911 | {64 * 1024, 3}, |
Michael Karcher | e3cb0a1 | 2010-03-13 23:47:09 +0000 | [diff] [blame] | 2912 | {32 * 1024, 1}, |
| 2913 | {8 * 1024, 2}, |
| 2914 | {16 * 1024, 1}, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2915 | }, |
| 2916 | .block_erase = erase_sector_jedec, |
| 2917 | }, { |
| 2918 | .eraseblocks = { {256 * 1024, 1} }, |
| 2919 | .block_erase = erase_chip_block_jedec, |
| 2920 | }, |
| 2921 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 2922 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2923 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2924 | }, |
| 2925 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2926 | { |
| 2927 | .vendor = "Fujitsu", |
| 2928 | .name = "MBM29F004BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2929 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2930 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2931 | .model_id = FUJITSU_MBM29F004BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2932 | .total_size = 512, |
| 2933 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2934 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2935 | .tested = TEST_UNTESTED, |
| 2936 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2937 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2938 | .block_erasers = |
| 2939 | { |
| 2940 | { |
| 2941 | .eraseblocks = { |
| 2942 | {16 * 1024, 1}, |
| 2943 | {8 * 1024, 2}, |
| 2944 | {32 * 1024, 1}, |
| 2945 | {64 * 1024, 7}, |
| 2946 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2947 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2948 | }, { |
| 2949 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2950 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2951 | }, |
| 2952 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2953 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2954 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2955 | }, |
| 2956 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2957 | { |
| 2958 | .vendor = "Fujitsu", |
| 2959 | .name = "MBM29F004TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2960 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2961 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2962 | .model_id = FUJITSU_MBM29F004TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2963 | .total_size = 512, |
| 2964 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2965 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2966 | .tested = TEST_UNTESTED, |
| 2967 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 2968 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2969 | .block_erasers = |
| 2970 | { |
| 2971 | { |
| 2972 | .eraseblocks = { |
| 2973 | {64 * 1024, 7}, |
| 2974 | {32 * 1024, 1}, |
| 2975 | {8 * 1024, 2}, |
| 2976 | {16 * 1024, 1}, |
| 2977 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2978 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2979 | }, { |
| 2980 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2981 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 2982 | }, |
| 2983 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2984 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 2985 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 2986 | }, |
| 2987 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2988 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2989 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2990 | .vendor = "Fujitsu", |
| 2991 | .name = "MBM29F400BC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 2992 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2993 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 2994 | .model_id = FUJITSU_MBM29F400BC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2995 | .total_size = 512, |
| 2996 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 2997 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 2998 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 2999 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3000 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3001 | .block_erasers = |
| 3002 | { |
| 3003 | { |
| 3004 | .eraseblocks = { |
| 3005 | {16 * 1024, 1}, |
| 3006 | {8 * 1024, 2}, |
| 3007 | {32 * 1024, 1}, |
| 3008 | {64 * 1024, 7}, |
| 3009 | }, |
| 3010 | .block_erase = block_erase_m29f400bt, |
| 3011 | }, { |
| 3012 | .eraseblocks = { {512 * 1024, 1} }, |
| 3013 | .block_erase = block_erase_chip_m29f400bt, |
| 3014 | }, |
| 3015 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3016 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3017 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3018 | }, |
| 3019 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3020 | { |
| 3021 | .vendor = "Fujitsu", |
| 3022 | .name = "MBM29F400TC", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3023 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3024 | .manufacture_id = FUJITSU_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3025 | .model_id = FUJITSU_MBM29F400TC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3026 | .total_size = 512, |
| 3027 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3028 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3029 | .tested = TEST_UNTESTED, |
| 3030 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3031 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3032 | .block_erasers = |
| 3033 | { |
| 3034 | { |
| 3035 | .eraseblocks = { |
| 3036 | {64 * 1024, 7}, |
| 3037 | {32 * 1024, 1}, |
| 3038 | {8 * 1024, 2}, |
| 3039 | {16 * 1024, 1}, |
| 3040 | }, |
| 3041 | .block_erase = block_erase_m29f400bt, |
| 3042 | }, { |
| 3043 | .eraseblocks = { {512 * 1024, 1} }, |
| 3044 | .block_erase = block_erase_chip_m29f400bt, |
| 3045 | }, |
| 3046 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 3047 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3048 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3049 | }, |
| 3050 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3051 | { |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3052 | .vendor = "Hyundai", |
| 3053 | .name = "HY29F002T", |
| 3054 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3055 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3056 | .model_id = HYUNDAI_HY29F002T, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3057 | .total_size = 256, |
| 3058 | .page_size = 256 * 1024, |
| 3059 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3060 | .tested = TEST_OK_PREW, |
| 3061 | .probe = probe_jedec, |
| 3062 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3063 | .block_erasers = |
| 3064 | { |
| 3065 | { |
| 3066 | .eraseblocks = { |
| 3067 | {64 * 1024, 3}, |
| 3068 | {32 * 1024, 1}, |
| 3069 | {8 * 1024, 2}, |
| 3070 | {16 * 1024, 1}, |
| 3071 | }, |
| 3072 | .block_erase = erase_sector_jedec, |
| 3073 | }, { |
| 3074 | .eraseblocks = { {256 * 1024, 1} }, |
| 3075 | .block_erase = erase_chip_block_jedec, |
| 3076 | }, |
| 3077 | }, |
| 3078 | .write = write_jedec_1, |
| 3079 | .read = read_memmapped, |
| 3080 | }, |
| 3081 | |
| 3082 | { |
| 3083 | .vendor = "Hyundai", |
| 3084 | .name = "HY29F002B", |
| 3085 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3086 | .manufacture_id = HYUNDAI_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3087 | .model_id = HYUNDAI_HY29F002B, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 3088 | .total_size = 256, |
| 3089 | .page_size = 256 * 1024, |
| 3090 | .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ |
| 3091 | .tested = TEST_UNTESTED, |
| 3092 | .probe = probe_jedec, |
| 3093 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3094 | .block_erasers = |
| 3095 | { |
| 3096 | { |
| 3097 | .eraseblocks = { |
| 3098 | {16 * 1024, 1}, |
| 3099 | {8 * 1024, 2}, |
| 3100 | {32 * 1024, 1}, |
| 3101 | {64 * 1024, 3}, |
| 3102 | }, |
| 3103 | .block_erase = erase_sector_jedec, |
| 3104 | }, { |
| 3105 | .eraseblocks = { {256 * 1024, 1} }, |
| 3106 | .block_erase = erase_chip_block_jedec, |
| 3107 | }, |
| 3108 | }, |
| 3109 | .write = write_jedec_1, |
| 3110 | .read = read_memmapped, |
| 3111 | }, |
| 3112 | |
| 3113 | { |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3114 | .vendor = "Hyundai", |
| 3115 | .name = "HY29F040A", |
| 3116 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3117 | .manufacture_id = HYUNDAI_ID, |
| 3118 | .model_id = HYUNDAI_HY29F040A, |
| 3119 | .total_size = 512, |
| 3120 | .page_size = 64 * 1024, |
| 3121 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 3122 | .tested = TEST_UNTESTED, |
| 3123 | .probe = probe_jedec, |
| 3124 | .probe_timing = TIMING_ZERO, |
| 3125 | .block_erasers = |
| 3126 | { |
| 3127 | { |
| 3128 | .eraseblocks = { {64 * 1024, 8} }, |
| 3129 | .block_erase = erase_sector_jedec, |
| 3130 | }, { |
| 3131 | .eraseblocks = { {512 * 1024, 1} }, |
| 3132 | .block_erase = erase_chip_block_jedec, |
| 3133 | }, |
| 3134 | }, |
| 3135 | .write = write_jedec_1, |
| 3136 | .read = read_memmapped, |
| 3137 | }, |
| 3138 | |
| 3139 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3140 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3141 | .name = "28F001BN/BX-B", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3142 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3143 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3144 | .model_id = INTEL_28F001B, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3145 | .total_size = 128, |
| 3146 | .page_size = 128 * 1024, /* 8k + 2x4k + 112k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3147 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3148 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3149 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3150 | .block_erasers = |
| 3151 | { |
| 3152 | { |
| 3153 | .eraseblocks = { |
| 3154 | {8 * 1024, 1}, |
| 3155 | {4 * 1024, 2}, |
| 3156 | {112 * 1024, 1}, |
| 3157 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3158 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3159 | }, |
| 3160 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3161 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3162 | .read = read_memmapped, |
| 3163 | }, |
| 3164 | |
| 3165 | { |
| 3166 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3167 | .name = "28F001BN/BX-T", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 3168 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3169 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3170 | .model_id = INTEL_28F001T, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3171 | .total_size = 128, |
| 3172 | .page_size = 128 * 1024, /* 112k + 2x4k + 8k */ |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3173 | .tested = TEST_UNTESTED, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3174 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 3175 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3176 | .block_erasers = |
| 3177 | { |
| 3178 | { |
| 3179 | .eraseblocks = { |
| 3180 | {112 * 1024, 1}, |
| 3181 | {4 * 1024, 2}, |
| 3182 | {8 * 1024, 1}, |
| 3183 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3184 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3185 | }, |
| 3186 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3187 | .write = write_82802ab, |
Urja Rannikko | ebd7b83 | 2009-05-29 12:55:31 +0000 | [diff] [blame] | 3188 | .read = read_memmapped, |
| 3189 | }, |
| 3190 | |
| 3191 | { |
| 3192 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3193 | .name = "28F002BC/BL/BV/BX-T", |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3194 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3195 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3196 | .model_id = INTEL_28F002T, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3197 | .total_size = 256, |
| 3198 | .page_size = 256 * 1024, |
Mattias Mattsson | 2eaad63 | 2010-10-05 21:32:29 +0000 | [diff] [blame] | 3199 | .tested = TEST_OK_PREW, |
Joshua Roys | d97c0e0 | 2010-07-22 15:20:43 +0000 | [diff] [blame] | 3200 | .probe = probe_82802ab, |
| 3201 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3202 | .block_erasers = |
| 3203 | { |
| 3204 | { |
| 3205 | .eraseblocks = { |
| 3206 | {128 * 1024, 1}, |
| 3207 | {96 * 1024, 1}, |
| 3208 | {8 * 1024, 2}, |
| 3209 | {16 * 1024, 1}, |
| 3210 | }, |
| 3211 | .block_erase = erase_block_82802ab, |
| 3212 | }, |
| 3213 | }, |
| 3214 | .write = write_82802ab, |
| 3215 | .read = read_memmapped, |
| 3216 | }, |
| 3217 | |
| 3218 | { |
| 3219 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3220 | .name = "28F008S3/S5/SC", |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3221 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3222 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3223 | .model_id = INTEL_28F004S3, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3224 | .total_size = 512, |
| 3225 | .page_size = 256, |
| 3226 | .tested = TEST_UNTESTED, |
| 3227 | .probe = probe_82802ab, |
| 3228 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3229 | .block_erasers = |
| 3230 | { |
| 3231 | { |
| 3232 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3233 | .block_erase = erase_block_82802ab, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3234 | }, |
| 3235 | }, |
Sean Nelson | dee4a83 | 2010-03-22 04:39:31 +0000 | [diff] [blame] | 3236 | .unlock = unlock_28f004s5, |
Sean Nelson | f5ae4d4 | 2010-02-13 18:41:53 +0000 | [diff] [blame] | 3237 | .write = write_82802ab, |
| 3238 | .read = read_memmapped, |
| 3239 | }, |
| 3240 | |
| 3241 | { |
| 3242 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3243 | .name = "28F004B5/BE/BV/BX-B", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3244 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3245 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3246 | .model_id = INTEL_28F004B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3247 | .total_size = 512, |
| 3248 | .page_size = 128 * 1024, /* maximal block size */ |
| 3249 | .tested = TEST_UNTESTED, |
| 3250 | .probe = probe_82802ab, |
| 3251 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3252 | .block_erasers = |
| 3253 | { |
| 3254 | { |
| 3255 | .eraseblocks = { |
| 3256 | {16 * 1024, 1}, |
| 3257 | {8 * 1024, 2}, |
| 3258 | {96 * 1024, 1}, |
| 3259 | {128 * 1024, 3}, |
| 3260 | }, |
| 3261 | .block_erase = erase_block_82802ab, |
| 3262 | }, |
| 3263 | }, |
| 3264 | .write = write_82802ab, |
| 3265 | .read = read_memmapped, |
| 3266 | }, |
| 3267 | |
| 3268 | { |
| 3269 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3270 | .name = "28F004B5/BE/BV/BX-T", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3271 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3272 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3273 | .model_id = INTEL_28F004T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3274 | .total_size = 512, |
| 3275 | .page_size = 128 * 1024, /* maximal block size */ |
| 3276 | .tested = TEST_UNTESTED, |
| 3277 | .probe = probe_82802ab, |
| 3278 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3279 | .block_erasers = |
| 3280 | { |
| 3281 | { |
| 3282 | .eraseblocks = { |
| 3283 | {128 * 1024, 3}, |
| 3284 | {96 * 1024, 1}, |
| 3285 | {8 * 1024, 2}, |
| 3286 | {16 * 1024, 1}, |
| 3287 | }, |
| 3288 | .block_erase = erase_block_82802ab, |
| 3289 | }, |
| 3290 | }, |
| 3291 | .write = write_82802ab, |
| 3292 | .read = read_memmapped, |
| 3293 | }, |
| 3294 | |
| 3295 | { |
| 3296 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3297 | .name = "28F400BV/BX/CE/CV-B", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3298 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3299 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3300 | .model_id = INTEL_28F400B, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3301 | .total_size = 512, |
| 3302 | .page_size = 128 * 1024, /* maximal block size */ |
| 3303 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3304 | .tested = TEST_UNTESTED, |
| 3305 | .probe = probe_82802ab, |
| 3306 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3307 | .block_erasers = |
| 3308 | { |
| 3309 | { |
| 3310 | .eraseblocks = { |
| 3311 | {16 * 1024, 1}, |
| 3312 | {8 * 1024, 2}, |
| 3313 | {96 * 1024, 1}, |
| 3314 | {128 * 1024, 3}, |
| 3315 | }, |
| 3316 | .block_erase = erase_block_82802ab, |
| 3317 | }, |
| 3318 | }, |
| 3319 | .write = write_82802ab, |
| 3320 | .read = read_memmapped, |
| 3321 | }, |
| 3322 | |
| 3323 | { |
| 3324 | .vendor = "Intel", |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3325 | .name = "28F400BV/BX/CE/CV-T", |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3326 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3327 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3328 | .model_id = INTEL_28F400T, |
Michael Karcher | ad0010a | 2010-04-03 10:27:08 +0000 | [diff] [blame] | 3329 | .total_size = 512, |
| 3330 | .page_size = 128 * 1024, /* maximal block size */ |
| 3331 | .feature_bits = FEATURE_ADDR_SHIFTED, |
| 3332 | .tested = TEST_UNTESTED, |
| 3333 | .probe = probe_82802ab, |
| 3334 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 3335 | .block_erasers = |
| 3336 | { |
| 3337 | { |
| 3338 | .eraseblocks = { |
| 3339 | {128 * 1024, 3}, |
| 3340 | {96 * 1024, 1}, |
| 3341 | {8 * 1024, 2}, |
| 3342 | {16 * 1024, 1}, |
| 3343 | }, |
| 3344 | .block_erase = erase_block_82802ab, |
| 3345 | }, |
| 3346 | }, |
| 3347 | .write = write_82802ab, |
| 3348 | .read = read_memmapped, |
| 3349 | }, |
| 3350 | |
| 3351 | { |
| 3352 | .vendor = "Intel", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3353 | .name = "82802AB", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3354 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3355 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3356 | .model_id = INTEL_82802AB, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3357 | .total_size = 512, |
| 3358 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3359 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3360 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3361 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3362 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3363 | .block_erasers = |
| 3364 | { |
| 3365 | { |
| 3366 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3367 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3368 | }, |
| 3369 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3370 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3371 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3372 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3373 | }, |
| 3374 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3375 | { |
| 3376 | .vendor = "Intel", |
| 3377 | .name = "82802AC", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 3378 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3379 | .manufacture_id = INTEL_ID, |
Mattias Mattsson | cbee4a7 | 2010-10-05 20:28:36 +0000 | [diff] [blame] | 3380 | .model_id = INTEL_82802AC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3381 | .total_size = 1024, |
| 3382 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 3383 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3384 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3385 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3386 | .probe_timing = TIMING_IGNORED, /* routine does not use probe_timing (82802ab.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3387 | .block_erasers = |
| 3388 | { |
| 3389 | { |
| 3390 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3391 | .block_erase = erase_block_82802ab, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3392 | }, |
| 3393 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 3394 | .unlock = unlock_82802ab, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3395 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3396 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3397 | }, |
| 3398 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3399 | { |
| 3400 | .vendor = "Macronix", |
| 3401 | .name = "MX25L512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3402 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3403 | .manufacture_id = MACRONIX_ID, |
| 3404 | .model_id = MACRONIX_MX25L512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3405 | .total_size = 64, |
| 3406 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3407 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3408 | .tested = TEST_UNTESTED, |
| 3409 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3410 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3411 | .block_erasers = |
| 3412 | { |
| 3413 | { |
| 3414 | .eraseblocks = { {4 * 1024, 16} }, |
| 3415 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3416 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3417 | .eraseblocks = { {64 * 1024, 1} }, |
| 3418 | .block_erase = spi_block_erase_52, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3419 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3420 | .eraseblocks = { {64 * 1024, 1} }, |
| 3421 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3422 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3423 | .eraseblocks = { {64 * 1024, 1} }, |
| 3424 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3425 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3426 | .eraseblocks = { {64 * 1024, 1} }, |
| 3427 | .block_erase = spi_block_erase_c7, |
| 3428 | }, |
| 3429 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3430 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3431 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3432 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3433 | }, |
| 3434 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3435 | { |
| 3436 | .vendor = "Macronix", |
| 3437 | .name = "MX25L1005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3438 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3439 | .manufacture_id = MACRONIX_ID, |
| 3440 | .model_id = MACRONIX_MX25L1005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3441 | .total_size = 128, |
| 3442 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3443 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3444 | .tested = TEST_UNTESTED, |
| 3445 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3446 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3447 | .block_erasers = |
| 3448 | { |
| 3449 | { |
| 3450 | .eraseblocks = { {4 * 1024, 32} }, |
| 3451 | .block_erase = spi_block_erase_20, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3452 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3453 | .eraseblocks = { {64 * 1024, 2} }, |
| 3454 | .block_erase = spi_block_erase_d8, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3455 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3456 | .eraseblocks = { {128 * 1024, 1} }, |
| 3457 | .block_erase = spi_block_erase_60, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3458 | }, { |
Carl-Daniel Hailfinger | f38431a | 2009-09-05 02:30:58 +0000 | [diff] [blame] | 3459 | .eraseblocks = { {128 * 1024, 1} }, |
| 3460 | .block_erase = spi_block_erase_c7, |
| 3461 | }, |
| 3462 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3463 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3464 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3465 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3466 | }, |
| 3467 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3468 | { |
| 3469 | .vendor = "Macronix", |
| 3470 | .name = "MX25L2005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3471 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3472 | .manufacture_id = MACRONIX_ID, |
| 3473 | .model_id = MACRONIX_MX25L2005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3474 | .total_size = 256, |
| 3475 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3476 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3477 | .tested = TEST_UNTESTED, |
| 3478 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3479 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3480 | .block_erasers = |
| 3481 | { |
| 3482 | { |
| 3483 | .eraseblocks = { {4 * 1024, 64} }, |
| 3484 | .block_erase = spi_block_erase_20, |
| 3485 | }, { |
| 3486 | .eraseblocks = { {64 * 1024, 4} }, |
| 3487 | .block_erase = spi_block_erase_52, |
| 3488 | }, { |
| 3489 | .eraseblocks = { {64 * 1024, 4} }, |
| 3490 | .block_erase = spi_block_erase_d8, |
| 3491 | }, { |
| 3492 | .eraseblocks = { {256 * 1024, 1} }, |
| 3493 | .block_erase = spi_block_erase_60, |
| 3494 | }, { |
| 3495 | .eraseblocks = { {256 * 1024, 1} }, |
| 3496 | .block_erase = spi_block_erase_c7, |
| 3497 | }, |
| 3498 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3499 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3500 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3501 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3502 | }, |
| 3503 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3504 | { |
| 3505 | .vendor = "Macronix", |
| 3506 | .name = "MX25L4005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3507 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3508 | .manufacture_id = MACRONIX_ID, |
| 3509 | .model_id = MACRONIX_MX25L4005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3510 | .total_size = 512, |
| 3511 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3512 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3513 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3514 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3515 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3516 | .block_erasers = |
| 3517 | { |
| 3518 | { |
| 3519 | .eraseblocks = { {4 * 1024, 128} }, |
| 3520 | .block_erase = spi_block_erase_20, |
| 3521 | }, { |
| 3522 | .eraseblocks = { {64 * 1024, 8} }, |
| 3523 | .block_erase = spi_block_erase_52, |
| 3524 | }, { |
| 3525 | .eraseblocks = { {64 * 1024, 8} }, |
| 3526 | .block_erase = spi_block_erase_d8, |
| 3527 | }, { |
| 3528 | .eraseblocks = { {512 * 1024, 1} }, |
| 3529 | .block_erase = spi_block_erase_60, |
| 3530 | }, { |
| 3531 | .eraseblocks = { {512 * 1024, 1} }, |
| 3532 | .block_erase = spi_block_erase_c7, |
| 3533 | }, |
| 3534 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3535 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3536 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3537 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3538 | }, |
| 3539 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3540 | { |
| 3541 | .vendor = "Macronix", |
| 3542 | .name = "MX25L8005", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3543 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3544 | .manufacture_id = MACRONIX_ID, |
| 3545 | .model_id = MACRONIX_MX25L8005, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3546 | .total_size = 1024, |
| 3547 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3548 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 3549 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3550 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3551 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3552 | .block_erasers = |
| 3553 | { |
| 3554 | { |
| 3555 | .eraseblocks = { {4 * 1024, 256} }, |
| 3556 | .block_erase = spi_block_erase_20, |
| 3557 | }, { |
| 3558 | .eraseblocks = { {64 * 1024, 16} }, |
| 3559 | .block_erase = spi_block_erase_52, |
| 3560 | }, { |
| 3561 | .eraseblocks = { {64 * 1024, 16} }, |
| 3562 | .block_erase = spi_block_erase_d8, |
| 3563 | }, { |
| 3564 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3565 | .block_erase = spi_block_erase_60, |
| 3566 | }, { |
| 3567 | .eraseblocks = { {1024 * 1024, 1} }, |
| 3568 | .block_erase = spi_block_erase_c7, |
| 3569 | }, |
| 3570 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3571 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3572 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3573 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3574 | }, |
| 3575 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3576 | { |
| 3577 | .vendor = "Macronix", |
| 3578 | .name = "MX25L1605", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3579 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3580 | .manufacture_id = MACRONIX_ID, |
| 3581 | .model_id = MACRONIX_MX25L1605, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3582 | .total_size = 2048, |
| 3583 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3584 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3585 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3586 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3587 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | 4010712 | 2009-10-01 13:15:01 +0000 | [diff] [blame] | 3588 | .block_erasers = |
| 3589 | { |
| 3590 | { |
| 3591 | .eraseblocks = { {4 * 1024, 512} }, |
| 3592 | .block_erase = spi_block_erase_20, /* This erase function has 64k blocksize for eLiteFlash */ |
| 3593 | }, { |
| 3594 | .eraseblocks = { {64 * 1024, 32} }, /* Not supported in MX25L1605 (eLiteFlash) and MX25L1605D */ |
| 3595 | .block_erase = spi_block_erase_52, |
| 3596 | }, { |
| 3597 | .eraseblocks = { {64 * 1024, 32} }, |
| 3598 | .block_erase = spi_block_erase_d8, |
| 3599 | }, { |
| 3600 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3601 | .block_erase = spi_block_erase_60, |
| 3602 | }, { |
| 3603 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3604 | .block_erase = spi_block_erase_c7, |
| 3605 | }, |
| 3606 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3607 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3608 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3609 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3610 | }, |
| 3611 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3612 | { |
| 3613 | .vendor = "Macronix", |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3614 | .name = "MX25L1635D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3615 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3616 | .manufacture_id = MACRONIX_ID, |
| 3617 | .model_id = MACRONIX_MX25L1635D, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3618 | .total_size = 2048, |
| 3619 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3620 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3621 | .tested = TEST_UNTESTED, |
| 3622 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3623 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3624 | .block_erasers = |
| 3625 | { |
| 3626 | { |
| 3627 | .eraseblocks = { {4 * 1024, 512} }, |
| 3628 | .block_erase = spi_block_erase_20, |
| 3629 | }, { |
| 3630 | .eraseblocks = { {64 * 1024, 32} }, |
| 3631 | .block_erase = spi_block_erase_d8, |
| 3632 | }, { |
| 3633 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3634 | .block_erase = spi_block_erase_60, |
| 3635 | }, { |
| 3636 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3637 | .block_erase = spi_block_erase_c7, |
| 3638 | } |
| 3639 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3640 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3641 | .write = spi_chip_write_256, |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3642 | .read = spi_chip_read, |
| 3643 | }, |
Stephan Guilloux | fd31550 | 2009-04-20 22:54:13 +0000 | [diff] [blame] | 3644 | |
Stephan Guilloux | f5c7090 | 2009-04-19 23:04:00 +0000 | [diff] [blame] | 3645 | { |
| 3646 | .vendor = "Macronix", |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 3647 | .name = "MX25L1635E", |
| 3648 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3649 | .manufacture_id = MACRONIX_ID, |
| 3650 | .model_id = MACRONIX_MX25L1635E, |
Stephan Guilloux | 3611b80 | 2010-09-13 19:59:28 +0000 | [diff] [blame] | 3651 | .total_size = 2048, |
| 3652 | .page_size = 256, |
| 3653 | .feature_bits = FEATURE_WRSR_WREN, |
| 3654 | .tested = TEST_UNTESTED, |
| 3655 | .probe = probe_spi_rdid, |
| 3656 | .probe_timing = TIMING_ZERO, |
| 3657 | .block_erasers = |
| 3658 | { |
| 3659 | { |
| 3660 | .eraseblocks = { {4 * 1024, 512} }, |
| 3661 | .block_erase = spi_block_erase_20, |
| 3662 | }, { |
| 3663 | .eraseblocks = { {64 * 1024, 32} }, |
| 3664 | .block_erase = spi_block_erase_d8, |
| 3665 | }, { |
| 3666 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3667 | .block_erase = spi_block_erase_60, |
| 3668 | }, { |
| 3669 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 3670 | .block_erase = spi_block_erase_c7, |
| 3671 | } |
| 3672 | }, |
| 3673 | .unlock = spi_disable_blockprotect, |
| 3674 | .write = spi_chip_write_256, |
| 3675 | .read = spi_chip_read, |
| 3676 | }, |
| 3677 | |
| 3678 | { |
| 3679 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3680 | .name = "MX25L3205", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3681 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3682 | .manufacture_id = MACRONIX_ID, |
| 3683 | .model_id = MACRONIX_MX25L3205, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3684 | .total_size = 4096, |
| 3685 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3686 | .feature_bits = FEATURE_WRSR_WREN, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3687 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3688 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3689 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3690 | .block_erasers = |
| 3691 | { |
| 3692 | { |
| 3693 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3694 | .block_erase = spi_block_erase_20, |
| 3695 | }, { |
| 3696 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3697 | .block_erase = spi_block_erase_d8, |
| 3698 | }, { |
| 3699 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3700 | .block_erase = spi_block_erase_60, |
| 3701 | }, { |
| 3702 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3703 | .block_erase = spi_block_erase_c7, |
| 3704 | }, |
| 3705 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3706 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3707 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3708 | .read = spi_chip_read, |
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 = "Macronix", |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3713 | .name = "MX25L3235D", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3714 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3715 | .manufacture_id = MACRONIX_ID, |
| 3716 | .model_id = MACRONIX_MX25L3235D, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3717 | .total_size = 4096, |
| 3718 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3719 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3720 | .tested = TEST_UNTESTED, |
| 3721 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3722 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3723 | .block_erasers = |
| 3724 | { |
| 3725 | { |
| 3726 | .eraseblocks = { {4 * 1024, 1024} }, |
| 3727 | .block_erase = spi_block_erase_20, |
| 3728 | }, { |
| 3729 | .eraseblocks = { {64 * 1024, 64} }, |
| 3730 | .block_erase = spi_block_erase_d8, |
| 3731 | }, { |
| 3732 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3733 | .block_erase = spi_block_erase_60, |
| 3734 | }, { |
| 3735 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 3736 | .block_erase = spi_block_erase_c7, |
| 3737 | } |
| 3738 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3739 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3740 | .write = spi_chip_write_256, |
Stephan Guilloux | 70ea9a3 | 2009-04-23 22:51:56 +0000 | [diff] [blame] | 3741 | .read = spi_chip_read, |
| 3742 | }, |
| 3743 | |
| 3744 | { |
| 3745 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3746 | .name = "MX25L6405", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3747 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3748 | .manufacture_id = MACRONIX_ID, |
| 3749 | .model_id = MACRONIX_MX25L6405, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3750 | .total_size = 8192, |
| 3751 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3752 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 452b3e3 | 2009-06-22 11:14:43 +0000 | [diff] [blame] | 3753 | .tested = TEST_OK_PROBE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3754 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3755 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3756 | .block_erasers = |
| 3757 | { |
| 3758 | { |
| 3759 | .eraseblocks = { {64 * 1024, 128} }, |
| 3760 | .block_erase = spi_block_erase_20, |
| 3761 | }, { |
| 3762 | .eraseblocks = { {64 * 1024, 128} }, |
| 3763 | .block_erase = spi_block_erase_d8, |
| 3764 | }, { |
| 3765 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3766 | .block_erase = spi_block_erase_60, |
| 3767 | }, { |
| 3768 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 3769 | .block_erase = spi_block_erase_c7, |
| 3770 | } |
| 3771 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3772 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3773 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3774 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3775 | }, |
| 3776 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3777 | { |
| 3778 | .vendor = "Macronix", |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3779 | .name = "MX25L12805", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 3780 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3781 | .manufacture_id = MACRONIX_ID, |
| 3782 | .model_id = MACRONIX_MX25L12805, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3783 | .total_size = 16384, |
| 3784 | .page_size = 256, |
David Hendricks | 67db2eb | 2010-09-03 03:35:48 +0000 | [diff] [blame] | 3785 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3786 | .tested = TEST_UNTESTED, |
| 3787 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 3788 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3789 | .block_erasers = |
| 3790 | { |
| 3791 | { |
| 3792 | .eraseblocks = { {4 * 1024, 4096} }, |
| 3793 | .block_erase = spi_block_erase_20, |
| 3794 | }, { |
| 3795 | .eraseblocks = { {64 * 1024, 256} }, |
| 3796 | .block_erase = spi_block_erase_d8, |
| 3797 | }, { |
| 3798 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3799 | .block_erase = spi_block_erase_60, |
| 3800 | }, { |
| 3801 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 3802 | .block_erase = spi_block_erase_c7, |
| 3803 | } |
| 3804 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 3805 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 3806 | .write = spi_chip_write_256, |
Stephan Guilloux | 2f132fe | 2009-04-21 01:47:16 +0000 | [diff] [blame] | 3807 | .read = spi_chip_read, |
| 3808 | }, |
| 3809 | |
| 3810 | { |
| 3811 | .vendor = "Macronix", |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3812 | .name = "MX29F001B", |
| 3813 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3814 | .manufacture_id = MACRONIX_ID, |
| 3815 | .model_id = MACRONIX_MX29F001B, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3816 | .total_size = 128, |
| 3817 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3818 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3819 | .tested = TEST_UNTESTED, |
| 3820 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3821 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3822 | .block_erasers = |
| 3823 | { |
| 3824 | { |
| 3825 | .eraseblocks = { |
| 3826 | {8 * 1024, 1}, |
| 3827 | {4 * 1024, 2}, |
| 3828 | {8 * 1024, 2}, |
| 3829 | {32 * 1024, 1}, |
| 3830 | {64 * 1024, 1}, |
| 3831 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3832 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3833 | }, { |
| 3834 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3835 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3836 | } |
| 3837 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3838 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3839 | .read = read_memmapped, |
| 3840 | }, |
| 3841 | |
| 3842 | { |
| 3843 | .vendor = "Macronix", |
| 3844 | .name = "MX29F001T", |
| 3845 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3846 | .manufacture_id = MACRONIX_ID, |
| 3847 | .model_id = MACRONIX_MX29F001T, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3848 | .total_size = 128, |
| 3849 | .page_size = 32 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3850 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3851 | .tested = TEST_UNTESTED, |
| 3852 | .probe = probe_jedec, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3853 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3854 | .block_erasers = |
| 3855 | { |
| 3856 | { |
| 3857 | .eraseblocks = { |
| 3858 | {64 * 1024, 1}, |
| 3859 | {32 * 1024, 1}, |
| 3860 | {8 * 1024, 2}, |
| 3861 | {4 * 1024, 2}, |
| 3862 | {8 * 1024, 1}, |
| 3863 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3864 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3865 | }, { |
| 3866 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3867 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3868 | } |
| 3869 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3870 | .write = write_jedec_1, |
Mark Panajotovic | 502a913 | 2009-08-24 01:42:24 +0000 | [diff] [blame] | 3871 | .read = read_memmapped, |
| 3872 | }, |
| 3873 | |
| 3874 | { |
| 3875 | .vendor = "Macronix", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3876 | .name = "MX29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3877 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3878 | .manufacture_id = MACRONIX_ID, |
| 3879 | .model_id = MACRONIX_MX29F002B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3880 | .total_size = 256, |
| 3881 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3882 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3883 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3884 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3885 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3886 | .block_erasers = |
| 3887 | { |
| 3888 | { |
| 3889 | .eraseblocks = { |
| 3890 | {16 * 1024, 1}, |
| 3891 | {8 * 1024, 2}, |
| 3892 | {32 * 1024, 1}, |
| 3893 | {64 * 1024, 3}, |
| 3894 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3895 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3896 | }, { |
| 3897 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3898 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3899 | }, |
| 3900 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3901 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3902 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3903 | }, |
| 3904 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3905 | { |
| 3906 | .vendor = "Macronix", |
| 3907 | .name = "MX29F002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3908 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3909 | .manufacture_id = MACRONIX_ID, |
| 3910 | .model_id = MACRONIX_MX29F002T, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3911 | .total_size = 256, |
| 3912 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3913 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 3914 | .tested = TEST_OK_PRW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3915 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3916 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3917 | .block_erasers = |
| 3918 | { |
| 3919 | { |
| 3920 | .eraseblocks = { |
| 3921 | {64 * 1024, 3}, |
| 3922 | {32 * 1024, 1}, |
| 3923 | {8 * 1024, 2}, |
| 3924 | {16 * 1024, 1}, |
| 3925 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3926 | .block_erase = erase_sector_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3927 | }, { |
| 3928 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3929 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 6b11ad2 | 2009-12-23 17:05:59 +0000 | [diff] [blame] | 3930 | }, |
| 3931 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3932 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3933 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 3934 | }, |
| 3935 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3936 | { |
| 3937 | .vendor = "Macronix", |
Joshua Roys | f1324e0 | 2010-09-16 00:51:51 +0000 | [diff] [blame] | 3938 | .name = "MX29F040", |
| 3939 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3940 | .manufacture_id = MACRONIX_ID, |
| 3941 | .model_id = MACRONIX_MX29F040, |
| 3942 | .total_size = 512, |
| 3943 | .page_size = 64 * 1024, |
| 3944 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3945 | .tested = TEST_UNTESTED, |
| 3946 | .probe = probe_jedec, |
| 3947 | .probe_timing = TIMING_ZERO, |
| 3948 | .block_erasers = |
| 3949 | { |
| 3950 | { |
| 3951 | .eraseblocks = { {64 * 1024, 8} }, |
| 3952 | .block_erase = erase_sector_jedec, |
| 3953 | }, { |
| 3954 | .eraseblocks = { {512 * 1024, 1} }, |
| 3955 | .block_erase = erase_chip_block_jedec, |
| 3956 | }, |
| 3957 | }, |
| 3958 | .write = write_jedec_1, |
| 3959 | .read = read_memmapped, |
| 3960 | }, |
| 3961 | |
| 3962 | { |
| 3963 | .vendor = "Macronix", |
Carl-Daniel Hailfinger | 350a0c3 | 2009-07-24 13:59:27 +0000 | [diff] [blame] | 3964 | .name = "MX29LV040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 3965 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 3966 | .manufacture_id = MACRONIX_ID, |
| 3967 | .model_id = MACRONIX_MX29LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3968 | .total_size = 512, |
| 3969 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3970 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_SHORT_RESET, |
| 3971 | .tested = TEST_UNTESTED, |
| 3972 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 3973 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */ |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3974 | .block_erasers = |
| 3975 | { |
| 3976 | { |
| 3977 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3978 | .block_erase = erase_sector_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3979 | }, { |
| 3980 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 3981 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 5459637 | 2010-01-09 05:30:14 +0000 | [diff] [blame] | 3982 | }, |
| 3983 | }, |
Michael Karcher | 1c296ca | 2009-11-27 17:49:42 +0000 | [diff] [blame] | 3984 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 3985 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 7de8639 | 2008-12-10 10:32:05 +0000 | [diff] [blame] | 3986 | }, |
| 3987 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 3988 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 3989 | .vendor = "MoselVitelic", |
| 3990 | .name = "V29C51000B", |
| 3991 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 3992 | .manufacture_id = SYNCMOS_MVC_ID, |
| 3993 | .model_id = MVC_V29C51000B, |
| 3994 | .total_size = 64, |
| 3995 | .page_size = 512, |
| 3996 | .feature_bits = FEATURE_EITHER_RESET, |
| 3997 | .tested = TEST_UNTESTED, |
| 3998 | .probe = probe_jedec, |
| 3999 | .probe_timing = TIMING_ZERO, |
| 4000 | .block_erasers = |
| 4001 | { |
| 4002 | { |
| 4003 | .eraseblocks = { {512, 128} }, |
| 4004 | .block_erase = erase_sector_jedec, |
| 4005 | }, { |
| 4006 | .eraseblocks = { {64 * 1024, 1} }, |
| 4007 | .block_erase = erase_chip_block_jedec, |
| 4008 | }, |
| 4009 | }, |
| 4010 | .write = write_jedec_1, |
| 4011 | .read = read_memmapped, |
| 4012 | }, |
| 4013 | |
| 4014 | { |
| 4015 | .vendor = "MoselVitelic", |
| 4016 | .name = "V29C51000T", |
| 4017 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4018 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4019 | .model_id = MVC_V29C51000T, |
| 4020 | .total_size = 64, |
| 4021 | .page_size = 512, |
| 4022 | .feature_bits = FEATURE_EITHER_RESET, |
| 4023 | .tested = TEST_UNTESTED, |
| 4024 | .probe = probe_jedec, |
| 4025 | .probe_timing = TIMING_ZERO, |
| 4026 | .block_erasers = |
| 4027 | { |
| 4028 | { |
| 4029 | .eraseblocks = { {512, 128} }, |
| 4030 | .block_erase = erase_sector_jedec, |
| 4031 | }, { |
| 4032 | .eraseblocks = { {64 * 1024, 1} }, |
| 4033 | .block_erase = erase_chip_block_jedec, |
| 4034 | }, |
| 4035 | }, |
| 4036 | .write = write_jedec_1, |
| 4037 | .read = read_memmapped, |
| 4038 | }, |
| 4039 | |
| 4040 | { |
| 4041 | .vendor = "MoselVitelic", |
| 4042 | .name = "V29C51400B", |
| 4043 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4044 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4045 | .model_id = MVC_V29C51400B, |
| 4046 | .total_size = 512, |
| 4047 | .page_size = 1024, |
| 4048 | .feature_bits = FEATURE_EITHER_RESET, |
| 4049 | .tested = TEST_UNTESTED, |
| 4050 | .probe = probe_jedec, |
| 4051 | .probe_timing = TIMING_ZERO, |
| 4052 | .block_erasers = |
| 4053 | { |
| 4054 | { |
| 4055 | .eraseblocks = { {1024, 512} }, |
| 4056 | .block_erase = erase_sector_jedec, |
| 4057 | }, { |
| 4058 | .eraseblocks = { {512 * 1024, 1} }, |
| 4059 | .block_erase = erase_chip_block_jedec, |
| 4060 | }, |
| 4061 | }, |
| 4062 | .write = write_jedec_1, |
| 4063 | .read = read_memmapped, |
| 4064 | }, |
| 4065 | |
| 4066 | { |
| 4067 | .vendor = "MoselVitelic", |
| 4068 | .name = "V29C51400T", |
| 4069 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4070 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4071 | .model_id = MVC_V29C51400T, |
| 4072 | .total_size = 512, |
| 4073 | .page_size = 1024, |
| 4074 | .feature_bits = FEATURE_EITHER_RESET, |
| 4075 | .tested = TEST_UNTESTED, |
| 4076 | .probe = probe_jedec, |
| 4077 | .probe_timing = TIMING_ZERO, |
| 4078 | .block_erasers = |
| 4079 | { |
| 4080 | { |
| 4081 | .eraseblocks = { {1024, 512} }, |
| 4082 | .block_erase = erase_sector_jedec, |
| 4083 | }, { |
| 4084 | .eraseblocks = { {512 * 1024, 1} }, |
| 4085 | .block_erase = erase_chip_block_jedec, |
| 4086 | }, |
| 4087 | }, |
| 4088 | .write = write_jedec_1, |
| 4089 | .read = read_memmapped, |
| 4090 | }, |
| 4091 | |
| 4092 | { |
| 4093 | .vendor = "MoselVitelic", |
| 4094 | .name = "V29LC51000", |
| 4095 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4096 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4097 | .model_id = MVC_V29LC51000, |
| 4098 | .total_size = 64, |
| 4099 | .page_size = 512, |
| 4100 | .feature_bits = FEATURE_EITHER_RESET, |
| 4101 | .tested = TEST_UNTESTED, |
| 4102 | .probe = probe_jedec, |
| 4103 | .probe_timing = TIMING_ZERO, |
| 4104 | .block_erasers = |
| 4105 | { |
| 4106 | { |
| 4107 | .eraseblocks = { {512, 128} }, |
| 4108 | .block_erase = erase_sector_jedec, |
| 4109 | }, { |
| 4110 | .eraseblocks = { {64 * 1024, 1} }, |
| 4111 | .block_erase = erase_chip_block_jedec, |
| 4112 | }, |
| 4113 | }, |
| 4114 | .write = write_jedec_1, |
| 4115 | .read = read_memmapped, |
| 4116 | }, |
| 4117 | |
| 4118 | { |
| 4119 | .vendor = "MoselVitelic", |
| 4120 | .name = "V29LC51001", |
| 4121 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4122 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4123 | .model_id = MVC_V29LC51001, |
| 4124 | .total_size = 128, |
| 4125 | .page_size = 512, |
| 4126 | .feature_bits = FEATURE_EITHER_RESET, |
| 4127 | .tested = TEST_UNTESTED, |
| 4128 | .probe = probe_jedec, |
| 4129 | .probe_timing = TIMING_ZERO, |
| 4130 | .block_erasers = |
| 4131 | { |
| 4132 | { |
| 4133 | .eraseblocks = { {512, 256} }, |
| 4134 | .block_erase = erase_sector_jedec, |
| 4135 | }, { |
| 4136 | .eraseblocks = { {128 * 1024, 1} }, |
| 4137 | .block_erase = erase_chip_block_jedec, |
| 4138 | }, |
| 4139 | }, |
| 4140 | .write = write_jedec_1, |
| 4141 | .read = read_memmapped, |
| 4142 | }, |
| 4143 | |
| 4144 | { |
| 4145 | .vendor = "MoselVitelic", |
| 4146 | .name = "V29LC51002", |
| 4147 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4148 | .manufacture_id = SYNCMOS_MVC_ID, |
| 4149 | .model_id = MVC_V29LC51002, |
| 4150 | .total_size = 256, |
| 4151 | .page_size = 512, |
| 4152 | .feature_bits = FEATURE_EITHER_RESET, |
| 4153 | .tested = TEST_UNTESTED, |
| 4154 | .probe = probe_jedec, |
| 4155 | .probe_timing = TIMING_ZERO, |
| 4156 | .block_erasers = |
| 4157 | { |
| 4158 | { |
| 4159 | .eraseblocks = { {512, 512} }, |
| 4160 | .block_erase = erase_sector_jedec, |
| 4161 | }, { |
| 4162 | .eraseblocks = { {256 * 1024, 1} }, |
| 4163 | .block_erase = erase_chip_block_jedec, |
| 4164 | }, |
| 4165 | }, |
| 4166 | .write = write_jedec_1, |
| 4167 | .read = read_memmapped, |
| 4168 | }, |
| 4169 | |
| 4170 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4171 | .vendor = "Numonyx", |
| 4172 | .name = "M25PE10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4173 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4174 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4175 | .model_id = ST_M25PE10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4176 | .total_size = 128, |
| 4177 | .page_size = 256, |
| 4178 | .tested = TEST_UNTESTED, |
| 4179 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4180 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4181 | .block_erasers = |
| 4182 | { |
| 4183 | { |
| 4184 | .eraseblocks = { {4 * 1024, 32} }, |
| 4185 | .block_erase = spi_block_erase_20, |
| 4186 | }, { |
| 4187 | .eraseblocks = { {64 * 1024, 2} }, |
| 4188 | .block_erase = spi_block_erase_d8, |
| 4189 | }, { |
| 4190 | .eraseblocks = { {128 * 1024, 1} }, |
| 4191 | .block_erase = spi_block_erase_c7, |
| 4192 | } |
| 4193 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4194 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4195 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4196 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4197 | }, |
| 4198 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4199 | { |
| 4200 | .vendor = "Numonyx", |
| 4201 | .name = "M25PE20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4202 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4203 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4204 | .model_id = ST_M25PE20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4205 | .total_size = 256, |
| 4206 | .page_size = 256, |
| 4207 | .tested = TEST_UNTESTED, |
| 4208 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4209 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4210 | .block_erasers = |
| 4211 | { |
| 4212 | { |
| 4213 | .eraseblocks = { {4 * 1024, 64} }, |
| 4214 | .block_erase = spi_block_erase_20, |
| 4215 | }, { |
| 4216 | .eraseblocks = { {64 * 1024, 4} }, |
| 4217 | .block_erase = spi_block_erase_d8, |
| 4218 | }, { |
| 4219 | .eraseblocks = { {256 * 1024, 1} }, |
| 4220 | .block_erase = spi_block_erase_c7, |
| 4221 | } |
| 4222 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4223 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4224 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4225 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4226 | }, |
| 4227 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4228 | { |
| 4229 | .vendor = "Numonyx", |
| 4230 | .name = "M25PE40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4231 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4232 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4233 | .model_id = ST_M25PE40, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4234 | .total_size = 512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4235 | .page_size = 256, |
| 4236 | .tested = TEST_UNTESTED, |
| 4237 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4238 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4239 | .block_erasers = |
| 4240 | { |
| 4241 | { |
| 4242 | .eraseblocks = { {4 * 1024, 128} }, |
| 4243 | .block_erase = spi_block_erase_20, |
| 4244 | }, { |
| 4245 | .eraseblocks = { {64 * 1024, 8} }, |
| 4246 | .block_erase = spi_block_erase_d8, |
| 4247 | }, { |
| 4248 | .eraseblocks = { {512 * 1024, 1} }, |
| 4249 | .block_erase = spi_block_erase_c7, |
| 4250 | } |
| 4251 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4252 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4253 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4254 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4255 | }, |
| 4256 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4257 | { |
| 4258 | .vendor = "Numonyx", |
| 4259 | .name = "M25PE80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4260 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4261 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4262 | .model_id = ST_M25PE80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4263 | .total_size = 1024, |
| 4264 | .page_size = 256, |
| 4265 | .tested = TEST_OK_PREW, |
| 4266 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4267 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4268 | .block_erasers = |
| 4269 | { |
| 4270 | { |
| 4271 | .eraseblocks = { {4 * 1024, 256} }, |
| 4272 | .block_erase = spi_block_erase_20, |
| 4273 | }, { |
| 4274 | .eraseblocks = { {64 * 1024, 16} }, |
| 4275 | .block_erase = spi_block_erase_d8, |
| 4276 | }, { |
| 4277 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4278 | .block_erase = spi_block_erase_c7, |
| 4279 | } |
| 4280 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4281 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4282 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4283 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4284 | }, |
| 4285 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4286 | { |
| 4287 | .vendor = "Numonyx", |
| 4288 | .name = "M25PE16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4289 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4290 | .manufacture_id = ST_ID, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 4291 | .model_id = ST_M25PE16, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4292 | .total_size = 2048, |
| 4293 | .page_size = 256, |
| 4294 | .tested = TEST_UNTESTED, |
| 4295 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4296 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4297 | .block_erasers = |
| 4298 | { |
| 4299 | { |
| 4300 | .eraseblocks = { {4 * 1024, 512} }, |
| 4301 | .block_erase = spi_block_erase_20, |
| 4302 | }, { |
| 4303 | .eraseblocks = { {64 * 1024, 32} }, |
| 4304 | .block_erase = spi_block_erase_d8, |
| 4305 | }, { |
| 4306 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4307 | .block_erase = spi_block_erase_c7, |
| 4308 | } |
| 4309 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4310 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4311 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4312 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4313 | }, |
| 4314 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4315 | { |
| 4316 | .vendor = "PMC", |
| 4317 | .name = "Pm25LV010", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4318 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4319 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4320 | .model_id = PMC_PM25LV010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4321 | .total_size = 128, |
| 4322 | .page_size = 256, |
| 4323 | .tested = TEST_UNTESTED, |
| 4324 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4325 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4326 | .block_erasers = |
| 4327 | { |
| 4328 | { |
| 4329 | .eraseblocks = { {4 * 1024, 32} }, |
| 4330 | .block_erase = spi_block_erase_d7, |
| 4331 | }, { |
| 4332 | .eraseblocks = { {32 * 1024, 4} }, |
| 4333 | .block_erase = spi_block_erase_d8, |
| 4334 | }, { |
| 4335 | .eraseblocks = { {128 * 1024, 1} }, |
| 4336 | .block_erase = spi_block_erase_c7, |
| 4337 | } |
| 4338 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4339 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4340 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4341 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4342 | }, |
| 4343 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4344 | { |
| 4345 | .vendor = "PMC", |
| 4346 | .name = "Pm25LV016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4347 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4348 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4349 | .model_id = PMC_PM25LV016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4350 | .total_size = 2048, |
| 4351 | .page_size = 256, |
| 4352 | .tested = TEST_UNTESTED, |
| 4353 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4354 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4355 | .block_erasers = |
| 4356 | { |
| 4357 | { |
| 4358 | .eraseblocks = { {4 * 1024, 512} }, |
| 4359 | .block_erase = spi_block_erase_d7, |
| 4360 | }, { |
| 4361 | .eraseblocks = { {4 * 1024, 512} }, |
| 4362 | .block_erase = spi_block_erase_20, |
| 4363 | }, { |
| 4364 | .eraseblocks = { {64 * 1024, 32} }, |
| 4365 | .block_erase = spi_block_erase_d8, |
| 4366 | }, { |
| 4367 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4368 | .block_erase = spi_block_erase_60, |
| 4369 | }, { |
| 4370 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4371 | .block_erase = spi_block_erase_c7, |
| 4372 | } |
| 4373 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4374 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4375 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4376 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4377 | }, |
| 4378 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4379 | { |
| 4380 | .vendor = "PMC", |
| 4381 | .name = "Pm25LV020", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4382 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4383 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4384 | .model_id = PMC_PM25LV020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4385 | .total_size = 256, |
| 4386 | .page_size = 256, |
| 4387 | .tested = TEST_UNTESTED, |
| 4388 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4389 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4390 | .block_erasers = |
| 4391 | { |
| 4392 | { |
| 4393 | .eraseblocks = { {4 * 1024, 64} }, |
| 4394 | .block_erase = spi_block_erase_d7, |
| 4395 | }, { |
| 4396 | .eraseblocks = { {64 * 1024, 4} }, |
| 4397 | .block_erase = spi_block_erase_d8, |
| 4398 | }, { |
| 4399 | .eraseblocks = { {256 * 1024, 1} }, |
| 4400 | .block_erase = spi_block_erase_c7, |
| 4401 | } |
| 4402 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4403 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4404 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4405 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4406 | }, |
| 4407 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4408 | { |
| 4409 | .vendor = "PMC", |
| 4410 | .name = "Pm25LV040", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4411 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4412 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4413 | .model_id = PMC_PM25LV040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4414 | .total_size = 512, |
| 4415 | .page_size = 256, |
| 4416 | .tested = TEST_UNTESTED, |
| 4417 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4418 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4419 | .block_erasers = |
| 4420 | { |
| 4421 | { |
| 4422 | .eraseblocks = { {4 * 1024, 128} }, |
| 4423 | .block_erase = spi_block_erase_d7, |
| 4424 | }, { |
| 4425 | .eraseblocks = { {64 * 1024, 8} }, |
| 4426 | .block_erase = spi_block_erase_d8, |
| 4427 | }, { |
| 4428 | .eraseblocks = { {512 * 1024, 1} }, |
| 4429 | .block_erase = spi_block_erase_c7, |
| 4430 | } |
| 4431 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4432 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4433 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4434 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4435 | }, |
| 4436 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4437 | { |
| 4438 | .vendor = "PMC", |
| 4439 | .name = "Pm25LV080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4440 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4441 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4442 | .model_id = PMC_PM25LV080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4443 | .total_size = 1024, |
| 4444 | .page_size = 256, |
| 4445 | .tested = TEST_UNTESTED, |
| 4446 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4447 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4448 | .block_erasers = |
| 4449 | { |
| 4450 | { |
| 4451 | .eraseblocks = { {4 * 1024, 256} }, |
| 4452 | .block_erase = spi_block_erase_d7, |
| 4453 | }, { |
| 4454 | .eraseblocks = { {4 * 1024, 256} }, |
| 4455 | .block_erase = spi_block_erase_20, |
| 4456 | }, { |
| 4457 | .eraseblocks = { {64 * 1024, 16} }, |
| 4458 | .block_erase = spi_block_erase_d8, |
| 4459 | }, { |
| 4460 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4461 | .block_erase = spi_block_erase_60, |
| 4462 | }, { |
| 4463 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4464 | .block_erase = spi_block_erase_c7, |
| 4465 | } |
| 4466 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4467 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4468 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4469 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4470 | }, |
| 4471 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4472 | { |
| 4473 | .vendor = "PMC", |
| 4474 | .name = "Pm25LV512", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4475 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4476 | .manufacture_id = PMC_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4477 | .model_id = PMC_PM25LV512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4478 | .total_size = 64, |
| 4479 | .page_size = 256, |
| 4480 | .tested = TEST_UNTESTED, |
| 4481 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4482 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4483 | .block_erasers = |
| 4484 | { |
| 4485 | { |
| 4486 | .eraseblocks = { {4 * 1024, 16} }, |
| 4487 | .block_erase = spi_block_erase_d7, |
| 4488 | }, { |
| 4489 | .eraseblocks = { {32 * 1024, 2} }, |
| 4490 | .block_erase = spi_block_erase_d8, |
| 4491 | }, { |
| 4492 | .eraseblocks = { {64 * 1024, 1} }, |
| 4493 | .block_erase = spi_block_erase_c7, |
| 4494 | } |
| 4495 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4496 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4497 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4498 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4499 | }, |
| 4500 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4501 | { |
| 4502 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4503 | .name = "Pm29F002T", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4504 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4505 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4506 | .model_id = PMC_PM29F002T, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4507 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4508 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4509 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4510 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4511 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4512 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4513 | .block_erasers = |
| 4514 | { |
| 4515 | { |
| 4516 | .eraseblocks = { |
| 4517 | {128 * 1024, 1}, |
| 4518 | {96 * 1024, 1}, |
| 4519 | {8 * 1024, 2}, |
| 4520 | {16 * 1024, 1}, |
| 4521 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4522 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4523 | }, { |
| 4524 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4525 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4526 | }, |
| 4527 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4528 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4529 | .read = read_memmapped, |
| 4530 | }, |
| 4531 | |
| 4532 | { |
| 4533 | .vendor = "PMC", |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4534 | .name = "Pm29F002B", |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4535 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4536 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4537 | .model_id = PMC_PM29F002B, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4538 | .total_size = 256, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4539 | .page_size = 8 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4540 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4541 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4542 | .probe = probe_jedec, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4543 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4544 | .block_erasers = |
| 4545 | { |
| 4546 | { |
| 4547 | .eraseblocks = { |
| 4548 | {16 * 1024, 1}, |
| 4549 | {8 * 1024, 2}, |
| 4550 | {96 * 1024, 1}, |
| 4551 | {128 * 1024, 1}, |
| 4552 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4553 | .block_erase = erase_sector_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4554 | }, { |
| 4555 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4556 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 4557 | }, |
| 4558 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4559 | .write = write_jedec_1, |
Uwe Hermann | f983d9f | 2009-06-14 21:53:26 +0000 | [diff] [blame] | 4560 | .read = read_memmapped, |
| 4561 | }, |
| 4562 | |
| 4563 | { |
| 4564 | .vendor = "PMC", |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4565 | .name = "Pm39LV010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4566 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4567 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4568 | .model_id = PMC_PM39F010, /* Pm39LV010 and Pm39F010 have identical IDs but different voltage */ |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4569 | .total_size = 128, |
| 4570 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4571 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 4572 | .tested = TEST_OK_PREW, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4573 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4574 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4575 | .block_erasers = |
| 4576 | { |
| 4577 | { |
| 4578 | .eraseblocks = { {4 * 1024, 32} }, |
| 4579 | .block_erase = erase_sector_jedec, |
| 4580 | }, { |
| 4581 | .eraseblocks = { {64 * 1024, 2} }, |
| 4582 | .block_erase = erase_block_jedec, |
| 4583 | }, { |
| 4584 | .eraseblocks = { {128 * 1024, 1} }, |
| 4585 | .block_erase = erase_chip_block_jedec, |
| 4586 | } |
| 4587 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4588 | .write = write_jedec_1, |
Rudolf Marek | 50fdf3b | 2009-05-17 17:02:07 +0000 | [diff] [blame] | 4589 | .read = read_memmapped, |
| 4590 | }, |
| 4591 | |
| 4592 | { |
| 4593 | .vendor = "PMC", |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4594 | .name = "Pm39LV020", |
| 4595 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4596 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4597 | .model_id = PMC_PM39LV020, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4598 | .total_size = 256, |
| 4599 | .page_size = 4096, |
| 4600 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4601 | .tested = TEST_UNTESTED, |
| 4602 | .probe = probe_jedec, |
| 4603 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4604 | .block_erasers = |
| 4605 | { |
| 4606 | { |
| 4607 | .eraseblocks = { {4 * 1024, 64} }, |
| 4608 | .block_erase = erase_sector_jedec, |
| 4609 | }, { |
| 4610 | .eraseblocks = { {64 * 1024, 4} }, |
| 4611 | .block_erase = erase_block_jedec, |
| 4612 | }, { |
| 4613 | .eraseblocks = { {256 * 1024, 1} }, |
| 4614 | .block_erase = erase_chip_block_jedec, |
| 4615 | } |
| 4616 | }, |
| 4617 | .write = write_jedec_1, |
| 4618 | .read = read_memmapped, |
| 4619 | }, |
| 4620 | |
| 4621 | { |
| 4622 | .vendor = "PMC", |
| 4623 | .name = "Pm39LV040", |
| 4624 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 4625 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4626 | .model_id = PMC_PM39LV040, |
Anders Juel Jensen | dfdc56f | 2010-03-27 23:25:14 +0000 | [diff] [blame] | 4627 | .total_size = 512, |
| 4628 | .page_size = 4096, |
| 4629 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 4630 | .tested = TEST_UNTESTED, |
| 4631 | .probe = probe_jedec, |
| 4632 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 4633 | .block_erasers = |
| 4634 | { |
| 4635 | { |
| 4636 | .eraseblocks = { {4 * 1024, 128} }, |
| 4637 | .block_erase = erase_sector_jedec, |
| 4638 | }, { |
| 4639 | .eraseblocks = { {64 * 1024, 8} }, |
| 4640 | .block_erase = erase_block_jedec, |
| 4641 | }, { |
| 4642 | .eraseblocks = { {512 * 1024, 1} }, |
| 4643 | .block_erase = erase_chip_block_jedec, |
| 4644 | } |
| 4645 | }, |
| 4646 | .write = write_jedec_1, |
| 4647 | .read = read_memmapped, |
| 4648 | }, |
| 4649 | |
| 4650 | { |
| 4651 | .vendor = "PMC", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4652 | .name = "Pm49FL002", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4653 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4654 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4655 | .model_id = PMC_PM49FL002, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4656 | .total_size = 256, |
| 4657 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4658 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Russ Dill | 8c7c468 | 2010-03-09 16:53:06 +0000 | [diff] [blame] | 4659 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4660 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4661 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4662 | .block_erasers = |
| 4663 | { |
| 4664 | { |
| 4665 | .eraseblocks = { {4 * 1024, 64} }, |
| 4666 | .block_erase = erase_sector_jedec, |
| 4667 | }, { |
| 4668 | .eraseblocks = { {16 * 1024, 16} }, |
| 4669 | .block_erase = erase_block_jedec, |
| 4670 | }, { |
| 4671 | .eraseblocks = { {256 * 1024, 1} }, |
| 4672 | .block_erase = erase_chip_block_jedec, |
| 4673 | } |
| 4674 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4675 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4676 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4677 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4678 | }, |
| 4679 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4680 | { |
| 4681 | .vendor = "PMC", |
| 4682 | .name = "Pm49FL004", |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 4683 | .bustype = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4684 | .manufacture_id = PMC_ID_NOPREFIX, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4685 | .model_id = PMC_PM49FL004, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4686 | .total_size = 512, |
| 4687 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 4688 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 4689 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 4690 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 4691 | .probe_timing = TIMING_ZERO, /* routine is wrapper to probe_jedec (pm49fl00x.c) */ |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4692 | .block_erasers = |
| 4693 | { |
| 4694 | { |
| 4695 | .eraseblocks = { {4 * 1024, 128} }, |
| 4696 | .block_erase = erase_sector_jedec, |
| 4697 | }, { |
| 4698 | .eraseblocks = { {64 * 1024, 8} }, |
| 4699 | .block_erase = erase_block_jedec, |
| 4700 | }, { |
| 4701 | .eraseblocks = { {512 * 1024, 1} }, |
| 4702 | .block_erase = erase_chip_block_jedec, |
| 4703 | } |
| 4704 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 4705 | .unlock = unlock_49fl00x, |
Sean Nelson | 3617234 | 2010-02-27 18:01:15 +0000 | [diff] [blame] | 4706 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4707 | .read = read_memmapped, |
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 | { |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4711 | .vendor = "Sanyo", |
| 4712 | .name = "LF25FW203A", |
| 4713 | .bustype = CHIP_BUSTYPE_SPI, |
| 4714 | .manufacture_id = SANYO_ID, |
| 4715 | .model_id = SANYO_LE25FW203A, |
| 4716 | .total_size = 2048, |
| 4717 | .page_size = 256, |
| 4718 | .tested = TEST_UNTESTED, |
| 4719 | .probe = probe_spi_rdid, |
| 4720 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4721 | .block_erasers = |
| 4722 | { |
| 4723 | { |
| 4724 | .eraseblocks = { {64 * 1024, 32} }, |
| 4725 | .block_erase = spi_block_erase_d8, |
| 4726 | }, { |
| 4727 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4728 | .block_erase = spi_block_erase_c7, |
| 4729 | } |
| 4730 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4731 | .unlock = spi_disable_blockprotect, |
Sean Nelson | d70b09c | 2009-11-24 02:11:08 +0000 | [diff] [blame] | 4732 | .write = spi_chip_write_256, |
| 4733 | .read = spi_chip_read, |
| 4734 | }, |
| 4735 | |
| 4736 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4737 | .vendor = "Sharp", |
| 4738 | .name = "LHF00L04", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 4739 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4740 | .manufacture_id = SHARP_ID, |
| 4741 | .model_id = SHARP_LHF00L04, |
| 4742 | .total_size = 1024, |
| 4743 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4744 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4745 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 4746 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4747 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4748 | .block_erasers = |
| 4749 | { |
| 4750 | { |
| 4751 | .eraseblocks = { |
| 4752 | {64 * 1024, 15}, |
| 4753 | {8 * 1024, 8} |
| 4754 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4755 | .block_erase = erase_block_82802ab, |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4756 | }, { |
| 4757 | .eraseblocks = { |
| 4758 | {1024 * 1024, 1} |
| 4759 | }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 4760 | .block_erase = NULL, /* 30 D0, only in A/A mux mode */ |
Carl-Daniel Hailfinger | aca1dce | 2010-01-07 21:23:45 +0000 | [diff] [blame] | 4761 | }, |
| 4762 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 4763 | .unlock = unlock_82802ab, |
| 4764 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 4765 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4766 | }, |
| 4767 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4768 | { |
| 4769 | .vendor = "Spansion", |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4770 | .name = "S25FL008A", |
| 4771 | .bustype = CHIP_BUSTYPE_SPI, |
| 4772 | .manufacture_id = SPANSION_ID, |
| 4773 | .model_id = SPANSION_S25FL008A, |
| 4774 | .total_size = 1024, |
| 4775 | .page_size = 256, |
| 4776 | .tested = TEST_OK_PREW, |
| 4777 | .probe = probe_spi_rdid, |
| 4778 | .probe_timing = TIMING_ZERO, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4779 | .block_erasers = |
| 4780 | { |
| 4781 | { |
| 4782 | .eraseblocks = { {64 * 1024, 16} }, |
| 4783 | .block_erase = spi_block_erase_d8, |
| 4784 | }, { |
| 4785 | .eraseblocks = { {1024 * 1024, 1} }, |
| 4786 | .block_erase = spi_block_erase_c7, |
| 4787 | } |
| 4788 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4789 | .unlock = spi_disable_blockprotect, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 4790 | .write = spi_chip_write_256, |
| 4791 | .read = spi_chip_read, |
| 4792 | }, |
| 4793 | |
| 4794 | { |
| 4795 | .vendor = "Spansion", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4796 | .name = "S25FL016A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4797 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4798 | .manufacture_id = SPANSION_ID, |
| 4799 | .model_id = SPANSION_S25FL016A, |
| 4800 | .total_size = 2048, |
| 4801 | .page_size = 256, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4802 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4803 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4804 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 5643c07 | 2010-01-19 03:23:07 +0000 | [diff] [blame] | 4805 | .block_erasers = |
| 4806 | { |
| 4807 | { |
| 4808 | .eraseblocks = { {64 * 1024, 32} }, |
| 4809 | .block_erase = spi_block_erase_d8, |
| 4810 | }, { |
| 4811 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4812 | .block_erase = spi_block_erase_c7, |
| 4813 | } |
| 4814 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4815 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 4816 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4817 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4818 | }, |
| 4819 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4820 | { |
| 4821 | .vendor = "SST", |
| 4822 | .name = "SST25VF016B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4823 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4824 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4825 | .model_id = SST_SST25VF016B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4826 | .total_size = 2048, |
| 4827 | .page_size = 256, |
Uwe Hermann | a347324 | 2010-09-14 22:59:39 +0000 | [diff] [blame] | 4828 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4829 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4830 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4831 | .block_erasers = |
| 4832 | { |
| 4833 | { |
| 4834 | .eraseblocks = { {4 * 1024, 512} }, |
| 4835 | .block_erase = spi_block_erase_20, |
| 4836 | }, { |
| 4837 | .eraseblocks = { {32 * 1024, 64} }, |
| 4838 | .block_erase = spi_block_erase_52, |
| 4839 | }, { |
| 4840 | .eraseblocks = { {64 * 1024, 32} }, |
| 4841 | .block_erase = spi_block_erase_d8, |
| 4842 | }, { |
| 4843 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4844 | .block_erase = spi_block_erase_60, |
| 4845 | }, { |
| 4846 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 4847 | .block_erase = spi_block_erase_c7, |
| 4848 | }, |
| 4849 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4850 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4851 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4852 | .read = spi_chip_read, |
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 = "SST", |
| 4857 | .name = "SST25VF032B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4858 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4859 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4860 | .model_id = SST_SST25VF032B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4861 | .total_size = 4096, |
| 4862 | .page_size = 256, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 4863 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4864 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4865 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4866 | .block_erasers = |
| 4867 | { |
| 4868 | { |
| 4869 | .eraseblocks = { {4 * 1024, 1024} }, |
| 4870 | .block_erase = spi_block_erase_20, |
| 4871 | }, { |
| 4872 | .eraseblocks = { {32 * 1024, 128} }, |
| 4873 | .block_erase = spi_block_erase_52, |
| 4874 | }, { |
| 4875 | .eraseblocks = { {64 * 1024, 64} }, |
| 4876 | .block_erase = spi_block_erase_d8, |
| 4877 | }, { |
| 4878 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4879 | .block_erase = spi_block_erase_60, |
| 4880 | }, { |
| 4881 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 4882 | .block_erase = spi_block_erase_c7, |
| 4883 | }, |
| 4884 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4885 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 4886 | .write = spi_aai_write, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4887 | .read = spi_chip_read, |
| 4888 | }, |
| 4889 | |
| 4890 | { |
| 4891 | .vendor = "SST", |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4892 | .name = "SST25VF064C", |
| 4893 | .bustype = CHIP_BUSTYPE_SPI, |
| 4894 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4895 | .model_id = SST_SST25VF064C, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4896 | .total_size = 8192, |
| 4897 | .page_size = 256, |
| 4898 | .tested = TEST_OK_PREW, |
| 4899 | .probe = probe_spi_rdid, |
| 4900 | .probe_timing = TIMING_ZERO, |
| 4901 | .block_erasers = |
| 4902 | { |
| 4903 | { |
| 4904 | .eraseblocks = { {4 * 1024, 2048} }, |
| 4905 | .block_erase = spi_block_erase_20, |
| 4906 | }, { |
| 4907 | .eraseblocks = { {32 * 1024, 256} }, |
| 4908 | .block_erase = spi_block_erase_52, |
| 4909 | }, { |
| 4910 | .eraseblocks = { {64 * 1024, 128} }, |
| 4911 | .block_erase = spi_block_erase_d8, |
| 4912 | }, { |
| 4913 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4914 | .block_erase = spi_block_erase_60, |
| 4915 | }, { |
| 4916 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 4917 | .block_erase = spi_block_erase_c7, |
| 4918 | }, |
| 4919 | }, |
| 4920 | .unlock = spi_disable_blockprotect, |
Helge Wagner | 1db7a44 | 2010-10-05 22:29:08 +0000 | [diff] [blame] | 4921 | .write = spi_chip_write_256, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 4922 | .read = spi_chip_read, |
| 4923 | }, |
| 4924 | |
| 4925 | { |
| 4926 | .vendor = "SST", |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4927 | .name = "SST25VF040.REMS", |
| 4928 | .bustype = CHIP_BUSTYPE_SPI, |
| 4929 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4930 | .model_id = SST_SST25VF040_REMS, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4931 | .total_size = 512, |
| 4932 | .page_size = 256, |
| 4933 | .tested = TEST_OK_PR, |
| 4934 | .probe = probe_spi_rems, |
| 4935 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4936 | .block_erasers = |
| 4937 | { |
| 4938 | { |
| 4939 | .eraseblocks = { {4 * 1024, 128} }, |
| 4940 | .block_erase = spi_block_erase_20, |
| 4941 | }, { |
| 4942 | .eraseblocks = { {32 * 1024, 16} }, |
| 4943 | .block_erase = spi_block_erase_52, |
| 4944 | }, { |
| 4945 | .eraseblocks = { {512 * 1024, 1} }, |
| 4946 | .block_erase = spi_block_erase_60, |
| 4947 | }, |
| 4948 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4949 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4950 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4951 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 4952 | }, |
| 4953 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4954 | { |
| 4955 | .vendor = "SST", |
| 4956 | .name = "SST25VF040B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 4957 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4958 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4959 | .model_id = SST_SST25VF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 4960 | .total_size = 512, |
| 4961 | .page_size = 256, |
| 4962 | .tested = TEST_UNTESTED, |
| 4963 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 4964 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 4965 | .block_erasers = |
| 4966 | { |
| 4967 | { |
| 4968 | .eraseblocks = { {4 * 1024, 128} }, |
| 4969 | .block_erase = spi_block_erase_20, |
| 4970 | }, { |
| 4971 | .eraseblocks = { {32 * 1024, 16} }, |
| 4972 | .block_erase = spi_block_erase_52, |
| 4973 | }, { |
| 4974 | .eraseblocks = { {64 * 1024, 8} }, |
| 4975 | .block_erase = spi_block_erase_d8, |
| 4976 | }, { |
| 4977 | .eraseblocks = { {512 * 1024, 1} }, |
| 4978 | .block_erase = spi_block_erase_60, |
| 4979 | }, { |
| 4980 | .eraseblocks = { {512 * 1024, 1} }, |
| 4981 | .block_erase = spi_block_erase_c7, |
| 4982 | }, |
| 4983 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 4984 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 4985 | .write = spi_chip_write_1, |
Zheng Bao | 0677dff | 2009-02-25 08:07:33 +0000 | [diff] [blame] | 4986 | .read = spi_chip_read, |
| 4987 | }, |
| 4988 | |
| 4989 | { |
| 4990 | .vendor = "SST", |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4991 | .name = "SST25LF040A.RES", |
| 4992 | .bustype = CHIP_BUSTYPE_SPI, |
| 4993 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 4994 | .model_id = SST_SST25VF040_REMS, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 4995 | .total_size = 512, |
| 4996 | .page_size = 256, |
| 4997 | .tested = TEST_OK_PROBE, |
| 4998 | .probe = probe_spi_res2, |
| 4999 | .probe_timing = TIMING_ZERO, |
| 5000 | .block_erasers = |
| 5001 | { |
| 5002 | { |
| 5003 | .eraseblocks = { {4 * 1024, 128} }, |
| 5004 | .block_erase = spi_block_erase_20, |
| 5005 | }, { |
| 5006 | .eraseblocks = { {32 * 1024, 16} }, |
| 5007 | .block_erase = spi_block_erase_52, |
| 5008 | }, { |
| 5009 | .eraseblocks = { {512 * 1024, 1} }, |
| 5010 | .block_erase = spi_block_erase_60, |
| 5011 | }, |
| 5012 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5013 | .unlock = spi_disable_blockprotect, |
Stefan Reinauer | 5cacf8c | 2010-06-14 12:58:06 +0000 | [diff] [blame] | 5014 | .write = spi_chip_write_1, |
| 5015 | .read = spi_chip_read, |
| 5016 | }, |
| 5017 | |
| 5018 | { |
| 5019 | .vendor = "SST", |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5020 | .name = "SST25VF040B.REMS", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5021 | .bustype = CHIP_BUSTYPE_SPI, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5022 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5023 | .model_id = SST_SST25VF040B_REMS, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5024 | .total_size = 512, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5025 | .page_size = 256, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5026 | .tested = TEST_OK_PR, |
| 5027 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5028 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5029 | .block_erasers = |
| 5030 | { |
| 5031 | { |
| 5032 | .eraseblocks = { {4 * 1024, 128} }, |
| 5033 | .block_erase = spi_block_erase_20, |
| 5034 | }, { |
| 5035 | .eraseblocks = { {32 * 1024, 16} }, |
| 5036 | .block_erase = spi_block_erase_52, |
| 5037 | }, { |
| 5038 | .eraseblocks = { {64 * 1024, 8} }, |
| 5039 | .block_erase = spi_block_erase_d8, |
| 5040 | }, { |
| 5041 | .eraseblocks = { {512 * 1024, 1} }, |
| 5042 | .block_erase = spi_block_erase_60, |
| 5043 | }, { |
| 5044 | .eraseblocks = { {512 * 1024, 1} }, |
| 5045 | .block_erase = spi_block_erase_c7, |
| 5046 | }, |
| 5047 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5048 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 93bb375 | 2009-05-13 22:19:12 +0000 | [diff] [blame] | 5049 | .write = spi_chip_write_1, |
Peter Stuge | fd9217d | 2009-01-26 03:37:40 +0000 | [diff] [blame] | 5050 | .read = spi_chip_read, |
| 5051 | }, |
| 5052 | |
| 5053 | { |
| 5054 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5055 | .name = "SST25VF080B", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5056 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5057 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5058 | .model_id = SST_SST25VF080B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5059 | .total_size = 1024, |
| 5060 | .page_size = 256, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5061 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5062 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5063 | .probe_timing = TIMING_ZERO, |
Carl-Daniel Hailfinger | bbfeb70 | 2009-12-23 12:16:47 +0000 | [diff] [blame] | 5064 | .block_erasers = |
| 5065 | { |
| 5066 | { |
| 5067 | .eraseblocks = { {4 * 1024, 256} }, |
| 5068 | .block_erase = spi_block_erase_20, |
| 5069 | }, { |
| 5070 | .eraseblocks = { {32 * 1024, 32} }, |
| 5071 | .block_erase = spi_block_erase_52, |
| 5072 | }, { |
| 5073 | .eraseblocks = { {64 * 1024, 16} }, |
| 5074 | .block_erase = spi_block_erase_d8, |
| 5075 | }, { |
| 5076 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5077 | .block_erase = spi_block_erase_60, |
| 5078 | }, { |
| 5079 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5080 | .block_erase = spi_block_erase_c7, |
| 5081 | }, |
| 5082 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5083 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5084 | .write = spi_chip_write_1, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5085 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5086 | }, |
| 5087 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5088 | { |
| 5089 | .vendor = "SST", |
| 5090 | .name = "SST28SF040A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5091 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5092 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5093 | .model_id = SST_SST28SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5094 | .total_size = 512, |
| 5095 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5096 | .feature_bits = 0, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5097 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5098 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5099 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst28sf040.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5100 | .block_erasers = |
| 5101 | { |
| 5102 | { |
| 5103 | .eraseblocks = { {128, 4096} }, |
| 5104 | .block_erase = erase_sector_28sf040, |
| 5105 | }, { |
| 5106 | .eraseblocks = { {512 * 1024, 1} }, |
| 5107 | .block_erase = erase_chip_28sf040, |
| 5108 | } |
| 5109 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5110 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5111 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5112 | }, |
| 5113 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5114 | { |
| 5115 | .vendor = "SST", |
| 5116 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5117 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5118 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5119 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5120 | .total_size = 128, |
| 5121 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5122 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5123 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5124 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5125 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5126 | .block_erasers = |
| 5127 | { |
| 5128 | { |
| 5129 | .eraseblocks = { {128 * 1024, 1} }, |
| 5130 | .block_erase = erase_chip_block_jedec, |
| 5131 | } |
| 5132 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5133 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5134 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5135 | }, |
| 5136 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5137 | { |
| 5138 | .vendor = "SST", |
| 5139 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5140 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5141 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5142 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5143 | .total_size = 128, |
| 5144 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5145 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5146 | .tested = TEST_UNTESTED, |
| 5147 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5148 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5149 | .block_erasers = |
| 5150 | { |
| 5151 | { |
| 5152 | .eraseblocks = { {128 * 1024, 1} }, |
| 5153 | .block_erase = erase_chip_block_jedec, |
| 5154 | } |
| 5155 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5156 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5157 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5158 | }, |
| 5159 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5160 | { |
| 5161 | .vendor = "SST", |
| 5162 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5163 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5164 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5165 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5166 | .total_size = 256, |
| 5167 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5168 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5169 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5170 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5171 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5172 | .block_erasers = |
| 5173 | { |
| 5174 | { |
| 5175 | .eraseblocks = { {256 * 1024, 1} }, |
| 5176 | .block_erase = erase_chip_block_jedec, |
| 5177 | } |
| 5178 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5179 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5180 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5181 | }, |
| 5182 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5183 | { |
| 5184 | .vendor = "SST", |
| 5185 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5186 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5187 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5188 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5189 | .total_size = 256, |
| 5190 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5191 | .feature_bits = FEATURE_LONG_RESET, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 5192 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5193 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5194 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5195 | .block_erasers = |
| 5196 | { |
| 5197 | { |
| 5198 | .eraseblocks = { {256 * 1024, 1} }, |
| 5199 | .block_erase = erase_chip_block_jedec, |
| 5200 | } |
| 5201 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5202 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5203 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5204 | }, |
| 5205 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5206 | { |
| 5207 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5208 | .name = "SST39SF512", |
| 5209 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5210 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5211 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5212 | .total_size = 64, |
| 5213 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5214 | .feature_bits = FEATURE_EITHER_RESET, |
| 5215 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5216 | .probe = probe_jedec, |
| 5217 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5218 | .block_erasers = |
| 5219 | { |
| 5220 | { |
| 5221 | .eraseblocks = { {4 * 1024, 16} }, |
| 5222 | .block_erase = erase_sector_jedec, |
| 5223 | }, { |
| 5224 | .eraseblocks = { {64 * 1024, 1} }, |
| 5225 | .block_erase = erase_chip_block_jedec, |
| 5226 | } |
| 5227 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5228 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5229 | .read = read_memmapped, |
| 5230 | }, |
| 5231 | |
| 5232 | { |
| 5233 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5234 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5235 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5236 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5237 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5238 | .total_size = 128, |
| 5239 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5240 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 5241 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5242 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5243 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5244 | .block_erasers = |
| 5245 | { |
| 5246 | { |
| 5247 | .eraseblocks = { {4 * 1024, 32} }, |
| 5248 | .block_erase = erase_sector_jedec, |
| 5249 | }, { |
| 5250 | .eraseblocks = { {128 * 1024, 1} }, |
| 5251 | .block_erase = erase_chip_block_jedec, |
| 5252 | } |
| 5253 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5254 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5255 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5256 | }, |
| 5257 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5258 | { |
| 5259 | .vendor = "SST", |
| 5260 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5261 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5262 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5263 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5264 | .total_size = 256, |
| 5265 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5266 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5267 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5268 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5269 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5270 | .block_erasers = |
| 5271 | { |
| 5272 | { |
| 5273 | .eraseblocks = { {4 * 1024, 64} }, |
| 5274 | .block_erase = erase_sector_jedec, |
| 5275 | }, { |
| 5276 | .eraseblocks = { {256 * 1024, 1} }, |
| 5277 | .block_erase = erase_chip_block_jedec, |
| 5278 | } |
| 5279 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5280 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5281 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5282 | }, |
| 5283 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5284 | { |
| 5285 | .vendor = "SST", |
| 5286 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5287 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5288 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5289 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5290 | .total_size = 512, |
| 5291 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5292 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5293 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5294 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5295 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5296 | .block_erasers = |
| 5297 | { |
| 5298 | { |
| 5299 | .eraseblocks = { {4 * 1024, 128} }, |
| 5300 | .block_erase = erase_sector_jedec, |
| 5301 | }, { |
| 5302 | .eraseblocks = { {512 * 1024, 1} }, |
| 5303 | .block_erase = erase_chip_block_jedec, |
| 5304 | } |
| 5305 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5306 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5307 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5308 | }, |
| 5309 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5310 | { |
| 5311 | .vendor = "SST", |
| 5312 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5313 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5314 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5315 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5316 | .total_size = 64, |
| 5317 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5318 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 5319 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5320 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5321 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5322 | .block_erasers = |
| 5323 | { |
| 5324 | { |
| 5325 | .eraseblocks = { {4 * 1024, 16} }, |
| 5326 | .block_erase = erase_sector_jedec, |
| 5327 | }, { |
| 5328 | .eraseblocks = { {64 * 1024, 1} }, |
| 5329 | .block_erase = erase_chip_block_jedec, |
| 5330 | } |
| 5331 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5332 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5333 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5334 | }, |
| 5335 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5336 | { |
| 5337 | .vendor = "SST", |
| 5338 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5339 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5340 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5341 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5342 | .total_size = 128, |
| 5343 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5344 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5345 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5346 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5347 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5348 | .block_erasers = |
| 5349 | { |
| 5350 | { |
| 5351 | .eraseblocks = { {4 * 1024, 32} }, |
| 5352 | .block_erase = erase_sector_jedec, |
| 5353 | }, { |
| 5354 | .eraseblocks = { {128 * 1024, 1} }, |
| 5355 | .block_erase = erase_chip_block_jedec, |
| 5356 | } |
| 5357 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5358 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5359 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5360 | }, |
| 5361 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5362 | { |
| 5363 | .vendor = "SST", |
| 5364 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5365 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5366 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5367 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5368 | .total_size = 256, |
| 5369 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5370 | .feature_bits = FEATURE_EITHER_RESET, |
| 5371 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5372 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5373 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5374 | .block_erasers = |
| 5375 | { |
| 5376 | { |
| 5377 | .eraseblocks = { {4 * 1024, 64} }, |
| 5378 | .block_erase = erase_sector_jedec, |
| 5379 | }, { |
| 5380 | .eraseblocks = { {256 * 1024, 1} }, |
| 5381 | .block_erase = erase_chip_block_jedec, |
| 5382 | } |
| 5383 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5384 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5385 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5386 | }, |
| 5387 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5388 | { |
| 5389 | .vendor = "SST", |
| 5390 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5391 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5392 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5393 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5394 | .total_size = 512, |
| 5395 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5396 | .feature_bits = FEATURE_EITHER_RESET, |
| 5397 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5398 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5399 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5400 | .block_erasers = |
| 5401 | { |
| 5402 | { |
| 5403 | .eraseblocks = { {4 * 1024, 128} }, |
| 5404 | .block_erase = erase_sector_jedec, |
| 5405 | }, { |
| 5406 | .eraseblocks = { {512 * 1024, 1} }, |
| 5407 | .block_erase = erase_chip_block_jedec, |
| 5408 | } |
| 5409 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5410 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5411 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 5412 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5413 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5414 | { |
| 5415 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5416 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5417 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5418 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5419 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5420 | .total_size = 1024, |
| 5421 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5422 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5423 | .tested = TEST_UNTESTED, |
| 5424 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5425 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5426 | .block_erasers = |
| 5427 | { |
| 5428 | { |
| 5429 | .eraseblocks = { {4 * 1024, 256} }, |
| 5430 | .block_erase = erase_sector_jedec, |
| 5431 | }, { |
| 5432 | .eraseblocks = { {64 * 1024, 16} }, |
| 5433 | .block_erase = erase_block_jedec, |
| 5434 | }, { |
| 5435 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5436 | .block_erase = erase_chip_block_jedec, |
| 5437 | } |
| 5438 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5439 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5440 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5441 | }, |
| 5442 | |
| 5443 | { |
| 5444 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5445 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5446 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5447 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5448 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5449 | .total_size = 256, |
| 5450 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5451 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5452 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5453 | .probe = probe_jedec, |
| 5454 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5455 | .block_erasers = |
| 5456 | { |
| 5457 | { |
| 5458 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5459 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5460 | }, { |
| 5461 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5462 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5463 | }, { |
| 5464 | .eraseblocks = { {256 * 1024, 1} }, |
| 5465 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5466 | } |
| 5467 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5468 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5469 | .unlock = unlock_sst_fwhub, |
| 5470 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5471 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5472 | }, |
| 5473 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5474 | { |
| 5475 | .vendor = "SST", |
| 5476 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5477 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5478 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5479 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5480 | .total_size = 384, |
| 5481 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5482 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 5483 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5484 | .probe = probe_jedec, |
| 5485 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5486 | .block_erasers = |
| 5487 | { |
| 5488 | { |
| 5489 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5490 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5491 | }, { |
| 5492 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5493 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5494 | }, { |
| 5495 | .eraseblocks = { {384 * 1024, 1} }, |
| 5496 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5497 | } |
| 5498 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5499 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5500 | .unlock = unlock_sst_fwhub, |
| 5501 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5502 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5503 | }, |
| 5504 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5505 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5506 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 5507 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 5508 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5509 | .vendor = "SST", |
| 5510 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5511 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5512 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5513 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5514 | .total_size = 512, |
| 5515 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5516 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5517 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5518 | .probe = probe_jedec, |
| 5519 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5520 | .block_erasers = |
| 5521 | { |
| 5522 | { |
| 5523 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5524 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5525 | }, { |
| 5526 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5527 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5528 | }, { |
| 5529 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5530 | .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] | 5531 | }, |
| 5532 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5533 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5534 | .unlock = unlock_sst_fwhub, |
| 5535 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5536 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5537 | }, |
| 5538 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5539 | { |
| 5540 | .vendor = "SST", |
| 5541 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5542 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5543 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5544 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5545 | .total_size = 512, |
| 5546 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5547 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5548 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5549 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5550 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5551 | .block_erasers = |
| 5552 | { |
| 5553 | { |
| 5554 | .eraseblocks = { {4 * 1024, 128} }, |
| 5555 | .block_erase = erase_sector_49lfxxxc, |
| 5556 | }, { |
| 5557 | .eraseblocks = { |
| 5558 | {64 * 1024, 7}, |
| 5559 | {32 * 1024, 1}, |
| 5560 | {8 * 1024, 2}, |
| 5561 | {16 * 1024, 1}, |
| 5562 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5563 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5564 | } |
| 5565 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5566 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5567 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5568 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5569 | }, |
| 5570 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5571 | { |
| 5572 | .vendor = "SST", |
| 5573 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5574 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5575 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5576 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5577 | .total_size = 1024, |
| 5578 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5579 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 5580 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5581 | .probe = probe_jedec, |
| 5582 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5583 | .block_erasers = |
| 5584 | { |
| 5585 | { |
| 5586 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5587 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5588 | }, { |
| 5589 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5590 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5591 | }, { |
| 5592 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5593 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5594 | } |
| 5595 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5596 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5597 | .unlock = unlock_sst_fwhub, |
| 5598 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5599 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5600 | }, |
| 5601 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5602 | { |
| 5603 | .vendor = "SST", |
| 5604 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5605 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5606 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5607 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5608 | .total_size = 1024, |
| 5609 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5610 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5611 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5612 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5613 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5614 | .block_erasers = |
| 5615 | { |
| 5616 | { |
| 5617 | .eraseblocks = { {4 * 1024, 256} }, |
| 5618 | .block_erase = erase_sector_49lfxxxc, |
| 5619 | }, { |
| 5620 | .eraseblocks = { |
| 5621 | {64 * 1024, 15}, |
| 5622 | {32 * 1024, 1}, |
| 5623 | {8 * 1024, 2}, |
| 5624 | {16 * 1024, 1}, |
| 5625 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5626 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5627 | } |
| 5628 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5629 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5630 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5631 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5632 | }, |
| 5633 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5634 | { |
| 5635 | .vendor = "SST", |
| 5636 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5637 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5638 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5639 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5640 | .total_size = 2048, |
| 5641 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5642 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5643 | .tested = TEST_OK_PRW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5644 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5645 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5646 | .block_erasers = |
| 5647 | { |
| 5648 | { |
| 5649 | .eraseblocks = { {4 * 1024, 512} }, |
| 5650 | .block_erase = erase_sector_49lfxxxc, |
| 5651 | }, { |
| 5652 | .eraseblocks = { |
| 5653 | {64 * 1024, 31}, |
| 5654 | {32 * 1024, 1}, |
| 5655 | {8 * 1024, 2}, |
| 5656 | {16 * 1024, 1}, |
| 5657 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5658 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5659 | } |
| 5660 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5661 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5662 | .write = write_49lfxxxc, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5663 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5664 | }, |
| 5665 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5666 | { |
| 5667 | .vendor = "SST", |
| 5668 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5669 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5670 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5671 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5672 | .total_size = 256, |
| 5673 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5674 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5675 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5676 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5677 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5678 | .block_erasers = |
| 5679 | { |
| 5680 | { |
| 5681 | .eraseblocks = { {4 * 1024, 64} }, |
| 5682 | .block_erase = erase_sector_jedec, |
| 5683 | }, { |
| 5684 | .eraseblocks = { {16 * 1024, 16} }, |
| 5685 | .block_erase = erase_block_jedec, |
| 5686 | }, { |
| 5687 | .eraseblocks = { {256 * 1024, 1} }, |
| 5688 | .block_erase = NULL, |
| 5689 | } |
| 5690 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5691 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5692 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 5693 | }, |
| 5694 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5695 | { |
| 5696 | .vendor = "SST", |
| 5697 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5698 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5699 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5700 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5701 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 5702 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5703 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5704 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5705 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5706 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5707 | .block_erasers = |
| 5708 | { |
| 5709 | { |
| 5710 | .eraseblocks = { {4 * 1024, 64} }, |
| 5711 | .block_erase = erase_sector_jedec, |
| 5712 | }, { |
| 5713 | .eraseblocks = { {16 * 1024, 16} }, |
| 5714 | .block_erase = erase_block_jedec, |
| 5715 | }, { |
| 5716 | .eraseblocks = { {256 * 1024, 1} }, |
| 5717 | .block_erase = NULL, |
| 5718 | } |
| 5719 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5720 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5721 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5722 | }, |
| 5723 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5724 | { |
| 5725 | .vendor = "SST", |
| 5726 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5727 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5728 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5729 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5730 | .total_size = 512, |
| 5731 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5732 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 5733 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5734 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5735 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5736 | .block_erasers = |
| 5737 | { |
| 5738 | { |
| 5739 | .eraseblocks = { {4 * 1024, 128} }, |
| 5740 | .block_erase = erase_sector_jedec, |
| 5741 | }, { |
| 5742 | .eraseblocks = { {64 * 1024, 8} }, |
| 5743 | .block_erase = erase_block_jedec, |
| 5744 | }, { |
| 5745 | .eraseblocks = { {512 * 1024, 1} }, |
| 5746 | .block_erase = NULL, |
| 5747 | } |
| 5748 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5749 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5750 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5751 | }, |
| 5752 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5753 | { |
| 5754 | .vendor = "SST", |
| 5755 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5756 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5757 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5758 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5759 | .total_size = 512, |
| 5760 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5761 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
| 5762 | .tested = TEST_OK_PREW, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5763 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5764 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5765 | .block_erasers = |
| 5766 | { |
| 5767 | { |
| 5768 | .eraseblocks = { {4 * 1024, 128} }, |
| 5769 | .block_erase = erase_sector_jedec, |
| 5770 | }, { |
| 5771 | .eraseblocks = { {64 * 1024, 8} }, |
| 5772 | .block_erase = erase_block_jedec, |
| 5773 | }, { |
| 5774 | .eraseblocks = { {512 * 1024, 1} }, |
| 5775 | .block_erase = NULL, |
| 5776 | } |
| 5777 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5778 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5779 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5780 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5781 | }, |
| 5782 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5783 | { |
| 5784 | .vendor = "SST", |
| 5785 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5786 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5787 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5788 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5789 | .total_size = 1024, |
| 5790 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5791 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 5792 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5793 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5794 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5795 | .block_erasers = |
| 5796 | { |
| 5797 | { |
| 5798 | .eraseblocks = { {4 * 1024, 256} }, |
| 5799 | .block_erase = erase_sector_jedec, |
| 5800 | }, { |
| 5801 | .eraseblocks = { {64 * 1024, 16} }, |
| 5802 | .block_erase = erase_block_jedec, |
| 5803 | }, { |
| 5804 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5805 | .block_erase = NULL, |
| 5806 | } |
| 5807 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5808 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5809 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5810 | }, |
| 5811 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5812 | { |
| 5813 | .vendor = "SST", |
| 5814 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5815 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5816 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5817 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5818 | .total_size = 2048, |
| 5819 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5820 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 5821 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5822 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5823 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5824 | .block_erasers = |
| 5825 | { |
| 5826 | { |
| 5827 | .eraseblocks = { {4 * 1024, 512} }, |
| 5828 | .block_erase = erase_sector_49lfxxxc, |
| 5829 | }, { |
| 5830 | .eraseblocks = { |
| 5831 | {64 * 1024, 31}, |
| 5832 | {32 * 1024, 1}, |
| 5833 | {8 * 1024, 2}, |
| 5834 | {16 * 1024, 1}, |
| 5835 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5836 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5837 | } |
| 5838 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5839 | .unlock = unlock_49lfxxxc, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5840 | .write = write_49lfxxxc, |
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 = "ST", |
| 5846 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5847 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5848 | .manufacture_id = ST_ID, |
| 5849 | .model_id = ST_M25P05A, |
| 5850 | .total_size = 64, |
| 5851 | .page_size = 256, |
| 5852 | .tested = TEST_UNTESTED, |
| 5853 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5854 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5855 | .block_erasers = |
| 5856 | { |
| 5857 | { |
| 5858 | .eraseblocks = { {32 * 1024, 2} }, |
| 5859 | .block_erase = spi_block_erase_d8, |
| 5860 | }, { |
| 5861 | .eraseblocks = { {64 * 1024, 1} }, |
| 5862 | .block_erase = spi_block_erase_c7, |
| 5863 | } |
| 5864 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5865 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5866 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5867 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5868 | }, |
| 5869 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5870 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 5871 | * ST M25P05-A in RES mode, but supports only 128 byte writes instead |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5872 | * of 256 byte writes. We rely heavily on the fact that probe_spi_res1 |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5873 | * only is successful if RDID does not work. |
| 5874 | */ |
| 5875 | { |
| 5876 | .vendor = "ST", |
| 5877 | .name = "M25P05.RES", |
| 5878 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5879 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5880 | .model_id = ST_M25P05_RES, |
| 5881 | .total_size = 64, |
| 5882 | .page_size = 256, |
| 5883 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5884 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5885 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5886 | .block_erasers = |
| 5887 | { |
| 5888 | { |
| 5889 | .eraseblocks = { {32 * 1024, 2} }, |
| 5890 | .block_erase = spi_block_erase_d8, |
| 5891 | }, { |
| 5892 | .eraseblocks = { {64 * 1024, 1} }, |
| 5893 | .block_erase = spi_block_erase_c7, |
| 5894 | } |
| 5895 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5896 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5897 | .write = spi_chip_write_1, /* 128 */ |
| 5898 | .read = spi_chip_read, |
| 5899 | }, |
| 5900 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5901 | { |
| 5902 | .vendor = "ST", |
| 5903 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5904 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5905 | .manufacture_id = ST_ID, |
| 5906 | .model_id = ST_M25P10A, |
| 5907 | .total_size = 128, |
| 5908 | .page_size = 256, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 5909 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5910 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5911 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5912 | .block_erasers = |
| 5913 | { |
| 5914 | { |
| 5915 | .eraseblocks = { {32 * 1024, 4} }, |
| 5916 | .block_erase = spi_block_erase_d8, |
| 5917 | }, { |
| 5918 | .eraseblocks = { {128 * 1024, 1} }, |
| 5919 | .block_erase = spi_block_erase_c7, |
| 5920 | } |
| 5921 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5922 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5923 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5924 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5925 | }, |
| 5926 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5927 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 5928 | { |
| 5929 | .vendor = "ST", |
| 5930 | .name = "M25P10.RES", |
| 5931 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5932 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5933 | .model_id = ST_M25P10_RES, |
| 5934 | .total_size = 128, |
| 5935 | .page_size = 256, |
| 5936 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5937 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5938 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5939 | .block_erasers = |
| 5940 | { |
| 5941 | { |
| 5942 | .eraseblocks = { {32 * 1024, 4} }, |
| 5943 | .block_erase = spi_block_erase_d8, |
| 5944 | }, { |
| 5945 | .eraseblocks = { {128 * 1024, 1} }, |
| 5946 | .block_erase = spi_block_erase_c7, |
| 5947 | } |
| 5948 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5949 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5950 | .write = spi_chip_write_1, /* 128 */ |
| 5951 | .read = spi_chip_read, |
| 5952 | }, |
| 5953 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5954 | { |
| 5955 | .vendor = "ST", |
| 5956 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5957 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5958 | .manufacture_id = ST_ID, |
| 5959 | .model_id = ST_M25P20, |
| 5960 | .total_size = 256, |
| 5961 | .page_size = 256, |
| 5962 | .tested = TEST_UNTESTED, |
| 5963 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5964 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5965 | .block_erasers = |
| 5966 | { |
| 5967 | { |
| 5968 | .eraseblocks = { {64 * 1024, 4} }, |
| 5969 | .block_erase = spi_block_erase_d8, |
| 5970 | }, { |
| 5971 | .eraseblocks = { {256 * 1024, 1} }, |
| 5972 | .block_erase = spi_block_erase_c7, |
| 5973 | } |
| 5974 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5975 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5976 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5977 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5978 | }, |
| 5979 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5980 | { |
| 5981 | .vendor = "ST", |
| 5982 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5983 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5984 | .manufacture_id = ST_ID, |
| 5985 | .model_id = ST_M25P40, |
| 5986 | .total_size = 512, |
| 5987 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5988 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5989 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5990 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5991 | .block_erasers = |
| 5992 | { |
| 5993 | { |
| 5994 | .eraseblocks = { {64 * 1024, 8} }, |
| 5995 | .block_erase = spi_block_erase_d8, |
| 5996 | }, { |
| 5997 | .eraseblocks = { {512 * 1024, 1} }, |
| 5998 | .block_erase = spi_block_erase_c7, |
| 5999 | } |
| 6000 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6001 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6002 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6003 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6004 | }, |
| 6005 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6006 | { |
| 6007 | .vendor = "ST", |
| 6008 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6009 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6010 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6011 | .model_id = ST_M25P40_RES, |
| 6012 | .total_size = 512, |
| 6013 | .page_size = 256, |
| 6014 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6015 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6016 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6017 | .block_erasers = |
| 6018 | { |
| 6019 | { |
| 6020 | .eraseblocks = { {64 * 1024, 8} }, |
| 6021 | .block_erase = spi_block_erase_d8, |
| 6022 | }, { |
| 6023 | .eraseblocks = { {512 * 1024, 1} }, |
| 6024 | .block_erase = spi_block_erase_c7, |
| 6025 | } |
| 6026 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6027 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6028 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6029 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6030 | }, |
| 6031 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6032 | { |
| 6033 | .vendor = "ST", |
| 6034 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6035 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6036 | .manufacture_id = ST_ID, |
| 6037 | .model_id = ST_M25P80, |
| 6038 | .total_size = 1024, |
| 6039 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6040 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6041 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6042 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6043 | .block_erasers = |
| 6044 | { |
| 6045 | { |
| 6046 | .eraseblocks = { {64 * 1024, 16} }, |
| 6047 | .block_erase = spi_block_erase_d8, |
| 6048 | }, { |
| 6049 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6050 | .block_erase = spi_block_erase_c7, |
| 6051 | } |
| 6052 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6053 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6054 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6055 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6056 | }, |
| 6057 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6058 | { |
| 6059 | .vendor = "ST", |
| 6060 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6061 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6062 | .manufacture_id = ST_ID, |
| 6063 | .model_id = ST_M25P16, |
| 6064 | .total_size = 2048, |
| 6065 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6066 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6067 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6068 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6069 | .block_erasers = |
| 6070 | { |
| 6071 | { |
| 6072 | .eraseblocks = { {64 * 1024, 32} }, |
| 6073 | .block_erase = spi_block_erase_d8, |
| 6074 | }, { |
| 6075 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6076 | .block_erase = spi_block_erase_c7, |
| 6077 | } |
| 6078 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6079 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6080 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6081 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6082 | }, |
| 6083 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6084 | { |
| 6085 | .vendor = "ST", |
| 6086 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6087 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6088 | .manufacture_id = ST_ID, |
| 6089 | .model_id = ST_M25P32, |
| 6090 | .total_size = 4096, |
| 6091 | .page_size = 256, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6092 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6093 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6094 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6095 | .block_erasers = |
| 6096 | { |
| 6097 | { |
| 6098 | .eraseblocks = { {64 * 1024, 64} }, |
| 6099 | .block_erase = spi_block_erase_d8, |
| 6100 | }, { |
| 6101 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6102 | .block_erase = spi_block_erase_c7, |
| 6103 | } |
| 6104 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6105 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6106 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6107 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6108 | }, |
| 6109 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6110 | { |
| 6111 | .vendor = "ST", |
| 6112 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6113 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6114 | .manufacture_id = ST_ID, |
| 6115 | .model_id = ST_M25P64, |
| 6116 | .total_size = 8192, |
| 6117 | .page_size = 256, |
| 6118 | .tested = TEST_UNTESTED, |
| 6119 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6120 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6121 | .block_erasers = |
| 6122 | { |
| 6123 | { |
| 6124 | .eraseblocks = { {64 * 1024, 128} }, |
| 6125 | .block_erase = spi_block_erase_d8, |
| 6126 | }, { |
| 6127 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6128 | .block_erase = spi_block_erase_c7, |
| 6129 | } |
| 6130 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6131 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6132 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6133 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6134 | }, |
| 6135 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6136 | { |
| 6137 | .vendor = "ST", |
| 6138 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6139 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6140 | .manufacture_id = ST_ID, |
| 6141 | .model_id = ST_M25P128, |
| 6142 | .total_size = 16384, |
| 6143 | .page_size = 256, |
| 6144 | .tested = TEST_UNTESTED, |
| 6145 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6146 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6147 | .block_erasers = |
| 6148 | { |
| 6149 | { |
| 6150 | .eraseblocks = { {256 * 1024, 64} }, |
| 6151 | .block_erase = spi_block_erase_d8, |
| 6152 | }, { |
| 6153 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6154 | .block_erase = spi_block_erase_c7, |
| 6155 | } |
| 6156 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6157 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6158 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6159 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6160 | }, |
| 6161 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6162 | { |
| 6163 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6164 | .name = "M25PX32", |
| 6165 | .bustype = CHIP_BUSTYPE_SPI, |
| 6166 | .manufacture_id = ST_ID, |
| 6167 | .model_id = ST_M25PX32, |
| 6168 | .total_size = 4096, |
| 6169 | .page_size = 256, |
| 6170 | .tested = TEST_OK_PREW, |
| 6171 | .probe = probe_spi_rdid, |
| 6172 | .probe_timing = TIMING_ZERO, |
| 6173 | .block_erasers = |
| 6174 | { |
| 6175 | { |
| 6176 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 6177 | .block_erase = spi_block_erase_20, |
| 6178 | }, { |
| 6179 | .eraseblocks = { {64 * 1024, 64} }, |
| 6180 | .block_erase = spi_block_erase_d8, |
| 6181 | }, { |
| 6182 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6183 | .block_erase = spi_block_erase_c7, |
| 6184 | } |
| 6185 | }, |
| 6186 | .unlock = spi_disable_blockprotect, |
| 6187 | .write = spi_chip_write_256, |
| 6188 | .read = spi_chip_read, |
| 6189 | }, |
| 6190 | |
| 6191 | { |
| 6192 | .vendor = "ST", |
| 6193 | .name = "M25PX64", |
| 6194 | .bustype = CHIP_BUSTYPE_SPI, |
| 6195 | .manufacture_id = ST_ID, |
| 6196 | .model_id = ST_M25PX64, |
| 6197 | .total_size = 8192, |
| 6198 | .page_size = 256, |
| 6199 | .tested = TEST_OK_PREW, |
| 6200 | .probe = probe_spi_rdid, |
| 6201 | .probe_timing = TIMING_ZERO, |
| 6202 | .block_erasers = |
| 6203 | { |
| 6204 | { |
| 6205 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 6206 | .block_erase = spi_block_erase_20, |
| 6207 | }, { |
| 6208 | .eraseblocks = { {64 * 1024, 128} }, |
| 6209 | .block_erase = spi_block_erase_d8, |
| 6210 | }, { |
| 6211 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6212 | .block_erase = spi_block_erase_c7, |
| 6213 | } |
| 6214 | }, |
| 6215 | .unlock = spi_disable_blockprotect, |
| 6216 | .write = spi_chip_write_256, |
| 6217 | .read = spi_chip_read, |
| 6218 | }, |
| 6219 | |
| 6220 | { |
| 6221 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6222 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6223 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6224 | .manufacture_id = ST_ID, |
| 6225 | .model_id = ST_M29F002B, |
| 6226 | .total_size = 256, |
| 6227 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6228 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6229 | .tested = TEST_UNTESTED, |
| 6230 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6231 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6232 | .block_erasers = |
| 6233 | { |
| 6234 | { |
| 6235 | .eraseblocks = { |
| 6236 | {16 * 1024, 1}, |
| 6237 | {8 * 1024, 2}, |
| 6238 | {32 * 1024, 1}, |
| 6239 | {64 * 1024, 3}, |
| 6240 | }, |
| 6241 | .block_erase = erase_sector_jedec, |
| 6242 | }, { |
| 6243 | .eraseblocks = { {256 * 1024, 1} }, |
| 6244 | .block_erase = erase_chip_block_jedec, |
| 6245 | } |
| 6246 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6247 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6248 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6249 | }, |
| 6250 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6251 | { |
| 6252 | .vendor = "ST", |
| 6253 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6254 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6255 | .manufacture_id = ST_ID, |
| 6256 | .model_id = ST_M29F002T, |
| 6257 | .total_size = 256, |
| 6258 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6259 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 6260 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6261 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6262 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6263 | .block_erasers = |
| 6264 | { |
| 6265 | { |
| 6266 | .eraseblocks = { |
| 6267 | {64 * 1024, 3}, |
| 6268 | {32 * 1024, 1}, |
| 6269 | {8 * 1024, 2}, |
| 6270 | {16 * 1024, 1}, |
| 6271 | }, |
| 6272 | .block_erase = erase_sector_jedec, |
| 6273 | }, { |
| 6274 | .eraseblocks = { {256 * 1024, 1} }, |
| 6275 | .block_erase = erase_chip_block_jedec, |
| 6276 | } |
| 6277 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6278 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6279 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6280 | }, |
| 6281 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6282 | { |
| 6283 | .vendor = "ST", |
| 6284 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6285 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6286 | .manufacture_id = ST_ID, |
| 6287 | .model_id = ST_M29F040B, |
| 6288 | .total_size = 512, |
| 6289 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6290 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6291 | .tested = TEST_UNTESTED, |
| 6292 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6293 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6294 | .block_erasers = |
| 6295 | { |
| 6296 | { |
| 6297 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6298 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6299 | }, { |
| 6300 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6301 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6302 | } |
| 6303 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6304 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6305 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6306 | }, |
| 6307 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6308 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6309 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6310 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6311 | .name = "M29F400BB", |
| 6312 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6313 | .manufacture_id = ST_ID, |
| 6314 | .model_id = ST_M29F400BB, |
| 6315 | .total_size = 512, |
| 6316 | .page_size = 64 * 1024, |
| 6317 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
| 6318 | .tested = TEST_BAD_WRITE, /* Implicit eraseblock layout in write_m29f400bt is broken. */ |
| 6319 | .probe = probe_m29f400bt, |
| 6320 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 6321 | .block_erasers = |
| 6322 | { |
| 6323 | { |
| 6324 | .eraseblocks = { |
| 6325 | {16 * 1024, 1}, |
| 6326 | {8 * 1024, 2}, |
| 6327 | {32 * 1024, 1}, |
| 6328 | {64 * 1024, 7}, |
| 6329 | }, |
| 6330 | .block_erase = block_erase_m29f400bt, |
| 6331 | }, { |
| 6332 | .eraseblocks = { {512 * 1024, 1} }, |
| 6333 | .block_erase = block_erase_chip_m29f400bt, |
| 6334 | } |
| 6335 | }, |
| 6336 | .write = NULL, |
| 6337 | .read = read_memmapped, |
| 6338 | }, |
| 6339 | { |
| 6340 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 6341 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6342 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6343 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6344 | .manufacture_id = ST_ID, |
| 6345 | .model_id = ST_M29F400BT, |
| 6346 | .total_size = 512, |
| 6347 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6348 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6349 | .tested = TEST_UNTESTED, |
| 6350 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6351 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6352 | .block_erasers = |
| 6353 | { |
| 6354 | { |
| 6355 | .eraseblocks = { |
| 6356 | {64 * 1024, 7}, |
| 6357 | {32 * 1024, 1}, |
| 6358 | {8 * 1024, 2}, |
| 6359 | {16 * 1024, 1}, |
| 6360 | }, |
| 6361 | .block_erase = block_erase_m29f400bt, |
| 6362 | }, { |
| 6363 | .eraseblocks = { {512 * 1024, 1} }, |
| 6364 | .block_erase = block_erase_chip_m29f400bt, |
| 6365 | } |
| 6366 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6367 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6368 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6369 | }, |
| 6370 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6371 | { |
| 6372 | .vendor = "ST", |
| 6373 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6374 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6375 | .manufacture_id = ST_ID, |
| 6376 | .model_id = ST_M29W010B, |
| 6377 | .total_size = 128, |
| 6378 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6379 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6380 | .tested = TEST_UNTESTED, |
| 6381 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6382 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6383 | .block_erasers = |
| 6384 | { |
| 6385 | { |
| 6386 | .eraseblocks = { {16 * 1024, 8}, }, |
| 6387 | .block_erase = erase_sector_jedec, |
| 6388 | }, { |
| 6389 | .eraseblocks = { {128 * 1024, 1} }, |
| 6390 | .block_erase = erase_chip_block_jedec, |
| 6391 | } |
| 6392 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6393 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6394 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6395 | }, |
| 6396 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6397 | { |
| 6398 | .vendor = "ST", |
| 6399 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6400 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6401 | .manufacture_id = ST_ID, |
| 6402 | .model_id = ST_M29W040B, |
| 6403 | .total_size = 512, |
| 6404 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6405 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6406 | .tested = TEST_UNTESTED, |
| 6407 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6408 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6409 | .block_erasers = |
| 6410 | { |
| 6411 | { |
| 6412 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6413 | .block_erase = erase_sector_jedec, |
| 6414 | }, { |
| 6415 | .eraseblocks = { {512 * 1024, 1} }, |
| 6416 | .block_erase = erase_chip_block_jedec, |
| 6417 | } |
| 6418 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6419 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6420 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6421 | }, |
| 6422 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6423 | { |
| 6424 | .vendor = "ST", |
| 6425 | .name = "M29W512B", |
| 6426 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6427 | .manufacture_id = ST_ID, |
| 6428 | .model_id = ST_M29W512B, |
| 6429 | .total_size = 64, |
| 6430 | .page_size = 64 * 1024, |
| 6431 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6432 | .tested = TEST_OK_PREW, |
| 6433 | .probe = probe_jedec, |
| 6434 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6435 | .block_erasers = |
| 6436 | { |
| 6437 | { |
| 6438 | .eraseblocks = { {64 * 1024, 1} }, |
| 6439 | .block_erase = erase_chip_block_jedec, |
| 6440 | } |
| 6441 | }, |
| 6442 | .write = write_jedec_1, |
| 6443 | .read = read_memmapped, |
| 6444 | }, |
| 6445 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6446 | { |
| 6447 | .vendor = "ST", |
| 6448 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6449 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6450 | .manufacture_id = ST_ID, |
| 6451 | .model_id = ST_M50FLW040A, |
| 6452 | .total_size = 512, |
| 6453 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6454 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6455 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6456 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6457 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6458 | .block_erasers = |
| 6459 | { |
| 6460 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6461 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6462 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6463 | {64 * 1024, 5}, /* block */ |
| 6464 | {4 * 1024, 16}, /* sector */ |
| 6465 | {4 * 1024, 16}, /* sector */ |
| 6466 | }, |
| 6467 | .block_erase = NULL, |
| 6468 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6469 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6470 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6471 | }, { |
| 6472 | .eraseblocks = { {512 * 1024, 1} }, |
| 6473 | .block_erase = erase_chip_stm50flw0x0x, |
| 6474 | } |
| 6475 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6476 | .unlock = unlock_stm50flw0x0x, |
| 6477 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6478 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6479 | }, |
| 6480 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6481 | { |
| 6482 | .vendor = "ST", |
| 6483 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6484 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6485 | .manufacture_id = ST_ID, |
| 6486 | .model_id = ST_M50FLW040B, |
| 6487 | .total_size = 512, |
| 6488 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6489 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6490 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6491 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6492 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6493 | .block_erasers = |
| 6494 | { |
| 6495 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6496 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6497 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6498 | {4 * 1024, 16}, /* sector */ |
| 6499 | {64 * 1024, 5}, /* block */ |
| 6500 | {4 * 1024, 16}, /* sector */ |
| 6501 | }, |
| 6502 | .block_erase = NULL, |
| 6503 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6504 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6505 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6506 | }, { |
| 6507 | .eraseblocks = { {512 * 1024, 1} }, |
| 6508 | .block_erase = erase_chip_stm50flw0x0x, |
| 6509 | } |
| 6510 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6511 | .unlock = unlock_stm50flw0x0x, |
| 6512 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6513 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6514 | }, |
| 6515 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6516 | { |
| 6517 | .vendor = "ST", |
| 6518 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6519 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6520 | .manufacture_id = ST_ID, |
| 6521 | .model_id = ST_M50FLW080A, |
| 6522 | .total_size = 1024, |
| 6523 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6524 | .feature_bits = FEATURE_REGISTERMAP, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 6525 | .tested = TEST_OK_PREW, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6526 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6527 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6528 | .block_erasers = |
| 6529 | { |
| 6530 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6531 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6532 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6533 | {64 * 1024, 13}, /* block */ |
| 6534 | {4 * 1024, 16}, /* sector */ |
| 6535 | {4 * 1024, 16}, /* sector */ |
| 6536 | }, |
| 6537 | .block_erase = NULL, |
| 6538 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6539 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6540 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6541 | }, { |
| 6542 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6543 | .block_erase = erase_chip_stm50flw0x0x, |
| 6544 | } |
| 6545 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6546 | .unlock = unlock_stm50flw0x0x, |
| 6547 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6548 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6549 | }, |
| 6550 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6551 | { |
| 6552 | .vendor = "ST", |
| 6553 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6554 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6555 | .manufacture_id = ST_ID, |
| 6556 | .model_id = ST_M50FLW080B, |
| 6557 | .total_size = 1024, |
| 6558 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6559 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6560 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6561 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6562 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6563 | .block_erasers = |
| 6564 | { |
| 6565 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6566 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6567 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6568 | {4 * 1024, 16}, /* sector */ |
| 6569 | {64 * 1024, 13}, /* block */ |
| 6570 | {4 * 1024, 16}, /* sector */ |
| 6571 | }, |
| 6572 | .block_erase = NULL, |
| 6573 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6574 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6575 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6576 | }, { |
| 6577 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6578 | .block_erase = erase_chip_stm50flw0x0x, |
| 6579 | } |
| 6580 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6581 | .unlock = unlock_stm50flw0x0x, |
| 6582 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6583 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6584 | }, |
| 6585 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6586 | { |
| 6587 | .vendor = "ST", |
| 6588 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6589 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6590 | .manufacture_id = ST_ID, |
| 6591 | .model_id = ST_M50FW002, |
| 6592 | .total_size = 256, |
| 6593 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6594 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6595 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6596 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6597 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6598 | .block_erasers = |
| 6599 | { |
| 6600 | { |
| 6601 | .eraseblocks = { |
| 6602 | {64 * 1024, 3}, |
| 6603 | {32 * 1024, 1}, |
| 6604 | {8 * 1024, 2}, |
| 6605 | {16 * 1024, 1}, |
| 6606 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6607 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6608 | }, { |
| 6609 | .eraseblocks = { {256 * 1024, 1} }, |
| 6610 | .block_erase = erase_chip_stm50flw0x0x, |
| 6611 | } |
| 6612 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6613 | .unlock = unlock_stm50flw0x0x, |
| 6614 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6615 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6616 | }, |
| 6617 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6618 | { |
| 6619 | .vendor = "ST", |
| 6620 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6621 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6622 | .manufacture_id = ST_ID, |
| 6623 | .model_id = ST_M50FW016, |
| 6624 | .total_size = 2048, |
| 6625 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6626 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6627 | .tested = TEST_UNTESTED, |
| 6628 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6629 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6630 | .block_erasers = |
| 6631 | { |
| 6632 | { |
| 6633 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6634 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6635 | }, { |
| 6636 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6637 | .block_erase = erase_chip_stm50flw0x0x, |
| 6638 | } |
| 6639 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6640 | .unlock = unlock_stm50flw0x0x, |
| 6641 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6642 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6643 | }, |
| 6644 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6645 | { |
| 6646 | .vendor = "ST", |
| 6647 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6648 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6649 | .manufacture_id = ST_ID, |
| 6650 | .model_id = ST_M50FW040, |
| 6651 | .total_size = 512, |
| 6652 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6653 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6654 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6655 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6656 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6657 | .block_erasers = |
| 6658 | { |
| 6659 | { |
| 6660 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6661 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6662 | }, { |
| 6663 | .eraseblocks = { {512 * 1024, 1} }, |
| 6664 | .block_erase = erase_chip_stm50flw0x0x, |
| 6665 | } |
| 6666 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6667 | .unlock = unlock_stm50flw0x0x, |
| 6668 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6669 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6670 | }, |
| 6671 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6672 | { |
| 6673 | .vendor = "ST", |
| 6674 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6675 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6676 | .manufacture_id = ST_ID, |
| 6677 | .model_id = ST_M50FW080, |
| 6678 | .total_size = 1024, |
| 6679 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6680 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6681 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6682 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6683 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6684 | .block_erasers = |
| 6685 | { |
| 6686 | { |
| 6687 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6688 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6689 | }, { |
| 6690 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6691 | .block_erase = erase_chip_stm50flw0x0x, |
| 6692 | } |
| 6693 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6694 | .unlock = unlock_stm50flw0x0x, |
| 6695 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6696 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6697 | }, |
| 6698 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6699 | { |
| 6700 | .vendor = "ST", |
| 6701 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6702 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6703 | .manufacture_id = ST_ID, |
| 6704 | .model_id = ST_M50LPW116, |
| 6705 | .total_size = 2048, |
| 6706 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6707 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6708 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6709 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6710 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6711 | .block_erasers = |
| 6712 | { |
| 6713 | { |
| 6714 | .eraseblocks = { |
| 6715 | {4 * 1024, 16}, |
| 6716 | {64 * 1024, 30}, |
| 6717 | {32 * 1024, 1}, |
| 6718 | {8 * 1024, 2}, |
| 6719 | {16 * 1024, 1}, |
| 6720 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6721 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6722 | }, { |
| 6723 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6724 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6725 | } |
| 6726 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6727 | .unlock = unlock_stm50flw0x0x, |
| 6728 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6729 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6730 | }, |
| 6731 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6732 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6733 | .vendor = "SyncMOS/MoselVitelic", |
| 6734 | .name = "{F,S,V}29C51001B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6735 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6736 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6737 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6738 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6739 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6740 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6741 | .tested = TEST_UNTESTED, |
| 6742 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6743 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6744 | .block_erasers = |
| 6745 | { |
| 6746 | { |
| 6747 | .eraseblocks = { {512, 256} }, |
| 6748 | .block_erase = erase_sector_jedec, |
| 6749 | }, { |
| 6750 | .eraseblocks = { {128 * 1024, 1} }, |
| 6751 | .block_erase = erase_chip_block_jedec, |
| 6752 | }, |
| 6753 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6754 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6755 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6756 | }, |
| 6757 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6758 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6759 | .vendor = "SyncMOS/MoselVitelic", |
| 6760 | .name = "{F,S,V}29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6761 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6762 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6763 | .model_id = SM_MVC_29C51001T, |
| 6764 | .total_size = 128, |
| 6765 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6766 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6767 | .tested = TEST_UNTESTED, |
| 6768 | .probe = probe_jedec, |
| 6769 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6770 | .block_erasers = |
| 6771 | { |
| 6772 | { |
| 6773 | .eraseblocks = { {512, 256} }, |
| 6774 | .block_erase = erase_sector_jedec, |
| 6775 | }, { |
| 6776 | .eraseblocks = { {128 * 1024, 1} }, |
| 6777 | .block_erase = erase_chip_block_jedec, |
| 6778 | }, |
| 6779 | }, |
| 6780 | .write = write_jedec_1, |
| 6781 | .read = read_memmapped, |
| 6782 | }, |
| 6783 | |
| 6784 | { |
| 6785 | .vendor = "SyncMOS/MoselVitelic", |
| 6786 | .name = "{F,S,V}29C51002B", |
| 6787 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6788 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6789 | .model_id = SM_MVC_29C51002B, |
| 6790 | .total_size = 256, |
| 6791 | .page_size = 512, |
| 6792 | .feature_bits = FEATURE_EITHER_RESET, |
| 6793 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6794 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6795 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6796 | .block_erasers = |
| 6797 | { |
| 6798 | { |
| 6799 | .eraseblocks = { {512, 512} }, |
| 6800 | .block_erase = erase_sector_jedec, |
| 6801 | }, { |
| 6802 | .eraseblocks = { {256 * 1024, 1} }, |
| 6803 | .block_erase = erase_chip_block_jedec, |
| 6804 | }, |
| 6805 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6806 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6807 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6808 | }, |
| 6809 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6810 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6811 | .vendor = "SyncMOS/MoselVitelic", |
| 6812 | .name = "{F,S,V}29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6813 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6814 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6815 | .model_id = SM_MVC_29C51002T, |
| 6816 | .total_size = 256, |
| 6817 | .page_size = 512, |
| 6818 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6819 | .tested = TEST_OK_PREW, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6820 | .probe = probe_jedec, |
| 6821 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6822 | .block_erasers = |
| 6823 | { |
| 6824 | { |
| 6825 | .eraseblocks = { {512, 512} }, |
| 6826 | .block_erase = erase_sector_jedec, |
| 6827 | }, { |
| 6828 | .eraseblocks = { {256 * 1024, 1} }, |
| 6829 | .block_erase = erase_chip_block_jedec, |
| 6830 | }, |
| 6831 | }, |
| 6832 | .write = write_jedec_1, |
| 6833 | .read = read_memmapped, |
| 6834 | }, |
| 6835 | |
| 6836 | { |
| 6837 | .vendor = "SyncMOS/MoselVitelic", |
| 6838 | .name = "{F,S,V}29C51004B", |
| 6839 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6840 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6841 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6842 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6843 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6844 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6845 | .tested = TEST_UNTESTED, |
| 6846 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6847 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6848 | .block_erasers = |
| 6849 | { |
| 6850 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6851 | .eraseblocks = { {1024, 512} }, |
| 6852 | .block_erase = erase_sector_jedec, |
| 6853 | }, { |
| 6854 | .eraseblocks = { {512 * 1024, 1} }, |
| 6855 | .block_erase = erase_chip_block_jedec, |
| 6856 | }, |
| 6857 | }, |
| 6858 | .write = write_jedec_1, |
| 6859 | .read = read_memmapped, |
| 6860 | }, |
| 6861 | |
| 6862 | { |
| 6863 | .vendor = "SyncMOS/MoselVitelic", |
| 6864 | .name = "{F,S,V}29C51004T", |
| 6865 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6866 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6867 | .model_id = SM_MVC_29C51004T, |
| 6868 | .total_size = 512, |
| 6869 | .page_size = 1024, |
| 6870 | .feature_bits = FEATURE_EITHER_RESET, |
| 6871 | .tested = TEST_UNTESTED, |
| 6872 | .probe = probe_jedec, |
| 6873 | .probe_timing = TIMING_ZERO, |
| 6874 | .block_erasers = |
| 6875 | { |
| 6876 | { |
| 6877 | .eraseblocks = { {1024, 512} }, |
| 6878 | .block_erase = erase_sector_jedec, |
| 6879 | }, { |
| 6880 | .eraseblocks = { {512 * 1024, 1} }, |
| 6881 | .block_erase = erase_chip_block_jedec, |
| 6882 | }, |
| 6883 | }, |
| 6884 | .write = write_jedec_1, |
| 6885 | .read = read_memmapped, |
| 6886 | }, |
| 6887 | |
| 6888 | { |
| 6889 | .vendor = "SyncMOS/MoselVitelic", |
| 6890 | .name = "{S,V}29C31004B", |
| 6891 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6892 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6893 | .model_id = SM_MVC_29C31004B, |
| 6894 | .total_size = 512, |
| 6895 | .page_size = 1024, |
| 6896 | .feature_bits = FEATURE_EITHER_RESET, |
| 6897 | .tested = TEST_UNTESTED, |
| 6898 | .probe = probe_jedec, |
| 6899 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6900 | .block_erasers = |
| 6901 | { |
| 6902 | { |
| 6903 | .eraseblocks = { {1024, 512} }, |
| 6904 | .block_erase = erase_sector_jedec, |
| 6905 | }, { |
| 6906 | .eraseblocks = { {512 * 1024, 1} }, |
| 6907 | .block_erase = erase_chip_block_jedec, |
| 6908 | }, |
| 6909 | }, |
| 6910 | .write = write_jedec_1, |
| 6911 | .read = read_memmapped, |
| 6912 | }, |
| 6913 | |
| 6914 | { |
| 6915 | .vendor = "SyncMOS/MoselVitelic", |
| 6916 | .name = "{S,V}29C31004T", |
| 6917 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6918 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6919 | .model_id = SM_MVC_29C31004T, |
| 6920 | .total_size = 512, |
| 6921 | .page_size = 1024, |
| 6922 | .feature_bits = FEATURE_EITHER_RESET, |
| 6923 | .tested = TEST_UNTESTED, |
| 6924 | .probe = probe_jedec, |
| 6925 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6926 | .block_erasers = |
| 6927 | { |
| 6928 | { |
| 6929 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6930 | .block_erase = erase_sector_jedec, |
| 6931 | }, { |
| 6932 | .eraseblocks = { {512 * 1024, 1} }, |
| 6933 | .block_erase = erase_chip_block_jedec, |
| 6934 | }, |
| 6935 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6936 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6937 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6938 | }, |
| 6939 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6940 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6941 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6942 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6943 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6944 | .manufacture_id = TI_OLD_ID, |
| 6945 | .model_id = TI_TMS29F002RB, |
| 6946 | .total_size = 256, |
| 6947 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6948 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6949 | .tested = TEST_UNTESTED, |
| 6950 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6951 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6952 | .block_erasers = |
| 6953 | { |
| 6954 | { |
| 6955 | .eraseblocks = { |
| 6956 | {16 * 1024, 1}, |
| 6957 | {8 * 1024, 2}, |
| 6958 | {32 * 1024, 1}, |
| 6959 | {64 * 1024, 3}, |
| 6960 | }, |
| 6961 | .block_erase = erase_sector_jedec, |
| 6962 | }, { |
| 6963 | .eraseblocks = { {256 * 1024, 1} }, |
| 6964 | .block_erase = erase_chip_block_jedec, |
| 6965 | }, |
| 6966 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6967 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6968 | .read = read_memmapped, |
| 6969 | }, |
| 6970 | |
| 6971 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6972 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6973 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6974 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6975 | .manufacture_id = TI_OLD_ID, |
| 6976 | .model_id = TI_TMS29F002RT, |
| 6977 | .total_size = 256, |
| 6978 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6979 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6980 | .tested = TEST_UNTESTED, |
| 6981 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6982 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6983 | .block_erasers = |
| 6984 | { |
| 6985 | { |
| 6986 | .eraseblocks = { |
| 6987 | {64 * 1024, 3}, |
| 6988 | {32 * 1024, 1}, |
| 6989 | {8 * 1024, 2}, |
| 6990 | {16 * 1024, 1}, |
| 6991 | }, |
| 6992 | .block_erase = erase_sector_jedec, |
| 6993 | }, { |
| 6994 | .eraseblocks = { {256 * 1024, 1} }, |
| 6995 | .block_erase = erase_chip_block_jedec, |
| 6996 | }, |
| 6997 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6998 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6999 | .read = read_memmapped, |
| 7000 | }, |
| 7001 | |
| 7002 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7003 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7004 | .name = "W25Q80", |
| 7005 | .bustype = CHIP_BUSTYPE_SPI, |
| 7006 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7007 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7008 | .total_size = 1024, |
| 7009 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7010 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7011 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7012 | .probe = probe_spi_rdid, |
| 7013 | .probe_timing = TIMING_ZERO, |
| 7014 | .block_erasers = |
| 7015 | { |
| 7016 | { |
| 7017 | .eraseblocks = { {4 * 1024, 256} }, |
| 7018 | .block_erase = spi_block_erase_20, |
| 7019 | }, { |
| 7020 | .eraseblocks = { {32 * 1024, 32} }, |
| 7021 | .block_erase = spi_block_erase_52, |
| 7022 | }, { |
| 7023 | .eraseblocks = { {64 * 1024, 16} }, |
| 7024 | .block_erase = spi_block_erase_d8, |
| 7025 | }, { |
| 7026 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7027 | .block_erase = spi_block_erase_60, |
| 7028 | }, { |
| 7029 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7030 | .block_erase = spi_block_erase_c7, |
| 7031 | } |
| 7032 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7033 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7034 | .write = spi_chip_write_256, |
| 7035 | .read = spi_chip_read, |
| 7036 | }, |
| 7037 | |
| 7038 | { |
| 7039 | .vendor = "Winbond", |
| 7040 | .name = "W25Q16", |
| 7041 | .bustype = CHIP_BUSTYPE_SPI, |
| 7042 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7043 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7044 | .total_size = 2048, |
| 7045 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7046 | .feature_bits = FEATURE_WRSR_WREN, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7047 | .tested = TEST_UNTESTED, |
| 7048 | .probe = probe_spi_rdid, |
| 7049 | .probe_timing = TIMING_ZERO, |
| 7050 | .block_erasers = |
| 7051 | { |
| 7052 | { |
| 7053 | .eraseblocks = { {4 * 1024, 512} }, |
| 7054 | .block_erase = spi_block_erase_20, |
| 7055 | }, { |
| 7056 | .eraseblocks = { {32 * 1024, 64} }, |
| 7057 | .block_erase = spi_block_erase_52, |
| 7058 | }, { |
| 7059 | .eraseblocks = { {64 * 1024, 32} }, |
| 7060 | .block_erase = spi_block_erase_d8, |
| 7061 | }, { |
| 7062 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7063 | .block_erase = spi_block_erase_60, |
| 7064 | }, { |
| 7065 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7066 | .block_erase = spi_block_erase_c7, |
| 7067 | } |
| 7068 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7069 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7070 | .write = spi_chip_write_256, |
| 7071 | .read = spi_chip_read, |
| 7072 | }, |
| 7073 | |
| 7074 | { |
| 7075 | .vendor = "Winbond", |
| 7076 | .name = "W25Q32", |
| 7077 | .bustype = CHIP_BUSTYPE_SPI, |
| 7078 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7079 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7080 | .total_size = 4096, |
| 7081 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7082 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | 9017cec | 2010-09-04 23:37:40 +0000 | [diff] [blame] | 7083 | .tested = TEST_OK_PREW, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7084 | .probe = probe_spi_rdid, |
| 7085 | .probe_timing = TIMING_ZERO, |
| 7086 | .block_erasers = |
| 7087 | { |
| 7088 | { |
| 7089 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7090 | .block_erase = spi_block_erase_20, |
| 7091 | }, { |
| 7092 | .eraseblocks = { {32 * 1024, 128} }, |
| 7093 | .block_erase = spi_block_erase_52, |
| 7094 | }, { |
| 7095 | .eraseblocks = { {64 * 1024, 64} }, |
| 7096 | .block_erase = spi_block_erase_d8, |
| 7097 | }, { |
| 7098 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7099 | .block_erase = spi_block_erase_60, |
| 7100 | }, { |
| 7101 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7102 | .block_erase = spi_block_erase_c7, |
| 7103 | } |
| 7104 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7105 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7106 | .write = spi_chip_write_256, |
| 7107 | .read = spi_chip_read, |
| 7108 | }, |
| 7109 | |
| 7110 | { |
| 7111 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7112 | .name = "W25Q64", |
| 7113 | .bustype = CHIP_BUSTYPE_SPI, |
| 7114 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7115 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7116 | .total_size = 8192, |
| 7117 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7118 | .feature_bits = FEATURE_WRSR_WREN, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7119 | .tested = TEST_OK_PRW, |
| 7120 | .probe = probe_spi_rdid, |
| 7121 | .probe_timing = TIMING_ZERO, |
| 7122 | .block_erasers = |
| 7123 | { |
| 7124 | { |
| 7125 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7126 | .block_erase = spi_block_erase_20, |
| 7127 | }, { |
| 7128 | .eraseblocks = { {32 * 1024, 256} }, |
| 7129 | .block_erase = spi_block_erase_52, |
| 7130 | }, { |
| 7131 | .eraseblocks = { {64 * 1024, 128} }, |
| 7132 | .block_erase = spi_block_erase_d8, |
| 7133 | }, { |
| 7134 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7135 | .block_erase = spi_block_erase_60, |
| 7136 | }, { |
| 7137 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7138 | .block_erase = spi_block_erase_c7, |
| 7139 | } |
| 7140 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7141 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7142 | .write = spi_chip_write_256, |
| 7143 | .read = spi_chip_read, |
| 7144 | }, |
| 7145 | |
| 7146 | { |
| 7147 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7148 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7149 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7150 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7151 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7152 | .total_size = 128, |
| 7153 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7154 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7155 | .tested = TEST_UNTESTED, |
| 7156 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7157 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7158 | .block_erasers = |
| 7159 | { |
| 7160 | { |
| 7161 | .eraseblocks = { {4 * 1024, 32} }, |
| 7162 | .block_erase = spi_block_erase_20, |
| 7163 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7164 | .eraseblocks = { {64 * 1024, 2} }, |
| 7165 | .block_erase = spi_block_erase_d8, |
| 7166 | }, { |
| 7167 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7168 | .block_erase = spi_block_erase_c7, |
| 7169 | } |
| 7170 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7171 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7172 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7173 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7174 | }, |
| 7175 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7176 | { |
| 7177 | .vendor = "Winbond", |
| 7178 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7179 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7180 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7181 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7182 | .total_size = 256, |
| 7183 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7184 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7185 | .tested = TEST_UNTESTED, |
| 7186 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7187 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7188 | .block_erasers = |
| 7189 | { |
| 7190 | { |
| 7191 | .eraseblocks = { {4 * 1024, 64} }, |
| 7192 | .block_erase = spi_block_erase_20, |
| 7193 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7194 | .eraseblocks = { {64 * 1024, 4} }, |
| 7195 | .block_erase = spi_block_erase_d8, |
| 7196 | }, { |
| 7197 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7198 | .block_erase = spi_block_erase_c7, |
| 7199 | } |
| 7200 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7201 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7202 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7203 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7204 | }, |
| 7205 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7206 | { |
| 7207 | .vendor = "Winbond", |
| 7208 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7209 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7210 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7211 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7212 | .total_size = 512, |
| 7213 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7214 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7215 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7216 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7217 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7218 | .block_erasers = |
| 7219 | { |
| 7220 | { |
| 7221 | .eraseblocks = { {4 * 1024, 128} }, |
| 7222 | .block_erase = spi_block_erase_20, |
| 7223 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7224 | .eraseblocks = { {64 * 1024, 8} }, |
| 7225 | .block_erase = spi_block_erase_d8, |
| 7226 | }, { |
| 7227 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7228 | .block_erase = spi_block_erase_c7, |
| 7229 | } |
| 7230 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7231 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7232 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7233 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7234 | }, |
| 7235 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7236 | { |
| 7237 | .vendor = "Winbond", |
| 7238 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7239 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7240 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7241 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7242 | .total_size = 1024, |
| 7243 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7244 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7245 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7246 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7247 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7248 | .block_erasers = |
| 7249 | { |
| 7250 | { |
| 7251 | .eraseblocks = { {4 * 1024, 256} }, |
| 7252 | .block_erase = spi_block_erase_20, |
| 7253 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7254 | .eraseblocks = { {64 * 1024, 16} }, |
| 7255 | .block_erase = spi_block_erase_d8, |
| 7256 | }, { |
| 7257 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7258 | .block_erase = spi_block_erase_c7, |
| 7259 | } |
| 7260 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7261 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7262 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7263 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7264 | }, |
| 7265 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7266 | { |
| 7267 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7268 | .name = "W25x16", |
| 7269 | .bustype = CHIP_BUSTYPE_SPI, |
| 7270 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7271 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7272 | .total_size = 2048, |
| 7273 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7274 | .feature_bits = FEATURE_WRSR_WREN, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7275 | .tested = TEST_OK_PREW, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7276 | .probe = probe_spi_rdid, |
| 7277 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7278 | .block_erasers = |
| 7279 | { |
| 7280 | { |
| 7281 | .eraseblocks = { {4 * 1024, 512} }, |
| 7282 | .block_erase = spi_block_erase_20, |
| 7283 | }, { |
| 7284 | .eraseblocks = { {32 * 1024, 64} }, |
| 7285 | .block_erase = spi_block_erase_52, |
| 7286 | }, { |
| 7287 | .eraseblocks = { {64 * 1024, 32} }, |
| 7288 | .block_erase = spi_block_erase_d8, |
| 7289 | }, { |
| 7290 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7291 | .block_erase = spi_block_erase_60, |
| 7292 | }, { |
| 7293 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7294 | .block_erase = spi_block_erase_c7, |
| 7295 | } |
| 7296 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7297 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7298 | .write = spi_chip_write_256, |
| 7299 | .read = spi_chip_read, |
| 7300 | }, |
| 7301 | |
| 7302 | { |
| 7303 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7304 | .name = "W25x32", |
| 7305 | .bustype = CHIP_BUSTYPE_SPI, |
| 7306 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7307 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7308 | .total_size = 4096, |
| 7309 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7310 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7311 | .tested = TEST_OK_PROBE, |
| 7312 | .probe = probe_spi_rdid, |
| 7313 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7314 | .block_erasers = |
| 7315 | { |
| 7316 | { |
| 7317 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7318 | .block_erase = spi_block_erase_20, |
| 7319 | }, { |
| 7320 | .eraseblocks = { {32 * 1024, 128} }, |
| 7321 | .block_erase = spi_block_erase_52, |
| 7322 | }, { |
| 7323 | .eraseblocks = { {64 * 1024, 64} }, |
| 7324 | .block_erase = spi_block_erase_d8, |
| 7325 | }, { |
| 7326 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7327 | .block_erase = spi_block_erase_60, |
| 7328 | }, { |
| 7329 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7330 | .block_erase = spi_block_erase_c7, |
| 7331 | } |
| 7332 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7333 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7334 | .write = spi_chip_write_256, |
| 7335 | .read = spi_chip_read, |
| 7336 | }, |
| 7337 | |
| 7338 | { |
| 7339 | .vendor = "Winbond", |
| 7340 | .name = "W25x64", |
| 7341 | .bustype = CHIP_BUSTYPE_SPI, |
| 7342 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7343 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7344 | .total_size = 8192, |
| 7345 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7346 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7347 | .tested = TEST_UNTESTED, |
| 7348 | .probe = probe_spi_rdid, |
| 7349 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7350 | .block_erasers = |
| 7351 | { |
| 7352 | { |
| 7353 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7354 | .block_erase = spi_block_erase_20, |
| 7355 | }, { |
| 7356 | .eraseblocks = { {32 * 1024, 256} }, |
| 7357 | .block_erase = spi_block_erase_52, |
| 7358 | }, { |
| 7359 | .eraseblocks = { {64 * 1024, 128} }, |
| 7360 | .block_erase = spi_block_erase_d8, |
| 7361 | }, { |
| 7362 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7363 | .block_erase = spi_block_erase_60, |
| 7364 | }, { |
| 7365 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7366 | .block_erase = spi_block_erase_c7, |
| 7367 | } |
| 7368 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7369 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7370 | .write = spi_chip_write_256, |
| 7371 | .read = spi_chip_read, |
| 7372 | }, |
| 7373 | |
| 7374 | { |
| 7375 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7376 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7377 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7378 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7379 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7380 | .total_size = 128, |
| 7381 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7382 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 6093969 | 2010-03-17 00:05:59 +0000 | [diff] [blame] | 7383 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7384 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7385 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7386 | .block_erasers = |
| 7387 | { |
| 7388 | { |
| 7389 | .eraseblocks = { {128 * 1024, 1} }, |
| 7390 | .block_erase = erase_chip_block_jedec, |
| 7391 | } |
| 7392 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7393 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7394 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7395 | }, |
| 7396 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7397 | { |
| 7398 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7399 | .name = "W29C020(C)/W29C022", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7400 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7401 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7402 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7403 | .total_size = 256, |
| 7404 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7405 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7406 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7407 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7408 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7409 | .block_erasers = |
| 7410 | { |
| 7411 | { |
| 7412 | .eraseblocks = { {256 * 1024, 1} }, |
| 7413 | .block_erase = erase_chip_block_jedec, |
| 7414 | } |
| 7415 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7416 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7417 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7418 | }, |
| 7419 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7420 | { |
| 7421 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7422 | .name = "W29C040/P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7423 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7424 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7425 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7426 | .total_size = 512, |
| 7427 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7428 | .feature_bits = FEATURE_LONG_RESET, |
| 7429 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7430 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7431 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7432 | .block_erasers = |
| 7433 | { |
| 7434 | { |
| 7435 | .eraseblocks = { {512 * 1024, 1} }, |
| 7436 | .block_erase = erase_chip_block_jedec, |
| 7437 | } |
| 7438 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7439 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7440 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7441 | }, |
| 7442 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7443 | { |
| 7444 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7445 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7446 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7447 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7448 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7449 | .total_size = 128, |
| 7450 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7451 | .feature_bits = FEATURE_LONG_RESET, |
Uwe Hermann | 1e94fa6 | 2010-08-08 15:52:07 +0000 | [diff] [blame] | 7452 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7453 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7454 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7455 | .block_erasers = |
| 7456 | { |
| 7457 | { |
| 7458 | .eraseblocks = { {128 * 1024, 1} }, |
| 7459 | .block_erase = erase_chip_block_jedec, |
| 7460 | } |
| 7461 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7462 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7463 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7464 | }, |
| 7465 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7466 | { |
| 7467 | .vendor = "Winbond", |
| 7468 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7469 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7470 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7471 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7472 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7473 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7474 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | 3355f06 | 2010-03-24 22:56:23 +0000 | [diff] [blame] | 7475 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7476 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7477 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7478 | .block_erasers = |
| 7479 | { |
| 7480 | { |
| 7481 | .eraseblocks = { {64 * 1024, 8} }, |
| 7482 | .block_erase = erase_sector_jedec, |
| 7483 | }, { |
| 7484 | .eraseblocks = { {512 * 1024, 1} }, |
| 7485 | .block_erase = erase_chip_block_jedec, |
| 7486 | } |
| 7487 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7488 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7489 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7490 | }, |
| 7491 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7492 | { |
| 7493 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7494 | .name = "W39V040(F)B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7495 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7496 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7497 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7498 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7499 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7500 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 8d341b5 | 2010-05-25 23:27:44 +0000 | [diff] [blame] | 7501 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7502 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7503 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7504 | .block_erasers = |
| 7505 | { |
| 7506 | { |
| 7507 | .eraseblocks = { {64 * 1024, 8} }, |
| 7508 | .block_erase = erase_sector_jedec, |
| 7509 | }, { |
| 7510 | .eraseblocks = { {512 * 1024, 1} }, |
| 7511 | .block_erase = erase_chip_block_jedec, |
| 7512 | } |
| 7513 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7514 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7515 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7516 | }, |
| 7517 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7518 | { |
| 7519 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7520 | .name = "W39V040(F)C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7521 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7522 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7523 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7524 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7525 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7526 | .feature_bits = FEATURE_EITHER_RESET, |
| 7527 | .tested = TEST_UNTESTED, |
| 7528 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7529 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7530 | .block_erasers = |
| 7531 | { |
| 7532 | { |
| 7533 | .eraseblocks = { {64 * 1024, 8} }, |
| 7534 | .block_erase = erase_sector_jedec, |
| 7535 | }, { |
| 7536 | .eraseblocks = { {512 * 1024, 1} }, |
| 7537 | .block_erase = erase_chip_block_jedec, |
| 7538 | } |
| 7539 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7540 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7541 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7542 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7543 | }, |
| 7544 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7545 | { |
| 7546 | .vendor = "Winbond", |
| 7547 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7548 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7549 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7550 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7551 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7552 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7553 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | 4178760 | 2010-05-30 17:50:16 +0000 | [diff] [blame] | 7554 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7555 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7556 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7557 | .block_erasers = |
| 7558 | { |
| 7559 | { |
| 7560 | .eraseblocks = { {4 * 1024, 128} }, |
| 7561 | .block_erase = erase_block_jedec, |
| 7562 | }, { |
| 7563 | .eraseblocks = { {64 * 1024, 8} }, |
| 7564 | .block_erase = erase_sector_jedec, |
| 7565 | }, { |
| 7566 | .eraseblocks = { {512 * 1024, 1} }, |
| 7567 | .block_erase = erase_chip_block_jedec, |
| 7568 | } |
| 7569 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7570 | .printlock = printlock_sst_fwhub, |
| 7571 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7572 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7573 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7574 | }, |
| 7575 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7576 | { |
| 7577 | .vendor = "Winbond", |
| 7578 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7579 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7580 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7581 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7582 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7583 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7584 | .feature_bits = FEATURE_EITHER_RESET, |
| 7585 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7586 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7587 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7588 | .block_erasers = |
| 7589 | { |
| 7590 | { |
| 7591 | .eraseblocks = { {64 * 1024, 16} }, |
| 7592 | .block_erase = erase_sector_jedec, |
| 7593 | }, { |
| 7594 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7595 | .block_erase = erase_chip_block_jedec, |
| 7596 | } |
| 7597 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7598 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7599 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7600 | }, |
| 7601 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7602 | { |
| 7603 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7604 | .name = "W49F002U/N", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7605 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7606 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7607 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7608 | .total_size = 256, |
| 7609 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7610 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | 51afebb | 2010-08-01 00:13:49 +0000 | [diff] [blame] | 7611 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7612 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7613 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7614 | .block_erasers = |
| 7615 | { |
| 7616 | { |
| 7617 | .eraseblocks = { |
| 7618 | {128 * 1024, 1}, |
| 7619 | {96 * 1024, 1}, |
| 7620 | {8 * 1024, 2}, |
| 7621 | {16 * 1024, 1}, |
| 7622 | }, |
| 7623 | .block_erase = erase_sector_jedec, |
| 7624 | }, { |
| 7625 | .eraseblocks = { {256 * 1024, 1} }, |
| 7626 | .block_erase = erase_chip_block_jedec, |
| 7627 | } |
| 7628 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7629 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7630 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7631 | }, |
| 7632 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7633 | { |
| 7634 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7635 | .name = "W49F020", |
| 7636 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7637 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7638 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7639 | .total_size = 256, |
| 7640 | .page_size = 128, |
| 7641 | .feature_bits = FEATURE_EITHER_RESET, |
| 7642 | .tested = TEST_OK_PROBE, |
| 7643 | .probe = probe_jedec, |
| 7644 | .probe_timing = 10, |
| 7645 | .block_erasers = |
| 7646 | { |
| 7647 | { |
| 7648 | .eraseblocks = { {256 * 1024, 1} }, |
| 7649 | .block_erase = erase_chip_block_jedec, |
| 7650 | } |
| 7651 | }, |
| 7652 | .write = write_jedec_1, |
| 7653 | .read = read_memmapped, |
| 7654 | }, |
| 7655 | |
| 7656 | { |
| 7657 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7658 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7659 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7660 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7661 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7662 | .total_size = 256, |
| 7663 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7664 | .feature_bits = FEATURE_EITHER_RESET, |
Uwe Hermann | c2521ab | 2010-07-29 22:39:47 +0000 | [diff] [blame] | 7665 | .tested = TEST_OK_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7666 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7667 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7668 | .block_erasers = |
| 7669 | { |
| 7670 | { |
| 7671 | .eraseblocks = { |
| 7672 | {64 * 1024, 3}, |
| 7673 | {32 * 1024, 1}, |
| 7674 | {8 * 1024, 2}, |
| 7675 | {16 * 1024, 1}, |
| 7676 | }, |
| 7677 | .block_erase = erase_sector_jedec, |
| 7678 | }, { |
| 7679 | .eraseblocks = { {256 * 1024, 1} }, |
| 7680 | .block_erase = erase_chip_block_jedec, |
| 7681 | } |
| 7682 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7683 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7684 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7685 | }, |
| 7686 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7687 | { |
| 7688 | .vendor = "Winbond", |
| 7689 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7690 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7691 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7692 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7693 | .total_size = 256, |
| 7694 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7695 | .feature_bits = FEATURE_EITHER_RESET, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 7696 | .tested = TEST_OK_PRW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7697 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7698 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7699 | .block_erasers = |
| 7700 | { |
| 7701 | { |
| 7702 | .eraseblocks = { |
| 7703 | {64 * 1024, 3}, |
| 7704 | {32 * 1024, 1}, |
| 7705 | {8 * 1024, 2}, |
| 7706 | {16 * 1024, 1}, |
| 7707 | }, |
| 7708 | .block_erase = erase_sector_jedec, |
| 7709 | }, { |
| 7710 | .eraseblocks = { {256 * 1024, 1} }, |
| 7711 | .block_erase = erase_chip_block_jedec, |
| 7712 | } |
| 7713 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7714 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7715 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7716 | }, |
| 7717 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7718 | { |
| 7719 | .vendor = "Winbond", |
| 7720 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7721 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7722 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7723 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7724 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7725 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7726 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Uwe Hermann | ea5425b | 2010-05-30 17:00:19 +0000 | [diff] [blame] | 7727 | .tested = TEST_OK_PREW, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7728 | .probe = probe_jedec, |
| 7729 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7730 | .block_erasers = |
| 7731 | { |
| 7732 | { |
| 7733 | .eraseblocks = { {64 * 1024, 16}, }, |
| 7734 | .block_erase = erase_sector_jedec, |
| 7735 | }, { |
| 7736 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7737 | .block_erase = erase_chip_block_jedec, |
| 7738 | } |
| 7739 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7740 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7741 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7742 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7743 | }, |
| 7744 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7745 | { |
| 7746 | .vendor = "Winbond", |
| 7747 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7748 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7749 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7750 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7751 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7752 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7753 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7754 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7755 | .probe = probe_jedec, |
| 7756 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7757 | .block_erasers = |
| 7758 | { |
| 7759 | { |
| 7760 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7761 | .block_erase = erase_sector_jedec, |
| 7762 | }, { |
| 7763 | .eraseblocks = { {512 * 1024, 1} }, |
| 7764 | .block_erase = erase_chip_block_jedec, |
| 7765 | } |
| 7766 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7767 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7768 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7769 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7770 | }, |
| 7771 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7772 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 7773 | .vendor = "AMIC", |
| 7774 | .name = "unknown AMIC SPI chip", |
| 7775 | .bustype = CHIP_BUSTYPE_SPI, |
| 7776 | .manufacture_id = AMIC_ID, |
| 7777 | .model_id = GENERIC_DEVICE_ID, |
| 7778 | .total_size = 0, |
| 7779 | .page_size = 256, |
| 7780 | .tested = TEST_BAD_PREW, |
| 7781 | .probe = probe_spi_rdid4, |
| 7782 | .probe_timing = TIMING_ZERO, |
| 7783 | .write = NULL, |
| 7784 | .read = NULL, |
| 7785 | }, |
| 7786 | |
| 7787 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7788 | .vendor = "Atmel", |
| 7789 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7790 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7791 | .manufacture_id = ATMEL_ID, |
| 7792 | .model_id = GENERIC_DEVICE_ID, |
| 7793 | .total_size = 0, |
| 7794 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7795 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7796 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7797 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7798 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7799 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7800 | }, |
| 7801 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7802 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 7803 | .vendor = "Eon", |
| 7804 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7805 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7806 | .manufacture_id = EON_ID_NOPREFIX, |
| 7807 | .model_id = GENERIC_DEVICE_ID, |
| 7808 | .total_size = 0, |
| 7809 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7810 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7811 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7812 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7813 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7814 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7815 | }, |
| 7816 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7817 | { |
| 7818 | .vendor = "Macronix", |
| 7819 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7820 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7821 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7822 | .model_id = GENERIC_DEVICE_ID, |
| 7823 | .total_size = 0, |
| 7824 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7825 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7826 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7827 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7828 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7829 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7830 | }, |
| 7831 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7832 | { |
| 7833 | .vendor = "PMC", |
| 7834 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7835 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7836 | .manufacture_id = PMC_ID, |
| 7837 | .model_id = GENERIC_DEVICE_ID, |
| 7838 | .total_size = 0, |
| 7839 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7840 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7841 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7842 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7843 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7844 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7845 | }, |
| 7846 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7847 | { |
| 7848 | .vendor = "SST", |
| 7849 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7850 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7851 | .manufacture_id = SST_ID, |
| 7852 | .model_id = GENERIC_DEVICE_ID, |
| 7853 | .total_size = 0, |
| 7854 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7855 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7856 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7857 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7858 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7859 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7860 | }, |
| 7861 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7862 | { |
| 7863 | .vendor = "ST", |
| 7864 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7865 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7866 | .manufacture_id = ST_ID, |
| 7867 | .model_id = GENERIC_DEVICE_ID, |
| 7868 | .total_size = 0, |
| 7869 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7870 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7871 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7872 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7873 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7874 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7875 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 7876 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7877 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7878 | .vendor = "Sanyo", |
| 7879 | .name = "unknown Sanyo SPI chip", |
| 7880 | .bustype = CHIP_BUSTYPE_SPI, |
| 7881 | .manufacture_id = SANYO_ID, |
| 7882 | .model_id = GENERIC_DEVICE_ID, |
| 7883 | .total_size = 0, |
| 7884 | .page_size = 256, |
| 7885 | .tested = TEST_BAD_PREW, |
| 7886 | .probe = probe_spi_rdid, |
| 7887 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7888 | .write = NULL, |
| 7889 | .read = NULL, |
| 7890 | }, |
| 7891 | |
| 7892 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7893 | .vendor = "Generic", |
| 7894 | .name = "unknown SPI chip (RDID)", |
| 7895 | .bustype = CHIP_BUSTYPE_SPI, |
| 7896 | .manufacture_id = GENERIC_MANUF_ID, |
| 7897 | .model_id = GENERIC_DEVICE_ID, |
| 7898 | .total_size = 0, |
| 7899 | .page_size = 256, |
| 7900 | .tested = TEST_BAD_PREW, |
| 7901 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7902 | .write = NULL, |
| 7903 | }, |
| 7904 | { |
| 7905 | .vendor = "Generic", |
| 7906 | .name = "unknown SPI chip (REMS)", |
| 7907 | .bustype = CHIP_BUSTYPE_SPI, |
| 7908 | .manufacture_id = GENERIC_MANUF_ID, |
| 7909 | .model_id = GENERIC_DEVICE_ID, |
| 7910 | .total_size = 0, |
| 7911 | .page_size = 256, |
| 7912 | .tested = TEST_BAD_PREW, |
| 7913 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7914 | .write = NULL, |
| 7915 | }, |
| 7916 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7917 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 7918 | }; |