1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-05 07:40:40 +02:00

Enable LPC decoding for 1 MB more addresss, for supporting SST49LF00xA/B

Corresponding to flashrom svn r28 and coreboot v2 svn r1813.
This commit is contained in:
Ollie Lho
2004-12-07 17:19:04 +00:00
parent 98bea8aba5
commit d11f361808
3 changed files with 8 additions and 12 deletions

View File

@ -224,10 +224,9 @@ static int enable_flash_amd8111(struct pci_dev *dev, char *name)
* that it is hard to argue that we should quit at this point.
*/
//dump_pci_device(dev);
/* enable decoding at 0xffb00000 to 0xffffffff */
old = pci_read_byte(dev, 0x43);
new = old | 0x80;
new = old | 0xC0;
if (new != old) {
pci_write_byte(dev, 0x43, new);
if (pci_read_byte(dev, 0x43) != new) {