Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/79148?usp=email )
Change subject: cpu/intel/model_206ax: Use macro ......................................................................
cpu/intel/model_206ax: Use macro
Use existing macro instead of open coding magic numbers. No functionality change.
Change-Id: If45f7f3f2b4226cedde6ff91b9848b9875f45f9f Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/cpu/intel/model_206ax/model_206ax_init.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/79148/1
diff --git a/src/cpu/intel/model_206ax/model_206ax_init.c b/src/cpu/intel/model_206ax/model_206ax_init.c index 338844f..c6a4e50 100644 --- a/src/cpu/intel/model_206ax/model_206ax_init.c +++ b/src/cpu/intel/model_206ax/model_206ax_init.c @@ -221,7 +221,7 @@ /* Secondary Plane Current Limit */ msr = rdmsr(MSR_PP1_CURRENT_CONFIG); msr.lo &= ~0x1fff; - if (cpuid_eax(1) >= 0x30600) + if (IS_IVY_CPU(cpu_get_cpuid())) msr.lo |= PP1_CURRENT_LIMIT_IVB; else msr.lo |= PP1_CURRENT_LIMIT_SNB;