summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-03-30 18:53:12 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-04-09 10:55:27 +0200
commite5760af3980ea4c55afd7e759e8ca2a078a4a1dc (patch)
treea4b1aa8745470f90096005d72eda23ec2f290ab8
parent597cc45aa9fd89133c1e4d2f58df05dee9c45402 (diff)
downloadcoreboot-e5760af3980ea4c55afd7e759e8ca2a078a4a1dc.tar.xz
cpu/amd/car: Use define MSR_MCFG_BASE rather than hardcoded value
Change-Id: I0b40c9811115b204f1cae70546d236049c1b3d30 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5431 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r--src/cpu/amd/car/cache_as_ram.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/amd/car/cache_as_ram.inc b/src/cpu/amd/car/cache_as_ram.inc
index 8f0abce1a5..dd02f6c734 100644
--- a/src/cpu/amd/car/cache_as_ram.inc
+++ b/src/cpu/amd/car/cache_as_ram.inc
@@ -160,7 +160,7 @@ CAR_FAM10_out:
#else
#error "bad MMCONF_BUS_NUMBER value"
#endif
- movl $(0xc0010058), %ecx
+ movl $MSR_MCFG_BASE, %ecx
wrmsr
#endif