Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: flashchips.h

Issue 6791015: Support variable-size SPI chip for dummy programmer. (Closed) Base URL: ssh://gitrw.chromium.org:9222/flashrom.git@master
Patch Set: refine according to code review Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dummyflasher.c ('k') | flashchips.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the flashrom project. 2 * This file is part of the flashrom project.
3 * 3 *
4 * Copyright (C) 2000 Silicon Integrated System Corporation 4 * Copyright (C) 2000 Silicon Integrated System Corporation
5 * Copyright (C) 2000 Ronald G. Minnich <rminnich@gmail.com> 5 * Copyright (C) 2000 Ronald G. Minnich <rminnich@gmail.com>
6 * Copyright (C) 2005-2007 coresystems GmbH <stepan@coresystems.de> 6 * Copyright (C) 2005-2007 coresystems GmbH <stepan@coresystems.de>
7 * Copyright (C) 2006-2009 Carl-Daniel Hailfinger 7 * Copyright (C) 2006-2009 Carl-Daniel Hailfinger
8 * 8 *
9 * This program is free software; you can redistribute it and/or modify 9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by 10 * it under the terms of the GNU General Public License as published by
(...skipping 19 matching lines...) Expand all
30 * list of devices from that manufacturer (sorted by device IDs). 30 * list of devices from that manufacturer (sorted by device IDs).
31 * 31 *
32 * All LPC/FWH parts (parallel flash) have 8-bit device IDs if there is no 32 * All LPC/FWH parts (parallel flash) have 8-bit device IDs if there is no
33 * continuation code. 33 * continuation code.
34 * SPI parts have 16-bit device IDs if they support RDID. 34 * SPI parts have 16-bit device IDs if they support RDID.
35 */ 35 */
36 36
37 #define GENERIC_MANUF_ID 0xffff /* Check if there is a vendor ID */ 37 #define GENERIC_MANUF_ID 0xffff /* Check if there is a vendor ID */
38 #define GENERIC_DEVICE_ID 0xffff /* Only match the vendor ID */ 38 #define GENERIC_DEVICE_ID 0xffff /* Only match the vendor ID */
39 39
40 #define VARIABLE_SIZE_MANUF_ID 0x3eaf
41 #define VARIABLE_SIZE_DEVICE_ID 0x10af
42
40 #define ALLIANCE_ID 0x52 /* Alliance Semiconductor */ 43 #define ALLIANCE_ID 0x52 /* Alliance Semiconductor */
41 #define ALLIANCE_AS29F002B 0x34 44 #define ALLIANCE_AS29F002B 0x34
42 #define ALLIANCE_AS29F002T 0xB0 45 #define ALLIANCE_AS29F002T 0xB0
43 #define ALLIANCE_AS29F010 0x04 46 #define ALLIANCE_AS29F010 0x04
44 #define ALLIANCE_AS29F040 0xA4 47 #define ALLIANCE_AS29F040 0xA4
45 #define ALLIANCE_AS29F200B 0x57 48 #define ALLIANCE_AS29F200B 0x57
46 #define ALLIANCE_AS29F200T 0x51 49 #define ALLIANCE_AS29F200T 0x51
47 #define ALLIANCE_AS29LV160B 0x49 50 #define ALLIANCE_AS29LV160B 0x49
48 #define ALLIANCE_AS29LV160T 0xCA 51 #define ALLIANCE_AS29LV160T 0xCA
49 #define ALLIANCE_AS29LV400B 0xBA 52 #define ALLIANCE_AS29LV400B 0xBA
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 #define WINBOND_W39V080A 0xD0 632 #define WINBOND_W39V080A 0xD0
630 #define WINBOND_W39V080FA 0xD3 633 #define WINBOND_W39V080FA 0xD3
631 #define WINBOND_W39V080FA_DM 0x93 /* W39V080FA dual mode */ 634 #define WINBOND_W39V080FA_DM 0x93 /* W39V080FA dual mode */
632 #define WINBOND_W49F002 0x25 /* Same as W49F002B */ 635 #define WINBOND_W49F002 0x25 /* Same as W49F002B */
633 #define WINBOND_W49F002U 0x0B /* Same as W49F002N and ASD AE49F2008 */ 636 #define WINBOND_W49F002U 0x0B /* Same as W49F002N and ASD AE49F2008 */
634 #define WINBOND_W49F020 0x8C 637 #define WINBOND_W49F020 0x8C
635 #define WINBOND_W49V002A 0xB0 638 #define WINBOND_W49V002A 0xB0
636 #define WINBOND_W49V002FA 0x32 639 #define WINBOND_W49V002FA 0x32
637 640
638 #endif /* !FLASHCHIPS_H */ 641 #endif /* !FLASHCHIPS_H */
OLDNEW
« no previous file with comments | « dummyflasher.c ('k') | flashchips.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698