[coreboot-gerrit] New patch to review for coreboot: 1a43e82 cpu/intel/model_2065x/model_2065x_init.c: Unused variable warn

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Thu Jun 26 14:36:56 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6131

-gerrit

commit 1a43e820ba89c50fe9ba76aa182cc9f067febc16
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Thu Jun 26 22:34:59 2014 +1000

    cpu/intel/model_2065x/model_2065x_init.c: Unused variable warn
    
    Unused array 'power_limit_time_sec_to_msr', #if 0 out for now so Clang
    builds complete.
    
    Change-Id: I11397716b39de08f1226413019e3beeeeaac6149
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/cpu/intel/model_2065x/model_2065x_init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cpu/intel/model_2065x/model_2065x_init.c b/src/cpu/intel/model_2065x/model_2065x_init.c
index e73e237..3b58afd 100644
--- a/src/cpu/intel/model_2065x/model_2065x_init.c
+++ b/src/cpu/intel/model_2065x/model_2065x_init.c
@@ -164,6 +164,7 @@ static void enable_vmx(void)
 	wrmsr(IA32_FEATURE_CONTROL, msr);
 }
 
+#if 0
 /* Convert time in seconds to POWER_LIMIT_1_TIME MSR value */
 static const u8 power_limit_time_sec_to_msr[] = {
 	[0]   = 0x00,
@@ -221,6 +222,7 @@ static const u8 power_limit_time_msr_to_sec[] = {
 	[0x70] = 112,
 	[0x11] = 128,
 };
+#endif
 
 int cpu_config_tdp_levels(void)
 {



More information about the coreboot-gerrit mailing list