intel/fsp_baytrail: fix error "unknown type device_t", when SMM Module added

Change-Id: I6d8622c7f343619b915442d8056aa6672dfc4f6e
Signed-off-by: Kayalvizhi Dhandapani <kayalvizhid@ami.com>
Reviewed-on: http://review.coreboot.org/7025
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <gaumless@gmail.com>
This commit is contained in:
Kayalvizhi Dhandapani 2014-10-07 14:11:20 -04:00 committed by Marc Jones
parent 454625c5cf
commit a16055ae8a
1 changed files with 5 additions and 5 deletions

View File

@ -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)
{