flashrom: Enable ROM decode range to 1MB for vt8237r
Signed-off-by: Bari Ari <bari@onelabs.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3275 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
b19973eb8b
commit
e21f836e4e
|
@ -234,6 +234,9 @@ static int enable_flash_vt823x(struct pci_dev *dev, const char *name)
|
|||
{
|
||||
uint8_t val;
|
||||
|
||||
/* enable ROM decode range (1MB) FFC00000 - FFFFFFFF*/
|
||||
pci_write_byte(dev, 0x41, 0x7f);
|
||||
|
||||
/* ROM write enable */
|
||||
val = pci_read_byte(dev, 0x40);
|
||||
val |= 0x10;
|
||||
|
|
Loading…
Reference in New Issue