arch/x86: Drop some __SMM__ guards
Change-Id: I64063bbae5b44f1f24566609a7f770c6d5f69fac Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36637 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
44f1af2996
commit
82c0e7e3d5
@@ -79,12 +79,9 @@
|
||||
#define PSS_LATENCY_BUSMASTER 10
|
||||
|
||||
#ifndef __ROMCC__
|
||||
#ifdef __SMM__
|
||||
/* Lock MSRs */
|
||||
void intel_model_406dx_finalize_smm(void);
|
||||
#else
|
||||
int cpu_config_tdp_levels(void);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* _CPU_INTEL_MODEL_406DX_H */
|
||||
|
@@ -69,14 +69,12 @@
|
||||
#define PSS_LATENCY_TRANSITION 10
|
||||
#define PSS_LATENCY_BUSMASTER 10
|
||||
|
||||
#ifdef __SMM__
|
||||
/* Lock MSRs */
|
||||
void intel_model_2065x_finalize_smm(void);
|
||||
#else
|
||||
|
||||
/* Configure power limits for turbo mode */
|
||||
void set_power_limits(u8 power_limit_1_time);
|
||||
int cpu_config_tdp_levels(void);
|
||||
#endif
|
||||
|
||||
/* Sanity check config options. */
|
||||
#if (CONFIG_SMM_TSEG_SIZE <= CONFIG_SMM_RESERVED_SIZE)
|
||||
|
@@ -93,14 +93,12 @@
|
||||
# error "CONFIG_IED_REGION_SIZE is not a power of 2"
|
||||
#endif
|
||||
|
||||
#ifdef __SMM__
|
||||
/* Lock MSRs */
|
||||
void intel_model_206ax_finalize_smm(void);
|
||||
#else
|
||||
|
||||
/* Configure power limits for turbo mode */
|
||||
void set_power_limits(u8 power_limit_1_time);
|
||||
int cpu_config_tdp_levels(void);
|
||||
#endif
|
||||
int get_platform_id(void);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user