Commit 9477c4ec authored by Bari Ari's avatar Bari Ari Committed by Stefan Reinauer
Browse files

Enable ROM decode range to 1MB for vt8237r


Corresponding to flashrom svn r220 and coreboot v2 svn r3275.
Signed-off-by: default avatarBari Ari <bari@onelabs.com>
Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
parent a7b3551b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment