summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-01-04 16:22:09 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-01-04 16:22:09 +0000
commitb5f9bd6ac974003df255358ef89d8bcb2b496789 (patch)
tree1f7130fa75659fbf10a6f84e35a3635a6b4dd8ca /util/flashrom/flash.h
parent717f66d1ebc4e6ae6e590ec081ae7a8ba698b37f (diff)
downloadcoreboot-b5f9bd6ac974003df255358ef89d8bcb2b496789.tar.xz
Print at least the vendor for SPI flash chips if the exact chip ID is
unknown. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3032 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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 */