From acb9c0b6616f96357c303964678eac05177a078d Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 2 Jul 2015 11:55:18 -0700 Subject: Braswell: Update to end of June. Remove some CamelCase in acpi.c Add FSP PcdDvfsEnable configuration parameter. Add lpc_init and lpc_set_low_power routines. Remove Braswell reference to make code easier to port to another SOC. BRANCH=none BUG=None TEST=Build and run on cyan Change-Id: I5063215fc5d19b4a07f3161f76bf3d58e30f6f02 Signed-off-by: Lee Leahy Reviewed-on: http://review.coreboot.org/10768 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/intel/braswell/tsc_freq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/braswell/tsc_freq.c') diff --git a/src/soc/intel/braswell/tsc_freq.c b/src/soc/intel/braswell/tsc_freq.c index e7a1c13f51..34e610f60b 100644 --- a/src/soc/intel/braswell/tsc_freq.c +++ b/src/soc/intel/braswell/tsc_freq.c @@ -20,6 +20,7 @@ #include #include +#include #include #include #if ENV_RAMSTAGE @@ -37,7 +38,7 @@ unsigned long tsc_freq_mhz(void) return (BUS_FREQ_KHZ * ((ia_core_ratios.lo >> 16) & 0x3f)) / 1000; } -#if !defined(__SMM__) +#if !ENV_SMM void set_max_freq(void) { @@ -67,4 +68,4 @@ void set_max_freq(void) wrmsr(MSR_IA32_PERF_CTL, perf_ctl); } -#endif /* __SMM__ */ +#endif /* ENV_SMM */ -- cgit v1.2.3