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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 68 | .tested = TEST_OK_PRE, |
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 | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 234 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 480 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 512 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 544 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 611 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 930 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 987 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1199 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1661 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1888 | .tested = TEST_OK_PRE, |
Andrew Morgan | 1a5eaa1 | 2010-06-07 14:10:55 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 1942 | .tested = TEST_OK_PR, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2747 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2846 | .tested = TEST_OK_PRE, |
Russ Dill | 3cd5a12 | 2010-03-05 08:44:11 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2873 | .tested = TEST_OK_PR, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 2904 | .tested = TEST_OK_PR, |
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 | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 2998 | .tested = TEST_UNTESTED, |
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 | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 3016 | .write = write_m29f400bt, |
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 */ |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3060 | .tested = TEST_OK_PRE, |
David Borg | c96a8bd | 2010-06-21 16:12:22 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3199 | .tested = TEST_OK_PRE, |
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 | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3513 | .tested = TEST_OK_PR, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3549 | .tested = TEST_OK_PRE, |
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 | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3585 | .tested = TEST_OK_PR, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3687 | .tested = TEST_OK_PR, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 3914 | .tested = TEST_OK_PR, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4265 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4510 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4572 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4659 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4689 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4776 | .tested = TEST_OK_PRE, |
Michael Karcher | 23ff460 | 2010-01-12 23:29:30 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4802 | .tested = TEST_OK_PR, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4828 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4863 | .tested = TEST_OK_PRE, |
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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 4898 | .tested = TEST_OK_PRE, |
Ed Swierk | 86f4e6d | 2010-07-21 15:02:22 +0000 | [diff] [blame] | 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, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5061 | .tested = TEST_OK_PRE, |
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 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5110 | .unlock = unprotect_28sf040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5111 | .write = write_28sf040, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5112 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5113 | }, |
| 5114 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5115 | { |
| 5116 | .vendor = "SST", |
| 5117 | .name = "SST29EE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5118 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5119 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5120 | .model_id = SST_SST29EE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5121 | .total_size = 128, |
| 5122 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5123 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5124 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5125 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5126 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5127 | .block_erasers = |
| 5128 | { |
| 5129 | { |
| 5130 | .eraseblocks = { {128 * 1024, 1} }, |
| 5131 | .block_erase = erase_chip_block_jedec, |
| 5132 | } |
| 5133 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5134 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5135 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5136 | }, |
| 5137 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5138 | { |
| 5139 | .vendor = "SST", |
| 5140 | .name = "SST29LE010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5141 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5142 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5143 | .model_id = SST_SST29LE010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5144 | .total_size = 128, |
| 5145 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5146 | .feature_bits = FEATURE_LONG_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5147 | .tested = TEST_UNTESTED, |
| 5148 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5149 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5150 | .block_erasers = |
| 5151 | { |
| 5152 | { |
| 5153 | .eraseblocks = { {128 * 1024, 1} }, |
| 5154 | .block_erase = erase_chip_block_jedec, |
| 5155 | } |
| 5156 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5157 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5158 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5159 | }, |
| 5160 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5161 | { |
| 5162 | .vendor = "SST", |
| 5163 | .name = "SST29EE020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5164 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5165 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5166 | .model_id = SST_SST29EE020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5167 | .total_size = 256, |
| 5168 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5169 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5170 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5171 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 5172 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5173 | .block_erasers = |
| 5174 | { |
| 5175 | { |
| 5176 | .eraseblocks = { {256 * 1024, 1} }, |
| 5177 | .block_erase = erase_chip_block_jedec, |
| 5178 | } |
| 5179 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5180 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5181 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5182 | }, |
| 5183 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5184 | { |
| 5185 | .vendor = "SST", |
| 5186 | .name = "SST29LE020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5187 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5188 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5189 | .model_id = SST_SST29LE020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5190 | .total_size = 256, |
| 5191 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5192 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5193 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5194 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5195 | .probe_timing = 10, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5196 | .block_erasers = |
| 5197 | { |
| 5198 | { |
| 5199 | .eraseblocks = { {256 * 1024, 1} }, |
| 5200 | .block_erase = erase_chip_block_jedec, |
| 5201 | } |
| 5202 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5203 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5204 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5205 | }, |
| 5206 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5207 | { |
| 5208 | .vendor = "SST", |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5209 | .name = "SST39SF512", |
| 5210 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 5211 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5212 | .model_id = SST_SST39SF512, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5213 | .total_size = 64, |
| 5214 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5215 | .feature_bits = FEATURE_EITHER_RESET, |
| 5216 | .tested = TEST_UNTESTED, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5217 | .probe = probe_jedec, |
| 5218 | .probe_timing = 1, /* 150 ns */ |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5219 | .block_erasers = |
| 5220 | { |
| 5221 | { |
| 5222 | .eraseblocks = { {4 * 1024, 16} }, |
| 5223 | .block_erase = erase_sector_jedec, |
| 5224 | }, { |
| 5225 | .eraseblocks = { {64 * 1024, 1} }, |
| 5226 | .block_erase = erase_chip_block_jedec, |
| 5227 | } |
| 5228 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5229 | .write = write_jedec_1, |
Uwe Hermann | 48da3f9 | 2010-01-23 15:15:19 +0000 | [diff] [blame] | 5230 | .read = read_memmapped, |
| 5231 | }, |
| 5232 | |
| 5233 | { |
| 5234 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5235 | .name = "SST39SF010A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5236 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5237 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5238 | .model_id = SST_SST39SF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5239 | .total_size = 128, |
| 5240 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5241 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5242 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5243 | .probe = probe_jedec, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5244 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5245 | .block_erasers = |
| 5246 | { |
| 5247 | { |
| 5248 | .eraseblocks = { {4 * 1024, 32} }, |
| 5249 | .block_erase = erase_sector_jedec, |
| 5250 | }, { |
| 5251 | .eraseblocks = { {128 * 1024, 1} }, |
| 5252 | .block_erase = erase_chip_block_jedec, |
| 5253 | } |
| 5254 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5255 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5256 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5257 | }, |
| 5258 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5259 | { |
| 5260 | .vendor = "SST", |
| 5261 | .name = "SST39SF020A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5262 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5263 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5264 | .model_id = SST_SST39SF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5265 | .total_size = 256, |
| 5266 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5267 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5268 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5269 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5270 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5271 | .block_erasers = |
| 5272 | { |
| 5273 | { |
| 5274 | .eraseblocks = { {4 * 1024, 64} }, |
| 5275 | .block_erase = erase_sector_jedec, |
| 5276 | }, { |
| 5277 | .eraseblocks = { {256 * 1024, 1} }, |
| 5278 | .block_erase = erase_chip_block_jedec, |
| 5279 | } |
| 5280 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5281 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5282 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5283 | }, |
| 5284 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5285 | { |
| 5286 | .vendor = "SST", |
| 5287 | .name = "SST39SF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5288 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5289 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5290 | .model_id = SST_SST39SF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5291 | .total_size = 512, |
| 5292 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5293 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5294 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5295 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5296 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5297 | .block_erasers = |
| 5298 | { |
| 5299 | { |
| 5300 | .eraseblocks = { {4 * 1024, 128} }, |
| 5301 | .block_erase = erase_sector_jedec, |
| 5302 | }, { |
| 5303 | .eraseblocks = { {512 * 1024, 1} }, |
| 5304 | .block_erase = erase_chip_block_jedec, |
| 5305 | } |
| 5306 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5307 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5308 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5309 | }, |
| 5310 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5311 | { |
| 5312 | .vendor = "SST", |
| 5313 | .name = "SST39VF512", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5314 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5315 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5316 | .model_id = SST_SST39VF512, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5317 | .total_size = 64, |
| 5318 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5319 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5320 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5321 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5322 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5323 | .block_erasers = |
| 5324 | { |
| 5325 | { |
| 5326 | .eraseblocks = { {4 * 1024, 16} }, |
| 5327 | .block_erase = erase_sector_jedec, |
| 5328 | }, { |
| 5329 | .eraseblocks = { {64 * 1024, 1} }, |
| 5330 | .block_erase = erase_chip_block_jedec, |
| 5331 | } |
| 5332 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5333 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5334 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5335 | }, |
| 5336 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5337 | { |
| 5338 | .vendor = "SST", |
| 5339 | .name = "SST39VF010", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5340 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5341 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5342 | .model_id = SST_SST39VF010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5343 | .total_size = 128, |
| 5344 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5345 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5346 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5347 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5348 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5349 | .block_erasers = |
| 5350 | { |
| 5351 | { |
| 5352 | .eraseblocks = { {4 * 1024, 32} }, |
| 5353 | .block_erase = erase_sector_jedec, |
| 5354 | }, { |
| 5355 | .eraseblocks = { {128 * 1024, 1} }, |
| 5356 | .block_erase = erase_chip_block_jedec, |
| 5357 | } |
| 5358 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5359 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5360 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5361 | }, |
| 5362 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5363 | { |
| 5364 | .vendor = "SST", |
| 5365 | .name = "SST39VF020", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5366 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5367 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5368 | .model_id = SST_SST39VF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5369 | .total_size = 256, |
| 5370 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5371 | .feature_bits = FEATURE_EITHER_RESET, |
| 5372 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5373 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5374 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5375 | .block_erasers = |
| 5376 | { |
| 5377 | { |
| 5378 | .eraseblocks = { {4 * 1024, 64} }, |
| 5379 | .block_erase = erase_sector_jedec, |
| 5380 | }, { |
| 5381 | .eraseblocks = { {256 * 1024, 1} }, |
| 5382 | .block_erase = erase_chip_block_jedec, |
| 5383 | } |
| 5384 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5385 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5386 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5387 | }, |
| 5388 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5389 | { |
| 5390 | .vendor = "SST", |
| 5391 | .name = "SST39VF040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5392 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5393 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5394 | .model_id = SST_SST39VF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5395 | .total_size = 512, |
| 5396 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5397 | .feature_bits = FEATURE_EITHER_RESET, |
| 5398 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5399 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5400 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5401 | .block_erasers = |
| 5402 | { |
| 5403 | { |
| 5404 | .eraseblocks = { {4 * 1024, 128} }, |
| 5405 | .block_erase = erase_sector_jedec, |
| 5406 | }, { |
| 5407 | .eraseblocks = { {512 * 1024, 1} }, |
| 5408 | .block_erase = erase_chip_block_jedec, |
| 5409 | } |
| 5410 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5411 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5412 | .read = read_memmapped, |
Carl-Daniel Hailfinger | 90eff15 | 2008-12-08 23:51:45 +0000 | [diff] [blame] | 5413 | }, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5414 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5415 | { |
| 5416 | .vendor = "SST", |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5417 | .name = "SST39VF080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5418 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5419 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5420 | .model_id = SST_SST39VF080, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5421 | .total_size = 1024, |
| 5422 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5423 | .feature_bits = FEATURE_EITHER_RESET, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5424 | .tested = TEST_UNTESTED, |
| 5425 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5426 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5427 | .block_erasers = |
| 5428 | { |
| 5429 | { |
| 5430 | .eraseblocks = { {4 * 1024, 256} }, |
| 5431 | .block_erase = erase_sector_jedec, |
| 5432 | }, { |
| 5433 | .eraseblocks = { {64 * 1024, 16} }, |
| 5434 | .block_erase = erase_block_jedec, |
| 5435 | }, { |
| 5436 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5437 | .block_erase = erase_chip_block_jedec, |
| 5438 | } |
| 5439 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5440 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5441 | .read = read_memmapped, |
Peter Stuge | 8440cc0 | 2009-01-25 23:55:12 +0000 | [diff] [blame] | 5442 | }, |
| 5443 | |
| 5444 | { |
| 5445 | .vendor = "SST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5446 | .name = "SST49LF002A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5447 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5448 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5449 | .model_id = SST_SST49LF002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5450 | .total_size = 256, |
| 5451 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5452 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5453 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5454 | .probe = probe_jedec, |
| 5455 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5456 | .block_erasers = |
| 5457 | { |
| 5458 | { |
| 5459 | .eraseblocks = { {4 * 1024, 64} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5460 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5461 | }, { |
| 5462 | .eraseblocks = { {16 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5463 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5464 | }, { |
| 5465 | .eraseblocks = { {256 * 1024, 1} }, |
| 5466 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5467 | } |
| 5468 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5469 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5470 | .unlock = unlock_sst_fwhub, |
| 5471 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5472 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5473 | }, |
| 5474 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5475 | { |
| 5476 | .vendor = "SST", |
| 5477 | .name = "SST49LF003A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5478 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5479 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5480 | .model_id = SST_SST49LF003A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5481 | .total_size = 384, |
| 5482 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5483 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Peter Lemenkov | 45835c4 | 2009-09-25 01:09:18 +0000 | [diff] [blame] | 5484 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5485 | .probe = probe_jedec, |
| 5486 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5487 | .block_erasers = |
| 5488 | { |
| 5489 | { |
| 5490 | .eraseblocks = { {4 * 1024, 96} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5491 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5492 | }, { |
| 5493 | .eraseblocks = { {64 * 1024, 6} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5494 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5495 | }, { |
| 5496 | .eraseblocks = { {384 * 1024, 1} }, |
| 5497 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5498 | } |
| 5499 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5500 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5501 | .unlock = unlock_sst_fwhub, |
| 5502 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5503 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5504 | }, |
| 5505 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5506 | { |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5507 | /* Contrary to the data sheet, TBL# on the SST49LF004B affects the top 128kB (instead of 64kB) |
| 5508 | * and is only honored for 64k block erase, but not 4k sector erase. |
| 5509 | */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5510 | .vendor = "SST", |
| 5511 | .name = "SST49LF004A/B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5512 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5513 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5514 | .model_id = SST_SST49LF004A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5515 | .total_size = 512, |
| 5516 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5517 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5518 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5519 | .probe = probe_jedec, |
| 5520 | .probe_timing = 1, /* 150 ns */ |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5521 | .block_erasers = |
| 5522 | { |
| 5523 | { |
| 5524 | .eraseblocks = { {4 * 1024, 128} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5525 | .block_erase = erase_sector_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5526 | }, { |
| 5527 | .eraseblocks = { {64 * 1024, 8} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5528 | .block_erase = erase_block_jedec, |
Carl-Daniel Hailfinger | a06287c | 2009-09-23 22:01:33 +0000 | [diff] [blame] | 5529 | }, { |
| 5530 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5531 | .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] | 5532 | }, |
| 5533 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5534 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5535 | .unlock = unlock_sst_fwhub, |
| 5536 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5537 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5538 | }, |
| 5539 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5540 | { |
| 5541 | .vendor = "SST", |
| 5542 | .name = "SST49LF004C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5543 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5544 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5545 | .model_id = SST_SST49LF004C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5546 | .total_size = 512, |
| 5547 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5548 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5549 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5550 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5551 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5552 | .block_erasers = |
| 5553 | { |
| 5554 | { |
| 5555 | .eraseblocks = { {4 * 1024, 128} }, |
| 5556 | .block_erase = erase_sector_49lfxxxc, |
| 5557 | }, { |
| 5558 | .eraseblocks = { |
| 5559 | {64 * 1024, 7}, |
| 5560 | {32 * 1024, 1}, |
| 5561 | {8 * 1024, 2}, |
| 5562 | {16 * 1024, 1}, |
| 5563 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5564 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5565 | } |
| 5566 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5567 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5568 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5569 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5570 | }, |
| 5571 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5572 | { |
| 5573 | .vendor = "SST", |
| 5574 | .name = "SST49LF008A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5575 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5576 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5577 | .model_id = SST_SST49LF008A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5578 | .total_size = 1024, |
| 5579 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5580 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5581 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5582 | .probe = probe_jedec, |
| 5583 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5584 | .block_erasers = |
| 5585 | { |
| 5586 | { |
| 5587 | .eraseblocks = { {4 * 1024, 256} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5588 | .block_erase = erase_sector_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5589 | }, { |
| 5590 | .eraseblocks = { {64 * 1024, 16} }, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5591 | .block_erase = erase_block_jedec, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5592 | }, { |
| 5593 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5594 | .block_erase = NULL, /* AA 55 80 AA 55 10, only in A/A mux mode */ |
| 5595 | } |
| 5596 | }, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5597 | .printlock = printlock_sst_fwhub, |
Sean Nelson | ccf7a2a | 2010-03-16 03:09:10 +0000 | [diff] [blame] | 5598 | .unlock = unlock_sst_fwhub, |
| 5599 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5600 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5601 | }, |
| 5602 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5603 | { |
| 5604 | .vendor = "SST", |
| 5605 | .name = "SST49LF008C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5606 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5607 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5608 | .model_id = SST_SST49LF008C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5609 | .total_size = 1024, |
| 5610 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5611 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5612 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5613 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5614 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5615 | .block_erasers = |
| 5616 | { |
| 5617 | { |
| 5618 | .eraseblocks = { {4 * 1024, 256} }, |
| 5619 | .block_erase = erase_sector_49lfxxxc, |
| 5620 | }, { |
| 5621 | .eraseblocks = { |
| 5622 | {64 * 1024, 15}, |
| 5623 | {32 * 1024, 1}, |
| 5624 | {8 * 1024, 2}, |
| 5625 | {16 * 1024, 1}, |
| 5626 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5627 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5628 | } |
| 5629 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5630 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5631 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5632 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5633 | }, |
| 5634 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5635 | { |
| 5636 | .vendor = "SST", |
| 5637 | .name = "SST49LF016C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5638 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5639 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5640 | .model_id = SST_SST49LF016C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5641 | .total_size = 2048, |
| 5642 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5643 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5644 | .tested = TEST_OK_PR, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5645 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5646 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5647 | .block_erasers = |
| 5648 | { |
| 5649 | { |
| 5650 | .eraseblocks = { {4 * 1024, 512} }, |
| 5651 | .block_erase = erase_sector_49lfxxxc, |
| 5652 | }, { |
| 5653 | .eraseblocks = { |
| 5654 | {64 * 1024, 31}, |
| 5655 | {32 * 1024, 1}, |
| 5656 | {8 * 1024, 2}, |
| 5657 | {16 * 1024, 1}, |
| 5658 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5659 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5660 | } |
| 5661 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5662 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5663 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5664 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5665 | }, |
| 5666 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5667 | { |
| 5668 | .vendor = "SST", |
| 5669 | .name = "SST49LF020", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5670 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5671 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5672 | .model_id = SST_SST49LF020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5673 | .total_size = 256, |
| 5674 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5675 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5676 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5677 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5678 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5679 | .block_erasers = |
| 5680 | { |
| 5681 | { |
| 5682 | .eraseblocks = { {4 * 1024, 64} }, |
| 5683 | .block_erase = erase_sector_jedec, |
| 5684 | }, { |
| 5685 | .eraseblocks = { {16 * 1024, 16} }, |
| 5686 | .block_erase = erase_block_jedec, |
| 5687 | }, { |
| 5688 | .eraseblocks = { {256 * 1024, 1} }, |
| 5689 | .block_erase = NULL, |
| 5690 | } |
| 5691 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5692 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5693 | .read = read_memmapped, |
Sven Schnelle | c208dfb | 2009-01-07 12:35:09 +0000 | [diff] [blame] | 5694 | }, |
| 5695 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5696 | { |
| 5697 | .vendor = "SST", |
| 5698 | .name = "SST49LF020A", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5699 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5700 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5701 | .model_id = SST_SST49LF020A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5702 | .total_size = 256, |
Carl-Daniel Hailfinger | da65432 | 2009-07-23 01:44:38 +0000 | [diff] [blame] | 5703 | .page_size = 4 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5704 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5705 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5706 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5707 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5708 | .block_erasers = |
| 5709 | { |
| 5710 | { |
| 5711 | .eraseblocks = { {4 * 1024, 64} }, |
| 5712 | .block_erase = erase_sector_jedec, |
| 5713 | }, { |
| 5714 | .eraseblocks = { {16 * 1024, 16} }, |
| 5715 | .block_erase = erase_block_jedec, |
| 5716 | }, { |
| 5717 | .eraseblocks = { {256 * 1024, 1} }, |
| 5718 | .block_erase = NULL, |
| 5719 | } |
| 5720 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5721 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5722 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5723 | }, |
| 5724 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5725 | { |
| 5726 | .vendor = "SST", |
| 5727 | .name = "SST49LF040", |
Mateusz Murawski | e33890d | 2009-06-12 11:45:10 +0000 | [diff] [blame] | 5728 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5729 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5730 | .model_id = SST_SST49LF040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5731 | .total_size = 512, |
| 5732 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5733 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5734 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5735 | .probe = probe_jedec, |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 5736 | .probe_timing = 1, /* 150 ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5737 | .block_erasers = |
| 5738 | { |
| 5739 | { |
| 5740 | .eraseblocks = { {4 * 1024, 128} }, |
| 5741 | .block_erase = erase_sector_jedec, |
| 5742 | }, { |
| 5743 | .eraseblocks = { {64 * 1024, 8} }, |
| 5744 | .block_erase = erase_block_jedec, |
| 5745 | }, { |
| 5746 | .eraseblocks = { {512 * 1024, 1} }, |
| 5747 | .block_erase = NULL, |
| 5748 | } |
| 5749 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5750 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5751 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5752 | }, |
| 5753 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5754 | { |
| 5755 | .vendor = "SST", |
| 5756 | .name = "SST49LF040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5757 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5758 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5759 | .model_id = SST_SST49LF040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5760 | .total_size = 512, |
| 5761 | .page_size = 64 * 1024, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5762 | .feature_bits = FEATURE_EITHER_RESET | FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5763 | .tested = TEST_OK_PRE, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5764 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5765 | .probe_timing = 1, /* 150ns */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5766 | .block_erasers = |
| 5767 | { |
| 5768 | { |
| 5769 | .eraseblocks = { {4 * 1024, 128} }, |
| 5770 | .block_erase = erase_sector_jedec, |
| 5771 | }, { |
| 5772 | .eraseblocks = { {64 * 1024, 8} }, |
| 5773 | .block_erase = erase_block_jedec, |
| 5774 | }, { |
| 5775 | .eraseblocks = { {512 * 1024, 1} }, |
| 5776 | .block_erase = NULL, |
| 5777 | } |
| 5778 | }, |
Joshua Roys | a84b0bd | 2010-08-16 22:12:39 +0000 | [diff] [blame] | 5779 | .unlock = unlock_82802ab, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5780 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5781 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5782 | }, |
| 5783 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5784 | { |
| 5785 | .vendor = "SST", |
| 5786 | .name = "SST49LF080A", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5787 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5788 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5789 | .model_id = SST_SST49LF080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5790 | .total_size = 1024, |
| 5791 | .page_size = 4096, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5792 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5793 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5794 | .probe = probe_jedec, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5795 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5796 | .block_erasers = |
| 5797 | { |
| 5798 | { |
| 5799 | .eraseblocks = { {4 * 1024, 256} }, |
| 5800 | .block_erase = erase_sector_jedec, |
| 5801 | }, { |
| 5802 | .eraseblocks = { {64 * 1024, 16} }, |
| 5803 | .block_erase = erase_block_jedec, |
| 5804 | }, { |
| 5805 | .eraseblocks = { {1024 * 1024, 1} }, |
| 5806 | .block_erase = NULL, |
| 5807 | } |
| 5808 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 5809 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5810 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5811 | }, |
| 5812 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5813 | { |
| 5814 | .vendor = "SST", |
| 5815 | .name = "SST49LF160C", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 5816 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5817 | .manufacture_id = SST_ID, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 5818 | .model_id = SST_SST49LF160C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5819 | .total_size = 2048, |
| 5820 | .page_size = 4 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5821 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5822 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 5823 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 5824 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5825 | .block_erasers = |
| 5826 | { |
| 5827 | { |
| 5828 | .eraseblocks = { {4 * 1024, 512} }, |
| 5829 | .block_erase = erase_sector_49lfxxxc, |
| 5830 | }, { |
| 5831 | .eraseblocks = { |
| 5832 | {64 * 1024, 31}, |
| 5833 | {32 * 1024, 1}, |
| 5834 | {8 * 1024, 2}, |
| 5835 | {16 * 1024, 1}, |
| 5836 | }, |
Sean Nelson | 69e5811 | 2010-03-23 17:10:28 +0000 | [diff] [blame] | 5837 | .block_erase = erase_block_82802ab, |
Sean Nelson | 51c83fb | 2010-01-20 20:55:53 +0000 | [diff] [blame] | 5838 | } |
| 5839 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 5840 | .unlock = unlock_49lfxxxc, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 5841 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 5842 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5843 | }, |
| 5844 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5845 | { |
| 5846 | .vendor = "ST", |
| 5847 | .name = "M25P05-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5848 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5849 | .manufacture_id = ST_ID, |
| 5850 | .model_id = ST_M25P05A, |
| 5851 | .total_size = 64, |
| 5852 | .page_size = 256, |
| 5853 | .tested = TEST_UNTESTED, |
| 5854 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5855 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5856 | .block_erasers = |
| 5857 | { |
| 5858 | { |
| 5859 | .eraseblocks = { {32 * 1024, 2} }, |
| 5860 | .block_erase = spi_block_erase_d8, |
| 5861 | }, { |
| 5862 | .eraseblocks = { {64 * 1024, 1} }, |
| 5863 | .block_erase = spi_block_erase_c7, |
| 5864 | } |
| 5865 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5866 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5867 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5868 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5869 | }, |
| 5870 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5871 | /* The ST M25P05 is a bit of a problem. It has the same ID as the |
| 5872 | * 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] | 5873 | * 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] | 5874 | * only is successful if RDID does not work. |
| 5875 | */ |
| 5876 | { |
| 5877 | .vendor = "ST", |
| 5878 | .name = "M25P05.RES", |
| 5879 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5880 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5881 | .model_id = ST_M25P05_RES, |
| 5882 | .total_size = 64, |
| 5883 | .page_size = 256, |
| 5884 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5885 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5886 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5887 | .block_erasers = |
| 5888 | { |
| 5889 | { |
| 5890 | .eraseblocks = { {32 * 1024, 2} }, |
| 5891 | .block_erase = spi_block_erase_d8, |
| 5892 | }, { |
| 5893 | .eraseblocks = { {64 * 1024, 1} }, |
| 5894 | .block_erase = spi_block_erase_c7, |
| 5895 | } |
| 5896 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5897 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5898 | .write = spi_chip_write_1, /* 128 */ |
| 5899 | .read = spi_chip_read, |
| 5900 | }, |
| 5901 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5902 | { |
| 5903 | .vendor = "ST", |
| 5904 | .name = "M25P10-A", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5905 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5906 | .manufacture_id = ST_ID, |
| 5907 | .model_id = ST_M25P10A, |
| 5908 | .total_size = 128, |
| 5909 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5910 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5911 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5912 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5913 | .block_erasers = |
| 5914 | { |
| 5915 | { |
| 5916 | .eraseblocks = { {32 * 1024, 4} }, |
| 5917 | .block_erase = spi_block_erase_d8, |
| 5918 | }, { |
| 5919 | .eraseblocks = { {128 * 1024, 1} }, |
| 5920 | .block_erase = spi_block_erase_c7, |
| 5921 | } |
| 5922 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5923 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5924 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5925 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5926 | }, |
| 5927 | |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5928 | /* The ST M25P10 has the same problem as the M25P05. */ |
| 5929 | { |
| 5930 | .vendor = "ST", |
| 5931 | .name = "M25P10.RES", |
| 5932 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5933 | .manufacture_id = 0, /* Not used. */ |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5934 | .model_id = ST_M25P10_RES, |
| 5935 | .total_size = 128, |
| 5936 | .page_size = 256, |
| 5937 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 5938 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5939 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5940 | .block_erasers = |
| 5941 | { |
| 5942 | { |
| 5943 | .eraseblocks = { {32 * 1024, 4} }, |
| 5944 | .block_erase = spi_block_erase_d8, |
| 5945 | }, { |
| 5946 | .eraseblocks = { {128 * 1024, 1} }, |
| 5947 | .block_erase = spi_block_erase_c7, |
| 5948 | } |
| 5949 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5950 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 32961be | 2009-07-23 01:40:20 +0000 | [diff] [blame] | 5951 | .write = spi_chip_write_1, /* 128 */ |
| 5952 | .read = spi_chip_read, |
| 5953 | }, |
| 5954 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5955 | { |
| 5956 | .vendor = "ST", |
| 5957 | .name = "M25P20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5958 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5959 | .manufacture_id = ST_ID, |
| 5960 | .model_id = ST_M25P20, |
| 5961 | .total_size = 256, |
| 5962 | .page_size = 256, |
| 5963 | .tested = TEST_UNTESTED, |
| 5964 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5965 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5966 | .block_erasers = |
| 5967 | { |
| 5968 | { |
| 5969 | .eraseblocks = { {64 * 1024, 4} }, |
| 5970 | .block_erase = spi_block_erase_d8, |
| 5971 | }, { |
| 5972 | .eraseblocks = { {256 * 1024, 1} }, |
| 5973 | .block_erase = spi_block_erase_c7, |
| 5974 | } |
| 5975 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 5976 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 5977 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5978 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 5979 | }, |
| 5980 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5981 | { |
| 5982 | .vendor = "ST", |
| 5983 | .name = "M25P40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 5984 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5985 | .manufacture_id = ST_ID, |
| 5986 | .model_id = ST_M25P40, |
| 5987 | .total_size = 512, |
| 5988 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 5989 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 5990 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 5991 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 5992 | .block_erasers = |
| 5993 | { |
| 5994 | { |
| 5995 | .eraseblocks = { {64 * 1024, 8} }, |
| 5996 | .block_erase = spi_block_erase_d8, |
| 5997 | }, { |
| 5998 | .eraseblocks = { {512 * 1024, 1} }, |
| 5999 | .block_erase = spi_block_erase_c7, |
| 6000 | } |
| 6001 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6002 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6003 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6004 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6005 | }, |
| 6006 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6007 | { |
| 6008 | .vendor = "ST", |
| 6009 | .name = "M25P40-old", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6010 | .bustype = CHIP_BUSTYPE_SPI, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6011 | .manufacture_id = 0, /* Not used. */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6012 | .model_id = ST_M25P40_RES, |
| 6013 | .total_size = 512, |
| 6014 | .page_size = 256, |
| 6015 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | dc1cda1 | 2010-05-28 17:07:57 +0000 | [diff] [blame] | 6016 | .probe = probe_spi_res1, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6017 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6018 | .block_erasers = |
| 6019 | { |
| 6020 | { |
| 6021 | .eraseblocks = { {64 * 1024, 8} }, |
| 6022 | .block_erase = spi_block_erase_d8, |
| 6023 | }, { |
| 6024 | .eraseblocks = { {512 * 1024, 1} }, |
| 6025 | .block_erase = spi_block_erase_c7, |
| 6026 | } |
| 6027 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6028 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6029 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6030 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6031 | }, |
| 6032 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6033 | { |
| 6034 | .vendor = "ST", |
| 6035 | .name = "M25P80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6036 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6037 | .manufacture_id = ST_ID, |
| 6038 | .model_id = ST_M25P80, |
| 6039 | .total_size = 1024, |
| 6040 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6041 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6042 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6043 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6044 | .block_erasers = |
| 6045 | { |
| 6046 | { |
| 6047 | .eraseblocks = { {64 * 1024, 16} }, |
| 6048 | .block_erase = spi_block_erase_d8, |
| 6049 | }, { |
| 6050 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6051 | .block_erase = spi_block_erase_c7, |
| 6052 | } |
| 6053 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6054 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6055 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6056 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6057 | }, |
| 6058 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6059 | { |
| 6060 | .vendor = "ST", |
| 6061 | .name = "M25P16", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6062 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6063 | .manufacture_id = ST_ID, |
| 6064 | .model_id = ST_M25P16, |
| 6065 | .total_size = 2048, |
| 6066 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6067 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6068 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6069 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6070 | .block_erasers = |
| 6071 | { |
| 6072 | { |
| 6073 | .eraseblocks = { {64 * 1024, 32} }, |
| 6074 | .block_erase = spi_block_erase_d8, |
| 6075 | }, { |
| 6076 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6077 | .block_erase = spi_block_erase_c7, |
| 6078 | } |
| 6079 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6080 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6081 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6082 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6083 | }, |
| 6084 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6085 | { |
| 6086 | .vendor = "ST", |
| 6087 | .name = "M25P32", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6088 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6089 | .manufacture_id = ST_ID, |
| 6090 | .model_id = ST_M25P32, |
| 6091 | .total_size = 4096, |
| 6092 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6093 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6094 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6095 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6096 | .block_erasers = |
| 6097 | { |
| 6098 | { |
| 6099 | .eraseblocks = { {64 * 1024, 64} }, |
| 6100 | .block_erase = spi_block_erase_d8, |
| 6101 | }, { |
| 6102 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6103 | .block_erase = spi_block_erase_c7, |
| 6104 | } |
| 6105 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6106 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6107 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6108 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6109 | }, |
| 6110 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6111 | { |
| 6112 | .vendor = "ST", |
| 6113 | .name = "M25P64", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6114 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6115 | .manufacture_id = ST_ID, |
| 6116 | .model_id = ST_M25P64, |
| 6117 | .total_size = 8192, |
| 6118 | .page_size = 256, |
| 6119 | .tested = TEST_UNTESTED, |
| 6120 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6121 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6122 | .block_erasers = |
| 6123 | { |
| 6124 | { |
| 6125 | .eraseblocks = { {64 * 1024, 128} }, |
| 6126 | .block_erase = spi_block_erase_d8, |
| 6127 | }, { |
| 6128 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6129 | .block_erase = spi_block_erase_c7, |
| 6130 | } |
| 6131 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6132 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6133 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6134 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6135 | }, |
| 6136 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6137 | { |
| 6138 | .vendor = "ST", |
| 6139 | .name = "M25P128", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 6140 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6141 | .manufacture_id = ST_ID, |
| 6142 | .model_id = ST_M25P128, |
| 6143 | .total_size = 16384, |
| 6144 | .page_size = 256, |
| 6145 | .tested = TEST_UNTESTED, |
| 6146 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 6147 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6148 | .block_erasers = |
| 6149 | { |
| 6150 | { |
| 6151 | .eraseblocks = { {256 * 1024, 64} }, |
| 6152 | .block_erase = spi_block_erase_d8, |
| 6153 | }, { |
| 6154 | .eraseblocks = { {16 * 1024 * 1024, 1} }, |
| 6155 | .block_erase = spi_block_erase_c7, |
| 6156 | } |
| 6157 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 6158 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 6159 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6160 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6161 | }, |
| 6162 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6163 | { |
| 6164 | .vendor = "ST", |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6165 | .name = "M25PX32", |
| 6166 | .bustype = CHIP_BUSTYPE_SPI, |
| 6167 | .manufacture_id = ST_ID, |
| 6168 | .model_id = ST_M25PX32, |
| 6169 | .total_size = 4096, |
| 6170 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6171 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6172 | .probe = probe_spi_rdid, |
| 6173 | .probe_timing = TIMING_ZERO, |
| 6174 | .block_erasers = |
| 6175 | { |
| 6176 | { |
| 6177 | .eraseblocks = { { 4 * 1024, 1024 } }, |
| 6178 | .block_erase = spi_block_erase_20, |
| 6179 | }, { |
| 6180 | .eraseblocks = { {64 * 1024, 64} }, |
| 6181 | .block_erase = spi_block_erase_d8, |
| 6182 | }, { |
| 6183 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 6184 | .block_erase = spi_block_erase_c7, |
| 6185 | } |
| 6186 | }, |
| 6187 | .unlock = spi_disable_blockprotect, |
| 6188 | .write = spi_chip_write_256, |
| 6189 | .read = spi_chip_read, |
| 6190 | }, |
| 6191 | |
| 6192 | { |
| 6193 | .vendor = "ST", |
| 6194 | .name = "M25PX64", |
| 6195 | .bustype = CHIP_BUSTYPE_SPI, |
| 6196 | .manufacture_id = ST_ID, |
| 6197 | .model_id = ST_M25PX64, |
| 6198 | .total_size = 8192, |
| 6199 | .page_size = 256, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6200 | .tested = TEST_OK_PRE, |
Jason Shriver | 4119e9b | 2010-09-14 13:16:01 +0000 | [diff] [blame] | 6201 | .probe = probe_spi_rdid, |
| 6202 | .probe_timing = TIMING_ZERO, |
| 6203 | .block_erasers = |
| 6204 | { |
| 6205 | { |
| 6206 | .eraseblocks = { { 4 * 1024, 2048 } }, |
| 6207 | .block_erase = spi_block_erase_20, |
| 6208 | }, { |
| 6209 | .eraseblocks = { {64 * 1024, 128} }, |
| 6210 | .block_erase = spi_block_erase_d8, |
| 6211 | }, { |
| 6212 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 6213 | .block_erase = spi_block_erase_c7, |
| 6214 | } |
| 6215 | }, |
| 6216 | .unlock = spi_disable_blockprotect, |
| 6217 | .write = spi_chip_write_256, |
| 6218 | .read = spi_chip_read, |
| 6219 | }, |
| 6220 | |
| 6221 | { |
| 6222 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6223 | .name = "M29F002B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6224 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6225 | .manufacture_id = ST_ID, |
| 6226 | .model_id = ST_M29F002B, |
| 6227 | .total_size = 256, |
| 6228 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6229 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6230 | .tested = TEST_UNTESTED, |
| 6231 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6232 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6233 | .block_erasers = |
| 6234 | { |
| 6235 | { |
| 6236 | .eraseblocks = { |
| 6237 | {16 * 1024, 1}, |
| 6238 | {8 * 1024, 2}, |
| 6239 | {32 * 1024, 1}, |
| 6240 | {64 * 1024, 3}, |
| 6241 | }, |
| 6242 | .block_erase = erase_sector_jedec, |
| 6243 | }, { |
| 6244 | .eraseblocks = { {256 * 1024, 1} }, |
| 6245 | .block_erase = erase_chip_block_jedec, |
| 6246 | } |
| 6247 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6248 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6249 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6250 | }, |
| 6251 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6252 | { |
| 6253 | .vendor = "ST", |
| 6254 | .name = "M29F002T/NT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6255 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6256 | .manufacture_id = ST_ID, |
| 6257 | .model_id = ST_M29F002T, |
| 6258 | .total_size = 256, |
| 6259 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6260 | .feature_bits = FEATURE_ADDR_AAA | FEATURE_EITHER_RESET, |
| 6261 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6262 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6263 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6264 | .block_erasers = |
| 6265 | { |
| 6266 | { |
| 6267 | .eraseblocks = { |
| 6268 | {64 * 1024, 3}, |
| 6269 | {32 * 1024, 1}, |
| 6270 | {8 * 1024, 2}, |
| 6271 | {16 * 1024, 1}, |
| 6272 | }, |
| 6273 | .block_erase = erase_sector_jedec, |
| 6274 | }, { |
| 6275 | .eraseblocks = { {256 * 1024, 1} }, |
| 6276 | .block_erase = erase_chip_block_jedec, |
| 6277 | } |
| 6278 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6279 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6280 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6281 | }, |
| 6282 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6283 | { |
| 6284 | .vendor = "ST", |
| 6285 | .name = "M29F040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6286 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6287 | .manufacture_id = ST_ID, |
| 6288 | .model_id = ST_M29F040B, |
| 6289 | .total_size = 512, |
| 6290 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6291 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
| 6292 | .tested = TEST_UNTESTED, |
| 6293 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6294 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (am29f040b.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6295 | .block_erasers = |
| 6296 | { |
| 6297 | { |
| 6298 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6299 | .block_erase = erase_sector_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6300 | }, { |
| 6301 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6302 | .block_erase = erase_chip_block_jedec, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6303 | } |
| 6304 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6305 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6306 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6307 | }, |
| 6308 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6309 | { |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6310 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6311 | .vendor = "ST", |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6312 | .name = "M29F400BB", |
| 6313 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6314 | .manufacture_id = ST_ID, |
| 6315 | .model_id = ST_M29F400BB, |
| 6316 | .total_size = 512, |
| 6317 | .page_size = 64 * 1024, |
| 6318 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6319 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6320 | .probe = probe_m29f400bt, |
| 6321 | .probe_timing = TIMING_IGNORED, /* routine doesn't use probe_timing (m29f400bt.c) */ |
| 6322 | .block_erasers = |
| 6323 | { |
| 6324 | { |
| 6325 | .eraseblocks = { |
| 6326 | {16 * 1024, 1}, |
| 6327 | {8 * 1024, 2}, |
| 6328 | {32 * 1024, 1}, |
| 6329 | {64 * 1024, 7}, |
| 6330 | }, |
| 6331 | .block_erase = block_erase_m29f400bt, |
| 6332 | }, { |
| 6333 | .eraseblocks = { {512 * 1024, 1} }, |
| 6334 | .block_erase = block_erase_chip_m29f400bt, |
| 6335 | } |
| 6336 | }, |
Carl-Daniel Hailfinger | 79e6757 | 2010-10-13 21:49:30 +0000 | [diff] [blame] | 6337 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6338 | .read = read_memmapped, |
| 6339 | }, |
| 6340 | { |
| 6341 | /* FIXME: this has WORD/BYTE sequences; 2AA for word, 555 for byte */ |
| 6342 | .vendor = "ST", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6343 | .name = "M29F400BT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6344 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6345 | .manufacture_id = ST_ID, |
| 6346 | .model_id = ST_M29F400BT, |
| 6347 | .total_size = 512, |
| 6348 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6349 | .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6350 | .tested = TEST_UNTESTED, |
| 6351 | .probe = probe_m29f400bt, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6352 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (m29f400bt.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6353 | .block_erasers = |
| 6354 | { |
| 6355 | { |
| 6356 | .eraseblocks = { |
| 6357 | {64 * 1024, 7}, |
| 6358 | {32 * 1024, 1}, |
| 6359 | {8 * 1024, 2}, |
| 6360 | {16 * 1024, 1}, |
| 6361 | }, |
| 6362 | .block_erase = block_erase_m29f400bt, |
| 6363 | }, { |
| 6364 | .eraseblocks = { {512 * 1024, 1} }, |
| 6365 | .block_erase = block_erase_chip_m29f400bt, |
| 6366 | } |
| 6367 | }, |
Carl-Daniel Hailfinger | 420cf6f | 2010-07-16 22:07:20 +0000 | [diff] [blame] | 6368 | .write = write_m29f400bt, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6369 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6370 | }, |
| 6371 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6372 | { |
| 6373 | .vendor = "ST", |
| 6374 | .name = "M29W010B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6375 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6376 | .manufacture_id = ST_ID, |
| 6377 | .model_id = ST_M29W010B, |
| 6378 | .total_size = 128, |
| 6379 | .page_size = 16 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6380 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6381 | .tested = TEST_UNTESTED, |
| 6382 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6383 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6384 | .block_erasers = |
| 6385 | { |
| 6386 | { |
| 6387 | .eraseblocks = { {16 * 1024, 8}, }, |
| 6388 | .block_erase = erase_sector_jedec, |
| 6389 | }, { |
| 6390 | .eraseblocks = { {128 * 1024, 1} }, |
| 6391 | .block_erase = erase_chip_block_jedec, |
| 6392 | } |
| 6393 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6394 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6395 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6396 | }, |
| 6397 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6398 | { |
| 6399 | .vendor = "ST", |
| 6400 | .name = "M29W040B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6401 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6402 | .manufacture_id = ST_ID, |
| 6403 | .model_id = ST_M29W040B, |
| 6404 | .total_size = 512, |
| 6405 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6406 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6407 | .tested = TEST_UNTESTED, |
| 6408 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6409 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6410 | .block_erasers = |
| 6411 | { |
| 6412 | { |
| 6413 | .eraseblocks = { {64 * 1024, 8}, }, |
| 6414 | .block_erase = erase_sector_jedec, |
| 6415 | }, { |
| 6416 | .eraseblocks = { {512 * 1024, 1} }, |
| 6417 | .block_erase = erase_chip_block_jedec, |
| 6418 | } |
| 6419 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6420 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6421 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6422 | }, |
| 6423 | |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6424 | { |
| 6425 | .vendor = "ST", |
| 6426 | .name = "M29W512B", |
| 6427 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6428 | .manufacture_id = ST_ID, |
| 6429 | .model_id = ST_M29W512B, |
| 6430 | .total_size = 64, |
| 6431 | .page_size = 64 * 1024, |
| 6432 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6433 | .tested = TEST_OK_PRE, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6434 | .probe = probe_jedec, |
| 6435 | .probe_timing = TIMING_ZERO, |
Jeffrey A. Kent | ba7c922 | 2010-02-01 05:49:46 +0000 | [diff] [blame] | 6436 | .block_erasers = |
| 6437 | { |
| 6438 | { |
| 6439 | .eraseblocks = { {64 * 1024, 1} }, |
| 6440 | .block_erase = erase_chip_block_jedec, |
| 6441 | } |
| 6442 | }, |
| 6443 | .write = write_jedec_1, |
| 6444 | .read = read_memmapped, |
| 6445 | }, |
| 6446 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6447 | { |
| 6448 | .vendor = "ST", |
| 6449 | .name = "M50FLW040A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6450 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6451 | .manufacture_id = ST_ID, |
| 6452 | .model_id = ST_M50FLW040A, |
| 6453 | .total_size = 512, |
| 6454 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6455 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6456 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6457 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6458 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6459 | .block_erasers = |
| 6460 | { |
| 6461 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6462 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6463 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6464 | {64 * 1024, 5}, /* block */ |
| 6465 | {4 * 1024, 16}, /* sector */ |
| 6466 | {4 * 1024, 16}, /* sector */ |
| 6467 | }, |
| 6468 | .block_erase = NULL, |
| 6469 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6470 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6471 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6472 | }, { |
| 6473 | .eraseblocks = { {512 * 1024, 1} }, |
| 6474 | .block_erase = erase_chip_stm50flw0x0x, |
| 6475 | } |
| 6476 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6477 | .unlock = unlock_stm50flw0x0x, |
| 6478 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6479 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6480 | }, |
| 6481 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6482 | { |
| 6483 | .vendor = "ST", |
| 6484 | .name = "M50FLW040B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6485 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6486 | .manufacture_id = ST_ID, |
| 6487 | .model_id = ST_M50FLW040B, |
| 6488 | .total_size = 512, |
| 6489 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6490 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6491 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6492 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6493 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6494 | .block_erasers = |
| 6495 | { |
| 6496 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6497 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6498 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6499 | {4 * 1024, 16}, /* sector */ |
| 6500 | {64 * 1024, 5}, /* block */ |
| 6501 | {4 * 1024, 16}, /* sector */ |
| 6502 | }, |
| 6503 | .block_erase = NULL, |
| 6504 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6505 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6506 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6507 | }, { |
| 6508 | .eraseblocks = { {512 * 1024, 1} }, |
| 6509 | .block_erase = erase_chip_stm50flw0x0x, |
| 6510 | } |
| 6511 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6512 | .unlock = unlock_stm50flw0x0x, |
| 6513 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6514 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6515 | }, |
| 6516 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6517 | { |
| 6518 | .vendor = "ST", |
| 6519 | .name = "M50FLW080A", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6520 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6521 | .manufacture_id = ST_ID, |
| 6522 | .model_id = ST_M50FLW080A, |
| 6523 | .total_size = 1024, |
| 6524 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6525 | .feature_bits = FEATURE_REGISTERMAP, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6526 | .tested = TEST_OK_PRE, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6527 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6528 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6529 | .block_erasers = |
| 6530 | { |
| 6531 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6532 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6533 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6534 | {64 * 1024, 13}, /* block */ |
| 6535 | {4 * 1024, 16}, /* sector */ |
| 6536 | {4 * 1024, 16}, /* sector */ |
| 6537 | }, |
| 6538 | .block_erase = NULL, |
| 6539 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6540 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6541 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6542 | }, { |
| 6543 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6544 | .block_erase = erase_chip_stm50flw0x0x, |
| 6545 | } |
| 6546 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6547 | .unlock = unlock_stm50flw0x0x, |
| 6548 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6549 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6550 | }, |
| 6551 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6552 | { |
| 6553 | .vendor = "ST", |
| 6554 | .name = "M50FLW080B", |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6555 | .bustype = CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6556 | .manufacture_id = ST_ID, |
| 6557 | .model_id = ST_M50FLW080B, |
| 6558 | .total_size = 1024, |
| 6559 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6560 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6561 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6562 | .probe = probe_82802ab, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 6563 | .probe_timing = TIMING_FIXME, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6564 | .block_erasers = |
| 6565 | { |
| 6566 | { |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6567 | .eraseblocks = { |
Uwe Hermann | 431f4f7 | 2010-09-05 12:41:25 +0000 | [diff] [blame] | 6568 | {4 * 1024, 16}, /* sector */ |
Sean Nelson | 329bde7 | 2010-01-19 16:39:19 +0000 | [diff] [blame] | 6569 | {4 * 1024, 16}, /* sector */ |
| 6570 | {64 * 1024, 13}, /* block */ |
| 6571 | {4 * 1024, 16}, /* sector */ |
| 6572 | }, |
| 6573 | .block_erase = NULL, |
| 6574 | }, { |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6575 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6576 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6577 | }, { |
| 6578 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6579 | .block_erase = erase_chip_stm50flw0x0x, |
| 6580 | } |
| 6581 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6582 | .unlock = unlock_stm50flw0x0x, |
| 6583 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6584 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6585 | }, |
| 6586 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6587 | { |
| 6588 | .vendor = "ST", |
| 6589 | .name = "M50FW002", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6590 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6591 | .manufacture_id = ST_ID, |
| 6592 | .model_id = ST_M50FW002, |
| 6593 | .total_size = 256, |
| 6594 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6595 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6596 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6597 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6598 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (sst49lfxxxc.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6599 | .block_erasers = |
| 6600 | { |
| 6601 | { |
| 6602 | .eraseblocks = { |
| 6603 | {64 * 1024, 3}, |
| 6604 | {32 * 1024, 1}, |
| 6605 | {8 * 1024, 2}, |
| 6606 | {16 * 1024, 1}, |
| 6607 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6608 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6609 | }, { |
| 6610 | .eraseblocks = { {256 * 1024, 1} }, |
| 6611 | .block_erase = erase_chip_stm50flw0x0x, |
| 6612 | } |
| 6613 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6614 | .unlock = unlock_stm50flw0x0x, |
| 6615 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6616 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6617 | }, |
| 6618 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6619 | { |
| 6620 | .vendor = "ST", |
| 6621 | .name = "M50FW016", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6622 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6623 | .manufacture_id = ST_ID, |
| 6624 | .model_id = ST_M50FW016, |
| 6625 | .total_size = 2048, |
| 6626 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6627 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6628 | .tested = TEST_UNTESTED, |
| 6629 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6630 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6631 | .block_erasers = |
| 6632 | { |
| 6633 | { |
| 6634 | .eraseblocks = { {64 * 1024, 32}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6635 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6636 | }, { |
| 6637 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 6638 | .block_erase = erase_chip_stm50flw0x0x, |
| 6639 | } |
| 6640 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6641 | .unlock = unlock_stm50flw0x0x, |
| 6642 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6643 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6644 | }, |
| 6645 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6646 | { |
| 6647 | .vendor = "ST", |
| 6648 | .name = "M50FW040", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6649 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6650 | .manufacture_id = ST_ID, |
| 6651 | .model_id = ST_M50FW040, |
| 6652 | .total_size = 512, |
| 6653 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6654 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6655 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6656 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6657 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6658 | .block_erasers = |
| 6659 | { |
| 6660 | { |
| 6661 | .eraseblocks = { {64 * 1024, 8}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6662 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6663 | }, { |
| 6664 | .eraseblocks = { {512 * 1024, 1} }, |
| 6665 | .block_erase = erase_chip_stm50flw0x0x, |
| 6666 | } |
| 6667 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6668 | .unlock = unlock_stm50flw0x0x, |
| 6669 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6670 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6671 | }, |
| 6672 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6673 | { |
| 6674 | .vendor = "ST", |
| 6675 | .name = "M50FW080", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6676 | .bustype = CHIP_BUSTYPE_FWH, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6677 | .manufacture_id = ST_ID, |
| 6678 | .model_id = ST_M50FW080, |
| 6679 | .total_size = 1024, |
| 6680 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6681 | .feature_bits = FEATURE_REGISTERMAP, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6682 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6683 | .probe = probe_82802ab, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 6684 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6685 | .block_erasers = |
| 6686 | { |
| 6687 | { |
| 6688 | .eraseblocks = { {64 * 1024, 16}, }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6689 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6690 | }, { |
| 6691 | .eraseblocks = { {1024 * 1024, 1} }, |
| 6692 | .block_erase = erase_chip_stm50flw0x0x, |
| 6693 | } |
| 6694 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6695 | .unlock = unlock_stm50flw0x0x, |
| 6696 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6697 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6698 | }, |
| 6699 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6700 | { |
| 6701 | .vendor = "ST", |
| 6702 | .name = "M50LPW116", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6703 | .bustype = CHIP_BUSTYPE_LPC, /* A/A Mux */ |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6704 | .manufacture_id = ST_ID, |
| 6705 | .model_id = ST_M50LPW116, |
| 6706 | .total_size = 2048, |
| 6707 | .page_size = 64 * 1024, |
Carl-Daniel Hailfinger | 81449a2 | 2010-03-15 03:48:42 +0000 | [diff] [blame] | 6708 | .feature_bits = FEATURE_REGISTERMAP, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6709 | .tested = TEST_UNTESTED, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6710 | .probe = probe_82802ab, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6711 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6712 | .block_erasers = |
| 6713 | { |
| 6714 | { |
| 6715 | .eraseblocks = { |
| 6716 | {4 * 1024, 16}, |
| 6717 | {64 * 1024, 30}, |
| 6718 | {32 * 1024, 1}, |
| 6719 | {8 * 1024, 2}, |
| 6720 | {16 * 1024, 1}, |
| 6721 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6722 | .block_erase = erase_block_82802ab, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6723 | }, { |
| 6724 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6725 | .block_erase = erase_chip_stm50flw0x0x, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6726 | } |
| 6727 | }, |
Sean Nelson | 28accc2 | 2010-03-19 18:47:06 +0000 | [diff] [blame] | 6728 | .unlock = unlock_stm50flw0x0x, |
| 6729 | .write = write_82802ab, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6730 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6731 | }, |
| 6732 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6733 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6734 | .vendor = "SyncMOS/MoselVitelic", |
| 6735 | .name = "{F,S,V}29C51001B", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6736 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6737 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6738 | .model_id = SM_MVC_29C51001B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6739 | .total_size = 128, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6740 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6741 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6742 | .tested = TEST_UNTESTED, |
| 6743 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6744 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6745 | .block_erasers = |
| 6746 | { |
| 6747 | { |
| 6748 | .eraseblocks = { {512, 256} }, |
| 6749 | .block_erase = erase_sector_jedec, |
| 6750 | }, { |
| 6751 | .eraseblocks = { {128 * 1024, 1} }, |
| 6752 | .block_erase = erase_chip_block_jedec, |
| 6753 | }, |
| 6754 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6755 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6756 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6757 | }, |
| 6758 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6759 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6760 | .vendor = "SyncMOS/MoselVitelic", |
| 6761 | .name = "{F,S,V}29C51001T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6762 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6763 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6764 | .model_id = SM_MVC_29C51001T, |
| 6765 | .total_size = 128, |
| 6766 | .page_size = 512, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6767 | .feature_bits = FEATURE_EITHER_RESET, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6768 | .tested = TEST_UNTESTED, |
| 6769 | .probe = probe_jedec, |
| 6770 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6771 | .block_erasers = |
| 6772 | { |
| 6773 | { |
| 6774 | .eraseblocks = { {512, 256} }, |
| 6775 | .block_erase = erase_sector_jedec, |
| 6776 | }, { |
| 6777 | .eraseblocks = { {128 * 1024, 1} }, |
| 6778 | .block_erase = erase_chip_block_jedec, |
| 6779 | }, |
| 6780 | }, |
| 6781 | .write = write_jedec_1, |
| 6782 | .read = read_memmapped, |
| 6783 | }, |
| 6784 | |
| 6785 | { |
| 6786 | .vendor = "SyncMOS/MoselVitelic", |
| 6787 | .name = "{F,S,V}29C51002B", |
| 6788 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6789 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6790 | .model_id = SM_MVC_29C51002B, |
| 6791 | .total_size = 256, |
| 6792 | .page_size = 512, |
| 6793 | .feature_bits = FEATURE_EITHER_RESET, |
| 6794 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6795 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6796 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6797 | .block_erasers = |
| 6798 | { |
| 6799 | { |
| 6800 | .eraseblocks = { {512, 512} }, |
| 6801 | .block_erase = erase_sector_jedec, |
| 6802 | }, { |
| 6803 | .eraseblocks = { {256 * 1024, 1} }, |
| 6804 | .block_erase = erase_chip_block_jedec, |
| 6805 | }, |
| 6806 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6807 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6808 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6809 | }, |
| 6810 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6811 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6812 | .vendor = "SyncMOS/MoselVitelic", |
| 6813 | .name = "{F,S,V}29C51002T", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6814 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6815 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6816 | .model_id = SM_MVC_29C51002T, |
| 6817 | .total_size = 256, |
| 6818 | .page_size = 512, |
| 6819 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 6820 | .tested = TEST_OK_PRE, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6821 | .probe = probe_jedec, |
| 6822 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6823 | .block_erasers = |
| 6824 | { |
| 6825 | { |
| 6826 | .eraseblocks = { {512, 512} }, |
| 6827 | .block_erase = erase_sector_jedec, |
| 6828 | }, { |
| 6829 | .eraseblocks = { {256 * 1024, 1} }, |
| 6830 | .block_erase = erase_chip_block_jedec, |
| 6831 | }, |
| 6832 | }, |
| 6833 | .write = write_jedec_1, |
| 6834 | .read = read_memmapped, |
| 6835 | }, |
| 6836 | |
| 6837 | { |
| 6838 | .vendor = "SyncMOS/MoselVitelic", |
| 6839 | .name = "{F,S,V}29C51004B", |
| 6840 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6841 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6842 | .model_id = SM_MVC_29C51004B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6843 | .total_size = 512, |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6844 | .page_size = 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6845 | .feature_bits = FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6846 | .tested = TEST_UNTESTED, |
| 6847 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6848 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6849 | .block_erasers = |
| 6850 | { |
| 6851 | { |
Mattias Mattsson | 4c06650 | 2010-07-29 20:01:13 +0000 | [diff] [blame] | 6852 | .eraseblocks = { {1024, 512} }, |
| 6853 | .block_erase = erase_sector_jedec, |
| 6854 | }, { |
| 6855 | .eraseblocks = { {512 * 1024, 1} }, |
| 6856 | .block_erase = erase_chip_block_jedec, |
| 6857 | }, |
| 6858 | }, |
| 6859 | .write = write_jedec_1, |
| 6860 | .read = read_memmapped, |
| 6861 | }, |
| 6862 | |
| 6863 | { |
| 6864 | .vendor = "SyncMOS/MoselVitelic", |
| 6865 | .name = "{F,S,V}29C51004T", |
| 6866 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6867 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6868 | .model_id = SM_MVC_29C51004T, |
| 6869 | .total_size = 512, |
| 6870 | .page_size = 1024, |
| 6871 | .feature_bits = FEATURE_EITHER_RESET, |
| 6872 | .tested = TEST_UNTESTED, |
| 6873 | .probe = probe_jedec, |
| 6874 | .probe_timing = TIMING_ZERO, |
| 6875 | .block_erasers = |
| 6876 | { |
| 6877 | { |
| 6878 | .eraseblocks = { {1024, 512} }, |
| 6879 | .block_erase = erase_sector_jedec, |
| 6880 | }, { |
| 6881 | .eraseblocks = { {512 * 1024, 1} }, |
| 6882 | .block_erase = erase_chip_block_jedec, |
| 6883 | }, |
| 6884 | }, |
| 6885 | .write = write_jedec_1, |
| 6886 | .read = read_memmapped, |
| 6887 | }, |
| 6888 | |
| 6889 | { |
| 6890 | .vendor = "SyncMOS/MoselVitelic", |
| 6891 | .name = "{S,V}29C31004B", |
| 6892 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6893 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6894 | .model_id = SM_MVC_29C31004B, |
| 6895 | .total_size = 512, |
| 6896 | .page_size = 1024, |
| 6897 | .feature_bits = FEATURE_EITHER_RESET, |
| 6898 | .tested = TEST_UNTESTED, |
| 6899 | .probe = probe_jedec, |
| 6900 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6901 | .block_erasers = |
| 6902 | { |
| 6903 | { |
| 6904 | .eraseblocks = { {1024, 512} }, |
| 6905 | .block_erase = erase_sector_jedec, |
| 6906 | }, { |
| 6907 | .eraseblocks = { {512 * 1024, 1} }, |
| 6908 | .block_erase = erase_chip_block_jedec, |
| 6909 | }, |
| 6910 | }, |
| 6911 | .write = write_jedec_1, |
| 6912 | .read = read_memmapped, |
| 6913 | }, |
| 6914 | |
| 6915 | { |
| 6916 | .vendor = "SyncMOS/MoselVitelic", |
| 6917 | .name = "{S,V}29C31004T", |
| 6918 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 6919 | .manufacture_id = SYNCMOS_MVC_ID, |
| 6920 | .model_id = SM_MVC_29C31004T, |
| 6921 | .total_size = 512, |
| 6922 | .page_size = 1024, |
| 6923 | .feature_bits = FEATURE_EITHER_RESET, |
| 6924 | .tested = TEST_UNTESTED, |
| 6925 | .probe = probe_jedec, |
| 6926 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
| 6927 | .block_erasers = |
| 6928 | { |
| 6929 | { |
| 6930 | .eraseblocks = { {1024, 512} }, |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6931 | .block_erase = erase_sector_jedec, |
| 6932 | }, { |
| 6933 | .eraseblocks = { {512 * 1024, 1} }, |
| 6934 | .block_erase = erase_chip_block_jedec, |
| 6935 | }, |
| 6936 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6937 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 6938 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 6939 | }, |
| 6940 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 6941 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6942 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6943 | .name = "TMS29F002RB", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6944 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6945 | .manufacture_id = TI_OLD_ID, |
| 6946 | .model_id = TI_TMS29F002RB, |
| 6947 | .total_size = 256, |
| 6948 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6949 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6950 | .tested = TEST_UNTESTED, |
| 6951 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6952 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6953 | .block_erasers = |
| 6954 | { |
| 6955 | { |
| 6956 | .eraseblocks = { |
| 6957 | {16 * 1024, 1}, |
| 6958 | {8 * 1024, 2}, |
| 6959 | {32 * 1024, 1}, |
| 6960 | {64 * 1024, 3}, |
| 6961 | }, |
| 6962 | .block_erase = erase_sector_jedec, |
| 6963 | }, { |
| 6964 | .eraseblocks = { {256 * 1024, 1} }, |
| 6965 | .block_erase = erase_chip_block_jedec, |
| 6966 | }, |
| 6967 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6968 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6969 | .read = read_memmapped, |
| 6970 | }, |
| 6971 | |
| 6972 | { |
Uwe Hermann | a106d15 | 2009-05-27 23:17:40 +0000 | [diff] [blame] | 6973 | .vendor = "TI", |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6974 | .name = "TMS29F002RT", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 6975 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6976 | .manufacture_id = TI_OLD_ID, |
| 6977 | .model_id = TI_TMS29F002RT, |
| 6978 | .total_size = 256, |
| 6979 | .page_size = 16384, /* Non-uniform sectors */ |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6980 | .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 6981 | .tested = TEST_UNTESTED, |
| 6982 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 6983 | .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ |
Sean Nelson | 56358aa | 2010-01-19 16:08:51 +0000 | [diff] [blame] | 6984 | .block_erasers = |
| 6985 | { |
| 6986 | { |
| 6987 | .eraseblocks = { |
| 6988 | {64 * 1024, 3}, |
| 6989 | {32 * 1024, 1}, |
| 6990 | {8 * 1024, 2}, |
| 6991 | {16 * 1024, 1}, |
| 6992 | }, |
| 6993 | .block_erase = erase_sector_jedec, |
| 6994 | }, { |
| 6995 | .eraseblocks = { {256 * 1024, 1} }, |
| 6996 | .block_erase = erase_chip_block_jedec, |
| 6997 | }, |
| 6998 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 6999 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 09b4fb7 | 2009-05-26 21:26:23 +0000 | [diff] [blame] | 7000 | .read = read_memmapped, |
| 7001 | }, |
| 7002 | |
| 7003 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7004 | .vendor = "Winbond", |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7005 | .name = "W25Q80", |
| 7006 | .bustype = CHIP_BUSTYPE_SPI, |
| 7007 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7008 | .model_id = WINBOND_NEX_W25Q80, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7009 | .total_size = 1024, |
| 7010 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7011 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7012 | .tested = TEST_OK_PRE, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7013 | .probe = probe_spi_rdid, |
| 7014 | .probe_timing = TIMING_ZERO, |
| 7015 | .block_erasers = |
| 7016 | { |
| 7017 | { |
| 7018 | .eraseblocks = { {4 * 1024, 256} }, |
| 7019 | .block_erase = spi_block_erase_20, |
| 7020 | }, { |
| 7021 | .eraseblocks = { {32 * 1024, 32} }, |
| 7022 | .block_erase = spi_block_erase_52, |
| 7023 | }, { |
| 7024 | .eraseblocks = { {64 * 1024, 16} }, |
| 7025 | .block_erase = spi_block_erase_d8, |
| 7026 | }, { |
| 7027 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7028 | .block_erase = spi_block_erase_60, |
| 7029 | }, { |
| 7030 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7031 | .block_erase = spi_block_erase_c7, |
| 7032 | } |
| 7033 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7034 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7035 | .write = spi_chip_write_256, |
| 7036 | .read = spi_chip_read, |
| 7037 | }, |
| 7038 | |
| 7039 | { |
| 7040 | .vendor = "Winbond", |
| 7041 | .name = "W25Q16", |
| 7042 | .bustype = CHIP_BUSTYPE_SPI, |
| 7043 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7044 | .model_id = WINBOND_NEX_W25Q16, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7045 | .total_size = 2048, |
| 7046 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7047 | .feature_bits = FEATURE_WRSR_WREN, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7048 | .tested = TEST_UNTESTED, |
| 7049 | .probe = probe_spi_rdid, |
| 7050 | .probe_timing = TIMING_ZERO, |
| 7051 | .block_erasers = |
| 7052 | { |
| 7053 | { |
| 7054 | .eraseblocks = { {4 * 1024, 512} }, |
| 7055 | .block_erase = spi_block_erase_20, |
| 7056 | }, { |
| 7057 | .eraseblocks = { {32 * 1024, 64} }, |
| 7058 | .block_erase = spi_block_erase_52, |
| 7059 | }, { |
| 7060 | .eraseblocks = { {64 * 1024, 32} }, |
| 7061 | .block_erase = spi_block_erase_d8, |
| 7062 | }, { |
| 7063 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7064 | .block_erase = spi_block_erase_60, |
| 7065 | }, { |
| 7066 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7067 | .block_erase = spi_block_erase_c7, |
| 7068 | } |
| 7069 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7070 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7071 | .write = spi_chip_write_256, |
| 7072 | .read = spi_chip_read, |
| 7073 | }, |
| 7074 | |
| 7075 | { |
| 7076 | .vendor = "Winbond", |
| 7077 | .name = "W25Q32", |
| 7078 | .bustype = CHIP_BUSTYPE_SPI, |
| 7079 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7080 | .model_id = WINBOND_NEX_W25Q32, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7081 | .total_size = 4096, |
| 7082 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7083 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7084 | .tested = TEST_OK_PRE, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7085 | .probe = probe_spi_rdid, |
| 7086 | .probe_timing = TIMING_ZERO, |
| 7087 | .block_erasers = |
| 7088 | { |
| 7089 | { |
| 7090 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7091 | .block_erase = spi_block_erase_20, |
| 7092 | }, { |
| 7093 | .eraseblocks = { {32 * 1024, 128} }, |
| 7094 | .block_erase = spi_block_erase_52, |
| 7095 | }, { |
| 7096 | .eraseblocks = { {64 * 1024, 64} }, |
| 7097 | .block_erase = spi_block_erase_d8, |
| 7098 | }, { |
| 7099 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7100 | .block_erase = spi_block_erase_60, |
| 7101 | }, { |
| 7102 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7103 | .block_erase = spi_block_erase_c7, |
| 7104 | } |
| 7105 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7106 | .unlock = spi_disable_blockprotect, |
Rudolf Marek | ce1c798 | 2010-04-20 19:34:31 +0000 | [diff] [blame] | 7107 | .write = spi_chip_write_256, |
| 7108 | .read = spi_chip_read, |
| 7109 | }, |
| 7110 | |
| 7111 | { |
| 7112 | .vendor = "Winbond", |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7113 | .name = "W25Q64", |
| 7114 | .bustype = CHIP_BUSTYPE_SPI, |
| 7115 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7116 | .model_id = WINBOND_NEX_W25Q64, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7117 | .total_size = 8192, |
| 7118 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7119 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7120 | .tested = TEST_OK_PR, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7121 | .probe = probe_spi_rdid, |
| 7122 | .probe_timing = TIMING_ZERO, |
| 7123 | .block_erasers = |
| 7124 | { |
| 7125 | { |
| 7126 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7127 | .block_erase = spi_block_erase_20, |
| 7128 | }, { |
| 7129 | .eraseblocks = { {32 * 1024, 256} }, |
| 7130 | .block_erase = spi_block_erase_52, |
| 7131 | }, { |
| 7132 | .eraseblocks = { {64 * 1024, 128} }, |
| 7133 | .block_erase = spi_block_erase_d8, |
| 7134 | }, { |
| 7135 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7136 | .block_erase = spi_block_erase_60, |
| 7137 | }, { |
| 7138 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7139 | .block_erase = spi_block_erase_c7, |
| 7140 | } |
| 7141 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7142 | .unlock = spi_disable_blockprotect, |
David Hendricks | c4acec9 | 2010-06-24 11:39:57 +0000 | [diff] [blame] | 7143 | .write = spi_chip_write_256, |
| 7144 | .read = spi_chip_read, |
| 7145 | }, |
| 7146 | |
| 7147 | { |
| 7148 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7149 | .name = "W25x10", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7150 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7151 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7152 | .model_id = WINBOND_NEX_W25X10, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7153 | .total_size = 128, |
| 7154 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7155 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7156 | .tested = TEST_UNTESTED, |
| 7157 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7158 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7159 | .block_erasers = |
| 7160 | { |
| 7161 | { |
| 7162 | .eraseblocks = { {4 * 1024, 32} }, |
| 7163 | .block_erase = spi_block_erase_20, |
| 7164 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7165 | .eraseblocks = { {64 * 1024, 2} }, |
| 7166 | .block_erase = spi_block_erase_d8, |
| 7167 | }, { |
| 7168 | .eraseblocks = { {128 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7169 | .block_erase = spi_block_erase_c7, |
| 7170 | } |
| 7171 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7172 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7173 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7174 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7175 | }, |
| 7176 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7177 | { |
| 7178 | .vendor = "Winbond", |
| 7179 | .name = "W25x20", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7180 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7181 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7182 | .model_id = WINBOND_NEX_W25X20, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7183 | .total_size = 256, |
| 7184 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7185 | .feature_bits = FEATURE_WRSR_WREN, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7186 | .tested = TEST_UNTESTED, |
| 7187 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7188 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7189 | .block_erasers = |
| 7190 | { |
| 7191 | { |
| 7192 | .eraseblocks = { {4 * 1024, 64} }, |
| 7193 | .block_erase = spi_block_erase_20, |
| 7194 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7195 | .eraseblocks = { {64 * 1024, 4} }, |
| 7196 | .block_erase = spi_block_erase_d8, |
| 7197 | }, { |
| 7198 | .eraseblocks = { {256 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7199 | .block_erase = spi_block_erase_c7, |
| 7200 | } |
| 7201 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7202 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7203 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7204 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7205 | }, |
| 7206 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7207 | { |
| 7208 | .vendor = "Winbond", |
| 7209 | .name = "W25x40", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7210 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7211 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7212 | .model_id = WINBOND_NEX_W25X40, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7213 | .total_size = 512, |
| 7214 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7215 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7216 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7217 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7218 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7219 | .block_erasers = |
| 7220 | { |
| 7221 | { |
| 7222 | .eraseblocks = { {4 * 1024, 128} }, |
| 7223 | .block_erase = spi_block_erase_20, |
| 7224 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7225 | .eraseblocks = { {64 * 1024, 8} }, |
| 7226 | .block_erase = spi_block_erase_d8, |
| 7227 | }, { |
| 7228 | .eraseblocks = { {512 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7229 | .block_erase = spi_block_erase_c7, |
| 7230 | } |
| 7231 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7232 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7233 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7234 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7235 | }, |
| 7236 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7237 | { |
| 7238 | .vendor = "Winbond", |
| 7239 | .name = "W25x80", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7240 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7241 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7242 | .model_id = WINBOND_NEX_W25X80, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7243 | .total_size = 1024, |
| 7244 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7245 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7246 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7247 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7248 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7249 | .block_erasers = |
| 7250 | { |
| 7251 | { |
| 7252 | .eraseblocks = { {4 * 1024, 256} }, |
| 7253 | .block_erase = spi_block_erase_20, |
| 7254 | }, { |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7255 | .eraseblocks = { {64 * 1024, 16} }, |
| 7256 | .block_erase = spi_block_erase_d8, |
| 7257 | }, { |
| 7258 | .eraseblocks = { {1024 * 1024, 1} }, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7259 | .block_erase = spi_block_erase_c7, |
| 7260 | } |
| 7261 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7262 | .unlock = spi_disable_blockprotect, |
Carl-Daniel Hailfinger | 8d49701 | 2009-05-09 02:34:18 +0000 | [diff] [blame] | 7263 | .write = spi_chip_write_256, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7264 | .read = spi_chip_read, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7265 | }, |
| 7266 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7267 | { |
| 7268 | .vendor = "Winbond", |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7269 | .name = "W25x16", |
| 7270 | .bustype = CHIP_BUSTYPE_SPI, |
| 7271 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7272 | .model_id = WINBOND_NEX_W25X16, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7273 | .total_size = 2048, |
| 7274 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7275 | .feature_bits = FEATURE_WRSR_WREN, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7276 | .tested = TEST_OK_PRE, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7277 | .probe = probe_spi_rdid, |
| 7278 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7279 | .block_erasers = |
| 7280 | { |
| 7281 | { |
| 7282 | .eraseblocks = { {4 * 1024, 512} }, |
| 7283 | .block_erase = spi_block_erase_20, |
| 7284 | }, { |
| 7285 | .eraseblocks = { {32 * 1024, 64} }, |
| 7286 | .block_erase = spi_block_erase_52, |
| 7287 | }, { |
| 7288 | .eraseblocks = { {64 * 1024, 32} }, |
| 7289 | .block_erase = spi_block_erase_d8, |
| 7290 | }, { |
| 7291 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7292 | .block_erase = spi_block_erase_60, |
| 7293 | }, { |
| 7294 | .eraseblocks = { {2 * 1024 * 1024, 1} }, |
| 7295 | .block_erase = spi_block_erase_c7, |
| 7296 | } |
| 7297 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7298 | .unlock = spi_disable_blockprotect, |
Hector Martin | a721ae2 | 2009-07-11 19:39:11 +0000 | [diff] [blame] | 7299 | .write = spi_chip_write_256, |
| 7300 | .read = spi_chip_read, |
| 7301 | }, |
| 7302 | |
| 7303 | { |
| 7304 | .vendor = "Winbond", |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7305 | .name = "W25x32", |
| 7306 | .bustype = CHIP_BUSTYPE_SPI, |
| 7307 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7308 | .model_id = WINBOND_NEX_W25X32, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7309 | .total_size = 4096, |
| 7310 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7311 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7312 | .tested = TEST_OK_PROBE, |
| 7313 | .probe = probe_spi_rdid, |
| 7314 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7315 | .block_erasers = |
| 7316 | { |
| 7317 | { |
| 7318 | .eraseblocks = { {4 * 1024, 1024} }, |
| 7319 | .block_erase = spi_block_erase_20, |
| 7320 | }, { |
| 7321 | .eraseblocks = { {32 * 1024, 128} }, |
| 7322 | .block_erase = spi_block_erase_52, |
| 7323 | }, { |
| 7324 | .eraseblocks = { {64 * 1024, 64} }, |
| 7325 | .block_erase = spi_block_erase_d8, |
| 7326 | }, { |
| 7327 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7328 | .block_erase = spi_block_erase_60, |
| 7329 | }, { |
| 7330 | .eraseblocks = { {4 * 1024 * 1024, 1} }, |
| 7331 | .block_erase = spi_block_erase_c7, |
| 7332 | } |
| 7333 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7334 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7335 | .write = spi_chip_write_256, |
| 7336 | .read = spi_chip_read, |
| 7337 | }, |
| 7338 | |
| 7339 | { |
| 7340 | .vendor = "Winbond", |
| 7341 | .name = "W25x64", |
| 7342 | .bustype = CHIP_BUSTYPE_SPI, |
| 7343 | .manufacture_id = WINBOND_NEX_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7344 | .model_id = WINBOND_NEX_W25X64, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7345 | .total_size = 8192, |
| 7346 | .page_size = 256, |
David Hendricks | 2cbb722 | 2010-09-03 03:06:07 +0000 | [diff] [blame] | 7347 | .feature_bits = FEATURE_WRSR_WREN, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7348 | .tested = TEST_UNTESTED, |
| 7349 | .probe = probe_spi_rdid, |
| 7350 | .probe_timing = TIMING_ZERO, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7351 | .block_erasers = |
| 7352 | { |
| 7353 | { |
| 7354 | .eraseblocks = { {4 * 1024, 2048} }, |
| 7355 | .block_erase = spi_block_erase_20, |
| 7356 | }, { |
| 7357 | .eraseblocks = { {32 * 1024, 256} }, |
| 7358 | .block_erase = spi_block_erase_52, |
| 7359 | }, { |
| 7360 | .eraseblocks = { {64 * 1024, 128} }, |
| 7361 | .block_erase = spi_block_erase_d8, |
| 7362 | }, { |
| 7363 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7364 | .block_erase = spi_block_erase_60, |
| 7365 | }, { |
| 7366 | .eraseblocks = { {8 * 1024 * 1024, 1} }, |
| 7367 | .block_erase = spi_block_erase_c7, |
| 7368 | } |
| 7369 | }, |
Carl-Daniel Hailfinger | 29a1c66 | 2010-07-14 20:21:22 +0000 | [diff] [blame] | 7370 | .unlock = spi_disable_blockprotect, |
Zheng Bao | 1db2b75 | 2009-11-26 11:05:01 +0000 | [diff] [blame] | 7371 | .write = spi_chip_write_256, |
| 7372 | .read = spi_chip_read, |
| 7373 | }, |
| 7374 | |
| 7375 | { |
| 7376 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7377 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7378 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7379 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7380 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7381 | .total_size = 128, |
| 7382 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7383 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7384 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7385 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7386 | .probe_timing = 10, /* used datasheet for the W29C011A */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7387 | .block_erasers = |
| 7388 | { |
| 7389 | { |
| 7390 | .eraseblocks = { {128 * 1024, 1} }, |
| 7391 | .block_erase = erase_chip_block_jedec, |
| 7392 | } |
| 7393 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7394 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7395 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7396 | }, |
| 7397 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7398 | { |
| 7399 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7400 | .name = "W29C020(C)/W29C022", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7401 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7402 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7403 | .model_id = WINBOND_W29C020, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7404 | .total_size = 256, |
| 7405 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7406 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7407 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7408 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7409 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7410 | .block_erasers = |
| 7411 | { |
| 7412 | { |
| 7413 | .eraseblocks = { {256 * 1024, 1} }, |
| 7414 | .block_erase = erase_chip_block_jedec, |
| 7415 | } |
| 7416 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7417 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7418 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7419 | }, |
| 7420 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7421 | { |
| 7422 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7423 | .name = "W29C040/P", |
Urja Rannikko | 161b885 | 2009-06-05 08:47:37 +0000 | [diff] [blame] | 7424 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7425 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7426 | .model_id = WINBOND_W29C040, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7427 | .total_size = 512, |
| 7428 | .page_size = 256, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7429 | .feature_bits = FEATURE_LONG_RESET, |
| 7430 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7431 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7432 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7433 | .block_erasers = |
| 7434 | { |
| 7435 | { |
| 7436 | .eraseblocks = { {512 * 1024, 1} }, |
| 7437 | .block_erase = erase_chip_block_jedec, |
| 7438 | } |
| 7439 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7440 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7441 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7442 | }, |
| 7443 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7444 | { |
| 7445 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7446 | .name = "W29C010(M)/W29C011A/W29EE011/W29EE012", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7447 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7448 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7449 | .model_id = WINBOND_W29C010, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7450 | .total_size = 128, |
| 7451 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7452 | .feature_bits = FEATURE_LONG_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7453 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7454 | .probe = probe_w29ee011, |
Maciej Pijanka | c6e1111 | 2009-06-03 14:46:22 +0000 | [diff] [blame] | 7455 | .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (w29ee011.c) */ |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7456 | .block_erasers = |
| 7457 | { |
| 7458 | { |
| 7459 | .eraseblocks = { {128 * 1024, 1} }, |
| 7460 | .block_erase = erase_chip_block_jedec, |
| 7461 | } |
| 7462 | }, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7463 | .write = write_jedec, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7464 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7465 | }, |
| 7466 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7467 | { |
| 7468 | .vendor = "Winbond", |
| 7469 | .name = "W39V040A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7470 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7471 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7472 | .model_id = WINBOND_W39V040A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7473 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7474 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7475 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7476 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7477 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7478 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7479 | .block_erasers = |
| 7480 | { |
| 7481 | { |
| 7482 | .eraseblocks = { {64 * 1024, 8} }, |
| 7483 | .block_erase = erase_sector_jedec, |
| 7484 | }, { |
| 7485 | .eraseblocks = { {512 * 1024, 1} }, |
| 7486 | .block_erase = erase_chip_block_jedec, |
| 7487 | } |
| 7488 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7489 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7490 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7491 | }, |
| 7492 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7493 | { |
| 7494 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7495 | .name = "W39V040(F)B", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7496 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7497 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7498 | .model_id = WINBOND_W39V040B, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7499 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7500 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7501 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7502 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7503 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7504 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7505 | .block_erasers = |
| 7506 | { |
| 7507 | { |
| 7508 | .eraseblocks = { {64 * 1024, 8} }, |
| 7509 | .block_erase = erase_sector_jedec, |
| 7510 | }, { |
| 7511 | .eraseblocks = { {512 * 1024, 1} }, |
| 7512 | .block_erase = erase_chip_block_jedec, |
| 7513 | } |
| 7514 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7515 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7516 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7517 | }, |
| 7518 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7519 | { |
| 7520 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7521 | .name = "W39V040(F)C", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7522 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7523 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7524 | .model_id = WINBOND_W39V040C, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7525 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7526 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7527 | .feature_bits = FEATURE_EITHER_RESET, |
| 7528 | .tested = TEST_UNTESTED, |
| 7529 | .probe = probe_jedec, |
Carl-Daniel Hailfinger | 08fa2f3 | 2010-01-10 01:34:00 +0000 | [diff] [blame] | 7530 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7531 | .block_erasers = |
| 7532 | { |
| 7533 | { |
| 7534 | .eraseblocks = { {64 * 1024, 8} }, |
| 7535 | .block_erase = erase_sector_jedec, |
| 7536 | }, { |
| 7537 | .eraseblocks = { {512 * 1024, 1} }, |
| 7538 | .block_erase = erase_chip_block_jedec, |
| 7539 | } |
| 7540 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7541 | .printlock = printlock_w39v040c, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7542 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7543 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7544 | }, |
| 7545 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7546 | { |
| 7547 | .vendor = "Winbond", |
| 7548 | .name = "W39V040FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7549 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7550 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7551 | .model_id = WINBOND_W39V040FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7552 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7553 | .page_size = 64 * 1024, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7554 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7555 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7556 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7557 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7558 | .block_erasers = |
| 7559 | { |
| 7560 | { |
| 7561 | .eraseblocks = { {4 * 1024, 128} }, |
| 7562 | .block_erase = erase_block_jedec, |
| 7563 | }, { |
| 7564 | .eraseblocks = { {64 * 1024, 8} }, |
| 7565 | .block_erase = erase_sector_jedec, |
| 7566 | }, { |
| 7567 | .eraseblocks = { {512 * 1024, 1} }, |
| 7568 | .block_erase = erase_chip_block_jedec, |
| 7569 | } |
| 7570 | }, |
Michael Karcher | c9b6341 | 2010-05-30 16:55:18 +0000 | [diff] [blame] | 7571 | .printlock = printlock_sst_fwhub, |
| 7572 | .unlock = unlock_sst_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7573 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7574 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7575 | }, |
| 7576 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7577 | { |
| 7578 | .vendor = "Winbond", |
| 7579 | .name = "W39V080A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7580 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7581 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7582 | .model_id = WINBOND_W39V080A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7583 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7584 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7585 | .feature_bits = FEATURE_EITHER_RESET, |
| 7586 | .tested = TEST_UNTESTED, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7587 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7588 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7589 | .block_erasers = |
| 7590 | { |
| 7591 | { |
| 7592 | .eraseblocks = { {64 * 1024, 16} }, |
| 7593 | .block_erase = erase_sector_jedec, |
| 7594 | }, { |
| 7595 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7596 | .block_erase = erase_chip_block_jedec, |
| 7597 | } |
| 7598 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7599 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7600 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7601 | }, |
| 7602 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7603 | { |
| 7604 | .vendor = "Winbond", |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7605 | .name = "W49F002U/N", |
Urja Rannikko | 038a312 | 2009-06-28 19:19:25 +0000 | [diff] [blame] | 7606 | .bustype = CHIP_BUSTYPE_PARALLEL, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7607 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7608 | .model_id = WINBOND_W49F002U, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7609 | .total_size = 256, |
| 7610 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7611 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7612 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7613 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7614 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7615 | .block_erasers = |
| 7616 | { |
| 7617 | { |
| 7618 | .eraseblocks = { |
| 7619 | {128 * 1024, 1}, |
| 7620 | {96 * 1024, 1}, |
| 7621 | {8 * 1024, 2}, |
| 7622 | {16 * 1024, 1}, |
| 7623 | }, |
| 7624 | .block_erase = erase_sector_jedec, |
| 7625 | }, { |
| 7626 | .eraseblocks = { {256 * 1024, 1} }, |
| 7627 | .block_erase = erase_chip_block_jedec, |
| 7628 | } |
| 7629 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7630 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7631 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7632 | }, |
| 7633 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7634 | { |
| 7635 | .vendor = "Winbond", |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7636 | .name = "W49F020", |
| 7637 | .bustype = CHIP_BUSTYPE_PARALLEL, |
| 7638 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7639 | .model_id = WINBOND_W49F020, |
Carl-Daniel Hailfinger | abebe6b | 2010-07-17 13:45:42 +0000 | [diff] [blame] | 7640 | .total_size = 256, |
| 7641 | .page_size = 128, |
| 7642 | .feature_bits = FEATURE_EITHER_RESET, |
| 7643 | .tested = TEST_OK_PROBE, |
| 7644 | .probe = probe_jedec, |
| 7645 | .probe_timing = 10, |
| 7646 | .block_erasers = |
| 7647 | { |
| 7648 | { |
| 7649 | .eraseblocks = { {256 * 1024, 1} }, |
| 7650 | .block_erase = erase_chip_block_jedec, |
| 7651 | } |
| 7652 | }, |
| 7653 | .write = write_jedec_1, |
| 7654 | .read = read_memmapped, |
| 7655 | }, |
| 7656 | |
| 7657 | { |
| 7658 | .vendor = "Winbond", |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7659 | .name = "W49V002A", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7660 | .bustype = CHIP_BUSTYPE_LPC, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7661 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7662 | .model_id = WINBOND_W49V002A, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7663 | .total_size = 256, |
| 7664 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7665 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7666 | .tested = TEST_OK_PRE, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7667 | .probe = probe_jedec, |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7668 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7669 | .block_erasers = |
| 7670 | { |
| 7671 | { |
| 7672 | .eraseblocks = { |
| 7673 | {64 * 1024, 3}, |
| 7674 | {32 * 1024, 1}, |
| 7675 | {8 * 1024, 2}, |
| 7676 | {16 * 1024, 1}, |
| 7677 | }, |
| 7678 | .block_erase = erase_sector_jedec, |
| 7679 | }, { |
| 7680 | .eraseblocks = { {256 * 1024, 1} }, |
| 7681 | .block_erase = erase_chip_block_jedec, |
| 7682 | } |
| 7683 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7684 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7685 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7686 | }, |
| 7687 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7688 | { |
| 7689 | .vendor = "Winbond", |
| 7690 | .name = "W49V002FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7691 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7692 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7693 | .model_id = WINBOND_W49V002FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7694 | .total_size = 256, |
| 7695 | .page_size = 128, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7696 | .feature_bits = FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7697 | .tested = TEST_OK_PR, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7698 | .probe = probe_jedec, |
Udu Ogah | c04ee22 | 2009-09-05 01:31:32 +0000 | [diff] [blame] | 7699 | .probe_timing = 10, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7700 | .block_erasers = |
| 7701 | { |
| 7702 | { |
| 7703 | .eraseblocks = { |
| 7704 | {64 * 1024, 3}, |
| 7705 | {32 * 1024, 1}, |
| 7706 | {8 * 1024, 2}, |
| 7707 | {16 * 1024, 1}, |
| 7708 | }, |
| 7709 | .block_erase = erase_sector_jedec, |
| 7710 | }, { |
| 7711 | .eraseblocks = { {256 * 1024, 1} }, |
| 7712 | .block_erase = erase_chip_block_jedec, |
| 7713 | } |
| 7714 | }, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7715 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7716 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7717 | }, |
| 7718 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7719 | { |
| 7720 | .vendor = "Winbond", |
| 7721 | .name = "W39V080FA", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7722 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7723 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7724 | .model_id = WINBOND_W39V080FA, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7725 | .total_size = 1024, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7726 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7727 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Carl-Daniel Hailfinger | f52f784 | 2010-10-08 18:52:29 +0000 | [diff] [blame] | 7728 | .tested = TEST_OK_PRE, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7729 | .probe = probe_jedec, |
| 7730 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7731 | .block_erasers = |
| 7732 | { |
| 7733 | { |
| 7734 | .eraseblocks = { {64 * 1024, 16}, }, |
| 7735 | .block_erase = erase_sector_jedec, |
| 7736 | }, { |
| 7737 | .eraseblocks = { {1024 * 1024, 1} }, |
| 7738 | .block_erase = erase_chip_block_jedec, |
| 7739 | } |
| 7740 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7741 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7742 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7743 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7744 | }, |
| 7745 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7746 | { |
| 7747 | .vendor = "Winbond", |
| 7748 | .name = "W39V080FA (dual mode)", |
Mateusz Murawski | 8b2f46b | 2009-06-12 21:29:36 +0000 | [diff] [blame] | 7749 | .bustype = CHIP_BUSTYPE_FWH, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7750 | .manufacture_id = WINBOND_ID, |
Mattias Mattsson | a745cf4 | 2010-09-14 23:56:56 +0000 | [diff] [blame] | 7751 | .model_id = WINBOND_W39V080FA_DM, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7752 | .total_size = 512, |
Sean Nelson | 72a9a02 | 2009-12-22 22:15:33 +0000 | [diff] [blame] | 7753 | .page_size = 64 * 1024, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7754 | .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7755 | .tested = TEST_UNTESTED, |
Carl-Daniel Hailfinger | e940466 | 2010-01-09 02:24:17 +0000 | [diff] [blame] | 7756 | .probe = probe_jedec, |
| 7757 | .probe_timing = TIMING_FIXME, |
Sean Nelson | cfc35cd | 2010-01-19 03:24:55 +0000 | [diff] [blame] | 7758 | .block_erasers = |
| 7759 | { |
| 7760 | { |
| 7761 | .eraseblocks = { {64 * 1024, 8}, }, |
| 7762 | .block_erase = erase_sector_jedec, |
| 7763 | }, { |
| 7764 | .eraseblocks = { {512 * 1024, 1} }, |
| 7765 | .block_erase = erase_chip_block_jedec, |
| 7766 | } |
| 7767 | }, |
Sean Nelson | 6e0b912 | 2010-02-19 00:52:10 +0000 | [diff] [blame] | 7768 | .unlock = unlock_winbond_fwhub, |
Sean Nelson | 35727f7 | 2010-01-28 23:55:12 +0000 | [diff] [blame] | 7769 | .write = write_jedec_1, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7770 | .read = read_memmapped, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7771 | }, |
| 7772 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7773 | { |
Daniel Lenski | df90d3a | 2010-07-22 11:44:38 +0000 | [diff] [blame] | 7774 | .vendor = "AMIC", |
| 7775 | .name = "unknown AMIC SPI chip", |
| 7776 | .bustype = CHIP_BUSTYPE_SPI, |
| 7777 | .manufacture_id = AMIC_ID, |
| 7778 | .model_id = GENERIC_DEVICE_ID, |
| 7779 | .total_size = 0, |
| 7780 | .page_size = 256, |
| 7781 | .tested = TEST_BAD_PREW, |
| 7782 | .probe = probe_spi_rdid4, |
| 7783 | .probe_timing = TIMING_ZERO, |
| 7784 | .write = NULL, |
| 7785 | .read = NULL, |
| 7786 | }, |
| 7787 | |
| 7788 | { |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7789 | .vendor = "Atmel", |
| 7790 | .name = "unknown Atmel SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7791 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7792 | .manufacture_id = ATMEL_ID, |
| 7793 | .model_id = GENERIC_DEVICE_ID, |
| 7794 | .total_size = 0, |
| 7795 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7796 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7797 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7798 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7799 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7800 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7801 | }, |
| 7802 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7803 | { |
Carl-Daniel Hailfinger | f792c7d | 2010-07-28 22:20:20 +0000 | [diff] [blame] | 7804 | .vendor = "Eon", |
| 7805 | .name = "unknown Eon SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7806 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7807 | .manufacture_id = EON_ID_NOPREFIX, |
| 7808 | .model_id = GENERIC_DEVICE_ID, |
| 7809 | .total_size = 0, |
| 7810 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7811 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7812 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7813 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7814 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7815 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7816 | }, |
| 7817 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7818 | { |
| 7819 | .vendor = "Macronix", |
| 7820 | .name = "unknown Macronix SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7821 | .bustype = CHIP_BUSTYPE_SPI, |
Mattias Mattsson | 6eabe28 | 2010-09-15 23:31:03 +0000 | [diff] [blame] | 7822 | .manufacture_id = MACRONIX_ID, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7823 | .model_id = GENERIC_DEVICE_ID, |
| 7824 | .total_size = 0, |
| 7825 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7826 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7827 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7828 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7829 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7830 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7831 | }, |
| 7832 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7833 | { |
| 7834 | .vendor = "PMC", |
| 7835 | .name = "unknown PMC SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7836 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7837 | .manufacture_id = PMC_ID, |
| 7838 | .model_id = GENERIC_DEVICE_ID, |
| 7839 | .total_size = 0, |
| 7840 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7841 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7842 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7843 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7844 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7845 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7846 | }, |
| 7847 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7848 | { |
| 7849 | .vendor = "SST", |
| 7850 | .name = "unknown SST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7851 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7852 | .manufacture_id = SST_ID, |
| 7853 | .model_id = GENERIC_DEVICE_ID, |
| 7854 | .total_size = 0, |
| 7855 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7856 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7857 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7858 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7859 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7860 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7861 | }, |
| 7862 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7863 | { |
| 7864 | .vendor = "ST", |
| 7865 | .name = "unknown ST SPI chip", |
Carl-Daniel Hailfinger | 1dfe0ff | 2009-05-31 17:57:34 +0000 | [diff] [blame] | 7866 | .bustype = CHIP_BUSTYPE_SPI, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7867 | .manufacture_id = ST_ID, |
| 7868 | .model_id = GENERIC_DEVICE_ID, |
| 7869 | .total_size = 0, |
| 7870 | .page_size = 256, |
Carl-Daniel Hailfinger | 42882fd | 2009-04-22 13:33:43 +0000 | [diff] [blame] | 7871 | .tested = TEST_BAD_PREW, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7872 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 2bc020b | 2009-06-05 13:46:17 +0000 | [diff] [blame] | 7873 | .probe_timing = TIMING_ZERO, |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7874 | .write = NULL, |
Carl-Daniel Hailfinger | 03b4e71 | 2009-05-08 12:49:03 +0000 | [diff] [blame] | 7875 | .read = NULL, |
FENG yu ning | ff692fb | 2008-12-08 18:15:10 +0000 | [diff] [blame] | 7876 | }, |
Uwe Hermann | fc425e8 | 2008-03-16 02:06:25 +0000 | [diff] [blame] | 7877 | |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7878 | { |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7879 | .vendor = "Sanyo", |
| 7880 | .name = "unknown Sanyo SPI chip", |
| 7881 | .bustype = CHIP_BUSTYPE_SPI, |
| 7882 | .manufacture_id = SANYO_ID, |
| 7883 | .model_id = GENERIC_DEVICE_ID, |
| 7884 | .total_size = 0, |
| 7885 | .page_size = 256, |
| 7886 | .tested = TEST_BAD_PREW, |
| 7887 | .probe = probe_spi_rdid, |
| 7888 | .probe_timing = TIMING_ZERO, |
Sean Nelson | 118e1d6 | 2009-11-24 02:08:11 +0000 | [diff] [blame] | 7889 | .write = NULL, |
| 7890 | .read = NULL, |
| 7891 | }, |
| 7892 | |
| 7893 | { |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7894 | .vendor = "Generic", |
| 7895 | .name = "unknown SPI chip (RDID)", |
| 7896 | .bustype = CHIP_BUSTYPE_SPI, |
| 7897 | .manufacture_id = GENERIC_MANUF_ID, |
| 7898 | .model_id = GENERIC_DEVICE_ID, |
| 7899 | .total_size = 0, |
| 7900 | .page_size = 256, |
| 7901 | .tested = TEST_BAD_PREW, |
| 7902 | .probe = probe_spi_rdid, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7903 | .write = NULL, |
| 7904 | }, |
| 7905 | { |
| 7906 | .vendor = "Generic", |
| 7907 | .name = "unknown SPI chip (REMS)", |
| 7908 | .bustype = CHIP_BUSTYPE_SPI, |
| 7909 | .manufacture_id = GENERIC_MANUF_ID, |
| 7910 | .model_id = GENERIC_DEVICE_ID, |
| 7911 | .total_size = 0, |
| 7912 | .page_size = 256, |
| 7913 | .tested = TEST_BAD_PREW, |
| 7914 | .probe = probe_spi_rems, |
Carl-Daniel Hailfinger | 01d49ed | 2009-11-20 01:12:45 +0000 | [diff] [blame] | 7915 | .write = NULL, |
| 7916 | }, |
| 7917 | |
Stephan Guilloux | 5c5b525 | 2009-01-08 03:40:17 +0000 | [diff] [blame] | 7918 | { NULL } |
Stephan Guilloux | 72cf565 | 2009-04-21 01:46:07 +0000 | [diff] [blame] | 7919 | }; |