Enable ROM decode range to 1MB for vt8237r
Corresponding to flashrom svn r220 and coreboot v2 svn r3275.
Signed-off-by: Bari Ari <bari@onelabs.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
diff --git a/chipset_enable.c b/chipset_enable.c
index 436036e..77a132a 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -234,6 +234,9 @@
{
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;