From 01d49ed39db2c182c1788d73f4b50e4af3513679 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Fri, 20 Nov 2009 01:12:45 +0000 Subject: Add support for generic RDID and REMS matching of unknown chips If a chip is not on the RDID generic vendor list nor on the REMS specific ID list, flashrom will claim that no chip is there. Handle these cases gracefully. flashrom will ignore generic matches if a specific chip was found, so this will have no impact on supported chips, but help a lot for a first quick analysis by the user or developer. The only drawback is that unknown chips may be recognized multiple times until they are added to flashchips.[ch]. Corresponding to flashrom svn r767. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Marc Jones --- flashchips.h | 1 + 1 file changed, 1 insertion(+) (limited to 'flashchips.h') diff --git a/flashchips.h b/flashchips.h index 81ce250..95277e6 100644 --- a/flashchips.h +++ b/flashchips.h @@ -34,6 +34,7 @@ * SPI parts have 16-bit device IDs if they support RDID. */ +#define GENERIC_MANUF_ID 0xffff /* Check if there is a vendor ID */ #define GENERIC_DEVICE_ID 0xffff /* Only match the vendor ID */ #define ALLIANCE_ID 0x52 /* Alliance Semiconductor */ -- cgit v1.1