mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
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>
This commit is contained in:
parent
a7b3551bbc
commit
9477c4eca5
@ -234,6 +234,9 @@ static int enable_flash_vt823x(struct pci_dev *dev, const char *name)
|
|||||||
{
|
{
|
||||||
uint8_t val;
|
uint8_t val;
|
||||||
|
|
||||||
|
/* enable ROM decode range (1MB) FFC00000 - FFFFFFFF*/
|
||||||
|
pci_write_byte(dev, 0x41, 0x7f);
|
||||||
|
|
||||||
/* ROM write enable */
|
/* ROM write enable */
|
||||||
val = pci_read_byte(dev, 0x40);
|
val = pci_read_byte(dev, 0x40);
|
||||||
val |= 0x10;
|
val |= 0x10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user