diff options
author | Marshall Buschman <mbuschman@lucidmachines.com> | 2011-06-04 15:43:56 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-06-04 15:43:56 +0000 |
commit | eb92b5ad64fcc7cd5f7b7ada83df646e9340c6ae (patch) | |
tree | 1700f3dbee4202b6f6bb68f9aeffebb847e8d8fe /src/mainboard/asrock/e350m1 | |
parent | 5a403191cb1e2988f4d973a20fe15d969e637807 (diff) |
Port persimmon r6574 to e350m1: MMCONF size
Size mmconf according to CONFIG_MMCONF_BUS_NUMBER.
Signed-off-by: Marshall Buschman <mbuschman@lucidmachines.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6623 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asrock/e350m1')
-rw-r--r-- | src/mainboard/asrock/e350m1/agesawrapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/asrock/e350m1/agesawrapper.c b/src/mainboard/asrock/e350m1/agesawrapper.c index e946a3bd0a..4e3819a6c6 100644 --- a/src/mainboard/asrock/e350m1/agesawrapper.c +++ b/src/mainboard/asrock/e350m1/agesawrapper.c @@ -138,7 +138,8 @@ agesawrapper_amdinitmmio ( 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); /* |