From 2ddb1a177ada3b9edd327fe7e74e4891e462a6f0 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 17 Aug 2017 01:10:42 -0700 Subject: 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 --- arch/x86/cpu/turbo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/x86/cpu') diff --git a/arch/x86/cpu/turbo.c b/arch/x86/cpu/turbo.c index bbd255efc0..c0bff75c4f 100644 --- a/arch/x86/cpu/turbo.c +++ b/arch/x86/cpu/turbo.c @@ -14,7 +14,7 @@ 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) { return TURBO_UNKNOWN; -- cgit From 81c727d86c959e1f5f2d234d21aa59e98b9ed835 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 17 Aug 2017 01:10:43 -0700 Subject: x86: baytrail: Fix turbo enable CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED must be turned on for Baytrail. Signed-off-by: Bin Meng --- arch/x86/cpu/baytrail/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/x86/cpu') diff --git a/arch/x86/cpu/baytrail/Kconfig b/arch/x86/cpu/baytrail/Kconfig index 75dbbc27f1..1d876b1927 100644 --- a/arch/x86/cpu/baytrail/Kconfig +++ b/arch/x86/cpu/baytrail/Kconfig @@ -8,6 +8,7 @@ config INTEL_BAYTRAIL bool select HAVE_FSP if !EFI select ARCH_MISC_INIT if !EFI + select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED imply HAVE_INTEL_ME if !EFI imply ENABLE_MRC_CACHE imply AHCI_PCI -- cgit From 438505fe696b176cbf56cd34db870e04027d3531 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Sun, 20 Aug 2017 04:33:46 -0700 Subject: x86: tangier: kconfig: Guard tangier-specific options These options should not be exposed to other platforms. Signed-off-by: Bin Meng Acked-by: Andy Shevchenko --- arch/x86/cpu/tangier/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/x86/cpu') diff --git a/arch/x86/cpu/tangier/Kconfig b/arch/x86/cpu/tangier/Kconfig index 86a334047c..2469b1e7c7 100644 --- a/arch/x86/cpu/tangier/Kconfig +++ b/arch/x86/cpu/tangier/Kconfig @@ -16,6 +16,8 @@ config INTEL_TANGIER imply USB imply USB_DWC3 +if INTEL_TANGIER + config SYS_CAR_ADDR hex default 0x19200000 @@ -30,3 +32,5 @@ config SYS_CAR_SIZE config SYS_USB_OTG_BASE hex default 0xf9100000 + +endif -- cgit