Add ICH9 detection to flashrom. Straight from the datasheet, untested.
[coreboot.git] / util / flashrom / flash.h
index f15ab21d7c4cfab05f52138bc6404749fcc9775e..930bf6dba990271f366d854b8884634518b8f348 100644 (file)
@@ -33,6 +33,7 @@
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
 
 struct flashchip {
+       const char *vendor;
        const char *name;
        /* With 32bit manufacture_id and model_id we can cover IDs up to
         * (including) the 4th bank of JEDEC JEP106W Standard Manufacturer's
@@ -275,6 +276,8 @@ extern struct flashchip flashchips[];
 #define W_39V040A              0x3D
 #define W_39V040B              0x54
 #define W_39V080A              0xD0
+#define W_39V080FA             0xD3
+#define W_39V080FA_DM          0x93
 #define W_49F002U              0x0B
 #define W_49V002A              0xB0
 #define W_49V002FA             0x32
@@ -413,6 +416,11 @@ int probe_sst_fwhub(struct flashchip *flash);
 int erase_sst_fwhub(struct flashchip *flash);
 int write_sst_fwhub(struct flashchip *flash, uint8_t *buf);
 
+/* w39V080fa.c */
+int probe_winbond_fwhub(struct flashchip *flash);
+int erase_winbond_fwhub(struct flashchip *flash);
+int write_winbond_fwhub(struct flashchip *flash, uint8_t *buf);
+
 /* w29ee011.c */
 int probe_w29ee011(struct flashchip *flash);