kayalvizhi dhandapani (kayalvizhid@ami.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7025
-gerrit
commit df66999ff8b8e19ae041d5122bf1cf9e5bc56a3b Author: Kayalvizhi Dhandapani kayalvizhid@ami.com Date: Tue Oct 7 14:11:20 2014 -0400
intel/fsp_baytrail: fix error "unknown type device_t", when SMM Module added
Change-Id: I6d8622c7f343619b915442d8056aa6672dfc4f6e Signed-off-by: Kayalvizhi Dhandapani kayalvizhid@ami.com --- src/soc/intel/fsp_baytrail/tsc_freq.c | 10 +++++----- 1 file 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 b74e41e..da7e965 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) {