diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-16 23:42:17 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-16 23:42:17 +0000 |
commit | 05fab75d73019f430c16ad9a9d3800f8e7e40173 (patch) | |
tree | 624f3ce65874af8c557c6e282a11bad7fc026e94 /flash.h | |
parent | 09e04f74c3c569427289fefd67157f2ae256d2cc (diff) | |
download | ast2050-flashrom-05fab75d73019f430c16ad9a9d3800f8e7e40173.zip ast2050-flashrom-05fab75d73019f430c16ad9a9d3800f8e7e40173.tar.gz |
List all boards which are
- Supported out of the box (no flash enables required)
- Verifiably not yet working (unknown flash enable)
Also, move some structs to flash.h in preparation for later wiki
output support.
Corresponding to flashrom svn r523.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 46 |
1 files changed, 46 insertions, 0 deletions
@@ -168,6 +168,52 @@ struct flashchip { extern struct flashchip flashchips[]; +struct penable { + uint16_t vendor_id; + uint16_t device_id; + int status; + const char *vendor_name; + const char *device_name; + int (*doit) (struct pci_dev *dev, const char *name); +}; + +extern const struct penable chipset_enables[]; + +struct board_pciid_enable { + /* Any device, but make it sensible, like the ISA bridge. */ + uint16_t first_vendor; + uint16_t first_device; + uint16_t first_card_vendor; + uint16_t first_card_device; + + /* Any device, but make it sensible, like + * the host bridge. May be NULL. + */ + uint16_t second_vendor; + uint16_t second_device; + uint16_t second_card_vendor; + uint16_t second_card_device; + + /* The vendor / part name from the coreboot table. */ + const char *lb_vendor; + const char *lb_part; + + const char *vendor_name; + const char *board_name; + + int (*enable) (const char *name); +}; + +extern struct board_pciid_enable board_pciid_enables[]; + +struct board_info { + const char *vendor; + const char *name; +}; + +extern const struct board_info boards_ok[]; +extern const struct board_info boards_bad[]; + /* * Please keep this list sorted alphabetically by manufacturer. The first * entry of each section should be the manufacturer ID, followed by the |