diff options
-rw-r--r-- | src/soc/intel/fsp_baytrail/tsc_freq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/intel/fsp_baytrail/tsc_freq.c b/src/soc/intel/fsp_baytrail/tsc_freq.c index b74e41ea31..da7e96590c 100644 --- a/src/soc/intel/fsp_baytrail/tsc_freq.c +++ b/src/soc/intel/fsp_baytrail/tsc_freq.c @@ -21,11 +21,6 @@ #include <cpu/x86/msr.h> #include <cpu/x86/tsc.h> #include <baytrail/msr.h> -#if !defined(__PRE_RAM__) -#include <baytrail/ramstage.h> -#else -#include <baytrail/romstage.h> -#endif unsigned bus_freq_khz(void) { @@ -57,6 +52,11 @@ unsigned long tsc_freq_mhz(void) } #if !defined(__SMM__) +#if !defined(__PRE_RAM__) +#include <baytrail/ramstage.h> +#else +#include <baytrail/romstage.h> +#endif void set_max_freq(void) { |