diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/include/arch/cpu.h | 4 | ||||
-rw-r--r-- | src/include/cpu/cpu.h | 4 | ||||
-rw-r--r-- | src/mainboard/siemens/sitemp_g1p1/mainboard.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index faa237565c..578bb07369 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -163,6 +163,10 @@ int cpu_cpuid_extended_level(void); int cpu_have_cpuid(void); int cpu_phys_address_size(void); +void smm_init(void); +void smm_lock(void); +void smm_setup_structures(void *gnvs, void *tcg, void *smi1); + #ifndef __SIMPLE_DEVICE__ struct device; diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h index bf622d75d6..3256a83ec6 100644 --- a/src/include/cpu/cpu.h +++ b/src/include/cpu/cpu.h @@ -9,10 +9,6 @@ struct bus; void initialize_cpus(struct bus *cpu_bus); void asmlinkage secondary_cpu_init(unsigned int cpu_index); -void smm_init(void); -void smm_lock(void); -void smm_setup_structures(void *gnvs, void *tcg, void *smi1); - #define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver"))) #ifndef __SIMPLE_DEVICE__ /** start of compile time generated pci driver array */ diff --git a/src/mainboard/siemens/sitemp_g1p1/mainboard.c b/src/mainboard/siemens/sitemp_g1p1/mainboard.c index 736ef3431e..1f266a7a00 100644 --- a/src/mainboard/siemens/sitemp_g1p1/mainboard.c +++ b/src/mainboard/siemens/sitemp_g1p1/mainboard.c @@ -760,7 +760,7 @@ static void detect_hw_variant( device_t dev ) } } -static void smm_lock( void ) +void smm_lock(void) { /* LOCK the SMM memory window and enable normal SMM. * After running this function, only a full reset can |