summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r--util/flashrom/flash.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index e1e5934692..4b571625ff 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -59,10 +59,13 @@ extern struct flashchip flashchips[];
* entry of each section should be the manufacturer ID, followed by the
* list of devices from that manufacturer (sorted by device IDs).
*
- * All LPC/FWH parts (parallel flash) have 8-bit device IDs.
+ * All LPC/FWH parts (parallel flash) have 8-bit device IDs if there is no
+ * continuation code.
* All SPI parts have 16-bit device IDs.
*/
+#define GENERIC_DEVICE_ID 0xffff /* Only match the vendor ID */
+
#define ALLIANCE_ID 0x52 /* Alliance Semiconductor */
#define AMD_ID 0x01 /* AMD */