summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBari Ari <bari@onelabs.com>2008-04-29 13:46:38 +0000
committerStefan Reinauer <stepan@openbios.org>2008-04-29 13:46:38 +0000
commite21f836e4e65dd60c369e40ee7a38b17ccb20e44 (patch)
tree4127cee3d8deecb63ab5d58b7284ad4d9c3a7798
parentb19973eb8b39a5267790e2458bab3ef3180ae06a (diff)
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
-rw-r--r--util/flashrom/chipset_enable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/flashrom/chipset_enable.c b/util/flashrom/chipset_enable.c
index 436036ed02..77a132a49f 100644
--- a/util/flashrom/chipset_enable.c
+++ b/util/flashrom/chipset_enable.c
@@ -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;