FreeCalypso > hg > freecalypso-tools
comparison loadtools/fldevs.c @ 559:f229efbfd581
fc-loadtool: added support for S29PL032J/S71PL032J flash
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 30 Jan 2020 06:03:42 +0000 |
parents | 3886a8a40809 |
children | dbbafb1f33f3 |
comparison
equal
deleted
inserted
replaced
558:a59a7f838fce | 559:f229efbfd581 |
---|---|
239 .cmdset = &flash_cmdset_amd, | 239 .cmdset = &flash_cmdset_amd, |
240 }; | 240 }; |
241 | 241 |
242 /* Spansion S71PL-J and S71PL-N flash */ | 242 /* Spansion S71PL-J and S71PL-N flash */ |
243 | 243 |
244 static struct cfi_check spansion_PL032J_cfi[] = { | |
245 {0x10, 'Q'}, | |
246 {0x11, 'R'}, | |
247 {0x12, 'Y'}, | |
248 {0x13, 0x02}, | |
249 {0x14, 0x00}, | |
250 {0x15, 0x40}, | |
251 {0x16, 0x00}, | |
252 {0x27, 0x16}, | |
253 {0x2C, 0x03}, | |
254 {0x2D, 0x07}, | |
255 {0x2E, 0x00}, | |
256 {0x2F, 0x20}, | |
257 {0x30, 0x00}, | |
258 {0x31, 0x3D}, | |
259 {0x32, 0x00}, | |
260 {0x33, 0x00}, | |
261 {0x34, 0x01}, | |
262 {0x35, 0x07}, | |
263 {0x36, 0x00}, | |
264 {0x37, 0x20}, | |
265 {0x38, 0x00}, | |
266 {0x40, 'P'}, | |
267 {0x41, 'R'}, | |
268 {0x42, 'I'}, | |
269 {0x43, '1'}, | |
270 {0x44, '3'}, | |
271 {-1, 0} | |
272 }; | |
273 | |
274 struct flash_device flashdev_PL032J = { | |
275 .name = "Spansion S29PL032J", | |
276 .cfi_table = spansion_PL032J_cfi, | |
277 .required_global_config = FLASH_GLOBAL_CFG_SINGLE_4M, | |
278 .bank_geom = {&geom_4M_bothends, 0}, | |
279 .cmdset = &flash_cmdset_amd, | |
280 }; | |
281 | |
282 /* S29PL064J/S71PL064J is identical to Am29DL640G covered above */ | |
283 | |
244 static struct cfi_check spansion_PL129J_cfi[] = { | 284 static struct cfi_check spansion_PL129J_cfi[] = { |
245 {0x10, 'Q'}, | 285 {0x10, 'Q'}, |
246 {0x11, 'R'}, | 286 {0x11, 'R'}, |
247 {0x12, 'Y'}, | 287 {0x12, 'Y'}, |
248 {0x13, 0x02}, | 288 {0x13, 0x02}, |