[coreboot-gerrit] Patch set updated for coreboot: amd/model_fxx: fix code style in FID&VID support check
Urja Rannikko (urjaman@gmail.com)
gerrit at coreboot.org
Mon Nov 9 23:40:52 CET 2015
Urja Rannikko (urjaman at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12359
-gerrit
commit 26fa4a72d5e4733f8ba92a10f4a9bad278ad8539
Author: Urja Rannikko <urjaman at gmail.com>
Date: Sat Nov 7 15:40:56 2015 +0200
amd/model_fxx: fix code style in FID&VID support check
This is in AP code, fixed in preparation for copying
the same check to BSP.
Change-Id: I0750919d9fdb3d4e6666221ad82097e0c479cf14
Signed-off-by: Urja Rannikko <urjaman at gmail.com>
---
src/cpu/amd/model_fxx/fidvid.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/cpu/amd/model_fxx/fidvid.c b/src/cpu/amd/model_fxx/fidvid.c
index a005c46..9851e65 100644
--- a/src/cpu/amd/model_fxx/fidvid.c
+++ b/src/cpu/amd/model_fxx/fidvid.c
@@ -356,9 +356,8 @@ static void init_fidvid_ap(unsigned bsp_apicid, unsigned apicid)
u32 fid_max;
int loop;
- if((cpuid_edx(0x80000007)&0x06)!=0x06) {
+ if ((cpuid_edx(0x80000007) & 0x06) != 0x06)
return; /* FID/VID change not supported */
- }
msr = rdmsr(0xc0010042);
fid_max = ((msr.lo >> 16) & 0x3f); /* max fid */
More information about the coreboot-gerrit
mailing list