mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-27 17:41:34 +00:00
x86: Convert CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED to Kconfig
This converts CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED to a Kconfig option. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
5091a8b04d
commit
2ddb1a177a
3 changed files with 8 additions and 2 deletions
|
@ -529,6 +529,13 @@ config AP_STACK_SIZE
|
||||||
the memory used by this initialisation process. Typically 4KB is
|
the memory used by this initialisation process. Typically 4KB is
|
||||||
enough space.
|
enough space.
|
||||||
|
|
||||||
|
config CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
This option indicates that the turbo mode setting is not package
|
||||||
|
scoped. i.e. turbo_enable() needs to be called on not just the
|
||||||
|
bootstrap processor (BSP).
|
||||||
|
|
||||||
config HAVE_VGA_BIOS
|
config HAVE_VGA_BIOS
|
||||||
bool "Add a VGA BIOS image"
|
bool "Add a VGA BIOS image"
|
||||||
help
|
help
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
#if CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
|
#ifdef CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
|
||||||
static inline int get_global_turbo_state(void)
|
static inline int get_global_turbo_state(void)
|
||||||
{
|
{
|
||||||
return TURBO_UNKNOWN;
|
return TURBO_UNKNOWN;
|
||||||
|
|
|
@ -338,7 +338,6 @@ CONFIG_CPU_HAS_PREFETCH
|
||||||
CONFIG_CPU_HAS_SMARTMIPS
|
CONFIG_CPU_HAS_SMARTMIPS
|
||||||
CONFIG_CPU_HAS_SR_RB
|
CONFIG_CPU_HAS_SR_RB
|
||||||
CONFIG_CPU_HAS_WB
|
CONFIG_CPU_HAS_WB
|
||||||
CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
|
|
||||||
CONFIG_CPU_LITTLE_ENDIAN
|
CONFIG_CPU_LITTLE_ENDIAN
|
||||||
CONFIG_CPU_MICROMIPS
|
CONFIG_CPU_MICROMIPS
|
||||||
CONFIG_CPU_MIPSR2
|
CONFIG_CPU_MIPSR2
|
||||||
|
|
Loading…
Add table
Reference in a new issue