[coreboot-gerrit] New patch to review for coreboot: b604ab7 cpu/intel/fsp_model_206ax/model_206ax_init.c: Use macro `IS_ENABLED()`

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Tue Jul 8 23:19:19 CEST 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6227

-gerrit

commit b604ab7cb25d44d875d27661cf8bec2e8e0bbba2
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Tue Jul 8 23:13:05 2014 +0200

    cpu/intel/fsp_model_206ax/model_206ax_init.c: Use macro `IS_ENABLED()`
    
    Change-Id: I91cd84d155a2cb1200cb82c31256cfa743e8ea9b
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 src/cpu/intel/fsp_model_206ax/model_206ax_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/intel/fsp_model_206ax/model_206ax_init.c b/src/cpu/intel/fsp_model_206ax/model_206ax_init.c
index e242e40..d0b2d3d 100644
--- a/src/cpu/intel/fsp_model_206ax/model_206ax_init.c
+++ b/src/cpu/intel/fsp_model_206ax/model_206ax_init.c
@@ -40,7 +40,7 @@ static void enable_vmx(void)
 {
 	struct cpuid_result regs;
 	msr_t msr;
-	int enable = CONFIG_ENABLE_VMX;
+	int enable = IS_ENABLED(CONFIG_ENABLE_VMX);
 
 	regs = cpuid(1);
 	/* Check that the VMX is supported before reading or writing the MSR. */



More information about the coreboot-gerrit mailing list