- Use an SMBUS_IO_BASE value that will not conflict with an automatically assigned value
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@955 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
548593ad66
commit
3d3f438937
|
@ -1,4 +1,4 @@
|
||||||
#define SMBUS_IO_BASE 0x1000
|
#define SMBUS_IO_BASE 0x0f00
|
||||||
|
|
||||||
#define SMBGSTATUS 0xe0
|
#define SMBGSTATUS 0xe0
|
||||||
#define SMBGCTL 0xe2
|
#define SMBGCTL 0xe2
|
||||||
|
|
|
@ -7,7 +7,7 @@ static void amd8111_enable_rom(void)
|
||||||
/* Enable 4MB rom access at 0xFFC00000 - 0xFFFFFFFF */
|
/* Enable 4MB rom access at 0xFFC00000 - 0xFFFFFFFF */
|
||||||
/* Locate the amd8111 */
|
/* Locate the amd8111 */
|
||||||
addr = pci_locate_device(PCI_ID(0x1022, 0x7468), 0);
|
addr = pci_locate_device(PCI_ID(0x1022, 0x7468), 0);
|
||||||
|
|
||||||
/* Set the 4MB enable bit bit */
|
/* Set the 4MB enable bit bit */
|
||||||
byte = pci_read_config8(addr, 0x43);
|
byte = pci_read_config8(addr, 0x43);
|
||||||
byte |= 0x80;
|
byte |= 0x80;
|
||||||
|
|
Loading…
Reference in New Issue