diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-10-25 18:03:50 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-10-25 18:03:50 +0000 |
commit | 190f8497d7f3bd354841ffc040e6d5115fda3b12 (patch) | |
tree | 0737dc79a6e2d338655d33e3aeffbb8f9daee937 | |
parent | 1b0f61f80b38aa3057468e1d040e28334dafb6ce (diff) | |
download | flashrom-190f8497d7f3bd354841ffc040e6d5115fda3b12.tar.gz flashrom-190f8497d7f3bd354841ffc040e6d5115fda3b12.tar.bz2 flashrom-190f8497d7f3bd354841ffc040e6d5115fda3b12.zip |
Add support for the VIA VT82C586A/B chipset, improve documentation
Corresponding to flashrom svn r328 and coreboot v2 svn r3693.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-rw-r--r-- | chipset_enable.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chipset_enable.c b/chipset_enable.c index 86c731b0..afac42ed 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -570,6 +570,7 @@ static int enable_flash_sis5595(struct pci_dev *dev, const char *name) return 0; } +/* Works for AMD-8111, VIA VT82C586A/B, VIA VT82C686A/B. */ static int enable_flash_amd8111(struct pci_dev *dev, const char *name) { uint8_t old, new; @@ -584,6 +585,7 @@ static int enable_flash_amd8111(struct pci_dev *dev, const char *name) } } + /* Enable 'ROM write' bit. */ old = pci_read_byte(dev, 0x40); new = old | 0x01; if (new == old) @@ -782,7 +784,8 @@ static const FLASH_ENABLE enables[] = { {0x1106, 0x3227, "VIA VT8237", enable_flash_vt823x}, {0x1106, 0x3372, "VIA VT8237S", enable_flash_vt8237s_spi}, {0x1106, 0x8324, "VIA CX700", enable_flash_vt823x}, - {0x1106, 0x0686, "VIA VT82C686", enable_flash_amd8111}, + {0x1106, 0x0586, "VIA VT82C586A/B", enable_flash_amd8111}, + {0x1106, 0x0686, "VIA VT82C686A/B", enable_flash_amd8111}, {0x1078, 0x0100, "AMD CS5530(A)", enable_flash_cs5530}, {0x100b, 0x0510, "AMD SC1100", enable_flash_sc1100}, {0x1039, 0x0008, "SiS5595", enable_flash_sis5595}, |