From e5760af3980ea4c55afd7e759e8ca2a078a4a1dc Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 30 Mar 2014 18:53:12 +0200 Subject: [PATCH] cpu/amd/car: Use define MSR_MCFG_BASE rather than hardcoded value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0b40c9811115b204f1cae70546d236049c1b3d30 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/5431 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Reviewed-by: Alexandru Gagniuc --- src/cpu/amd/car/cache_as_ram.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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