diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-01-04 16:22:09 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-01-04 16:22:09 +0000 |
commit | e973b05710de68556dd5b7f336816b03d2b0e691 (patch) | |
tree | 0bd46b9d23079b543465fa2249887f6b6dc86590 /flash.h | |
parent | 2736e328320cbf524b3e5e93847cb4167062de7c (diff) | |
download | flashrom-e973b05710de68556dd5b7f336816b03d2b0e691.tar.gz flashrom-e973b05710de68556dd5b7f336816b03d2b0e691.tar.bz2 flashrom-e973b05710de68556dd5b7f336816b03d2b0e691.zip |
Print at least the vendor for SPI flash chips if the exact chip ID is unknown
Corresponding to flashrom svn r173 and coreboot v2 svn r3032.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |