Size mmconf according to CONFIG_MMCONF_BUS_NUMBER.
Signed-off-by: Scott Duplichan <scott@notabs.org> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6574 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
b0b4063d6a
commit
6719c23a47
|
@ -138,7 +138,8 @@ agesawrapper_amdinitmmio (
|
||||||
Set the MMIO Configuration Base Address and Bus Range onto MMIO configuration base
|
Set the MMIO Configuration Base Address and Bus Range onto MMIO configuration base
|
||||||
Address MSR register.
|
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);
|
LibAmdMsrWrite (0xC0010058, &MsrReg, &StdHeader);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue