[coreboot] [commit] r6574 - trunk/src/mainboard/amd/persimmon
repository service
svn at coreboot.org
Sun May 15 23:11:42 CEST 2011
Author: mjones
Date: Sun May 15 23:11:41 2011
New Revision: 6574
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6574
Log:
Size mmconf according to CONFIG_MMCONF_BUS_NUMBER.
Signed-off-by: Scott Duplichan <scott at notabs.org>
Acked-by: Marc Jones <marcj303 at gmail.com>
Modified:
trunk/src/mainboard/amd/persimmon/agesawrapper.c
Modified: trunk/src/mainboard/amd/persimmon/agesawrapper.c
==============================================================================
--- trunk/src/mainboard/amd/persimmon/agesawrapper.c Sun May 15 23:10:20 2011 (r6573)
+++ trunk/src/mainboard/amd/persimmon/agesawrapper.c Sun May 15 23:11:41 2011 (r6574)
@@ -138,7 +138,8 @@
Set the MMIO Configuration Base Address and Bus Range onto MMIO configuration base
Address MSR register.
*/
- MsrReg = CONFIG_MMCONF_BASE_ADDRESS | (8 << 2) | 1;
+
+ MsrReg = CONFIG_MMCONF_BASE_ADDRESS | (LibAmdBitScanReverse (CONFIG_MMCONF_BUS_NUMBER) << 2) | 1;
LibAmdMsrWrite (0xC0010058, &MsrReg, &StdHeader);
/*
More information about the coreboot
mailing list