summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-07-15 14:39:35 +0100
committermgross <mark.gross@intel.com>2011-11-09 12:36:41 -0800
commit488451c059cc634d04a668206e9091f8851851aa (patch)
treeb94975d3083a4e3cf49165df0073c81ce2f9b421
parenteb7caf77a2e08b213e144fc600dc24d6ed38bcaf (diff)
downloadkernel-mfld-blackbay-488451c059cc634d04a668206e9091f8851851aa.tar.gz
kernel-mfld-blackbay-488451c059cc634d04a668206e9091f8851851aa.tar.bz2
kernel-mfld-blackbay-488451c059cc634d04a668206e9091f8851851aa.zip
config: Update dependancies for multi MID devices
We have some stuff shared between Moorestown and Medfield so mark the Kconfig entries for them as requiring X86_INTEL_MID Change-Id: I26b87b5e96264c4e0758465cc4f79947491f8b38 Signed-off-by: Alan Cox <alan@linux.intel.com>
-rw-r--r--arch/x86/Kconfig4
-rw-r--r--arch/x86/include/asm/fixmap.h2
-rw-r--r--arch/x86/include/asm/setup.h2
-rw-r--r--arch/x86/pci/Makefile2
-rw-r--r--arch/x86/platform/mrst/Makefile1
-rw-r--r--drivers/idle/intel_idle.c4
-rw-r--r--drivers/pci/Makefile2
-rw-r--r--drivers/platform/x86/Kconfig2
-rw-r--r--drivers/rtc/Kconfig4
-rw-r--r--drivers/staging/gma500/mrst_lvds.c2
10 files changed, 13 insertions, 12 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 80ef4196d3b..ece4aac1336 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -626,8 +626,8 @@ config HPET_EMULATE_RTC
depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
config APB_TIMER
- def_bool y if MRST
- prompt "Langwell APB Timer Support" if X86_MRST
+ def_bool y if X86_INTEL_MID
+ prompt "Intel MID platform APB Timer Support" if X86_INTEL_MID
help
APB timer is the replacement for 8254, HPET on X86 MID platforms.
The APBT provides a stable time base on SMP
diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fixmap.h
index 4729b2b6311..1d8741d63b8 100644
--- a/arch/x86/include/asm/fixmap.h
+++ b/arch/x86/include/asm/fixmap.h
@@ -116,7 +116,7 @@ enum fixed_addresses {
#endif
FIX_TEXT_POKE1, /* reserve 2 pages for text_poke() */
FIX_TEXT_POKE0, /* first page is last, because allocation is backward */
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_INTEL_MID
FIX_LNW_VRTC,
#endif
__end_of_permanent_fixed_addresses,
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h
index 9756551ec76..d0f19f9fb84 100644
--- a/arch/x86/include/asm/setup.h
+++ b/arch/x86/include/asm/setup.h
@@ -47,7 +47,7 @@ extern void reserve_standard_io_resources(void);
extern void i386_reserve_resources(void);
extern void setup_default_timer_irq(void);
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_INTEL_MID
extern void x86_mrst_early_setup(void);
#else
static inline void x86_mrst_early_setup(void) { }
diff --git a/arch/x86/pci/Makefile b/arch/x86/pci/Makefile
index 6b8759f7634..75b06f34b1f 100644
--- a/arch/x86/pci/Makefile
+++ b/arch/x86/pci/Makefile
@@ -15,7 +15,7 @@ obj-$(CONFIG_X86_VISWS) += visws.o
obj-$(CONFIG_X86_NUMAQ) += numaq_32.o
-obj-$(CONFIG_X86_MRST) += mrst.o
+obj-$(CONFIG_X86_INTEL_MID) += mrst.o
obj-y += common.o early.o
obj-y += amd_bus.o bus_numa.o
diff --git a/arch/x86/platform/mrst/Makefile b/arch/x86/platform/mrst/Makefile
index 7baed5135e0..837a0445379 100644
--- a/arch/x86/platform/mrst/Makefile
+++ b/arch/x86/platform/mrst/Makefile
@@ -2,3 +2,4 @@ obj-$(CONFIG_X86_INTEL_MID) += mrst.o
obj-$(CONFIG_X86_INTEL_MID) += vrtc.o
obj-$(CONFIG_EARLY_PRINTK_INTEL_MID) += early_printk_mrst.o
obj-$(CONFIG_X86_MRST) += pmu.o
+
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 0241887ccca..bcedf7aa5c9 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -213,7 +213,7 @@ static struct cpuidle_state atom_cstates[MWAIT_MAX_NUM_CSTATES] = {
.enter = &intel_idle },
};
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_INTEL_MID
static struct cpuidle_state mrst_cstates[MWAIT_MAX_NUM_CSTATES] = {
{ /* MWAIT C0 */ },
{ /* MWAIT C1 */
@@ -409,7 +409,7 @@ static int intel_idle_probe(void)
case 0x26: /* 38 - Lincroft Atom Processor */
cpuidle_state_table = mrst_cstates;
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_INTEL_MID
cpuidle_device_prepare = mrst_pmu_validate_cstates;
#endif
auto_demotion_disable_flags = ATM_LNC_C6_AUTO_DEMOTE;
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index 217b15f489a..01fd7f4f63e 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci/Makefile
@@ -52,7 +52,7 @@ obj-$(CONFIG_MN10300) += setup-bus.o
obj-$(CONFIG_MICROBLAZE) += setup-bus.o
obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
-obj-$(CONFIG_X86_MRST) += mid_pci.o
+obj-$(CONFIG_X86_INTEL_MID) += mid_pci.o
#
# ACPI Related PCI FW Functions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 45e0191c35d..2173d3477f4 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -637,7 +637,7 @@ config ACPI_CMPC
config INTEL_SCU_IPC
bool "Intel SCU IPC Support"
- depends on X86_MRST
+ depends on X86_INTEL_MID
default y
---help---
IPC is used to bridge the communications between kernel and SCU on
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 27c37743e2c..6552aecbe1a 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -517,8 +517,8 @@ config RTC_DRV_CMOS
config RTC_DRV_VRTC
tristate "Virtual RTC for Moorestown platforms"
- depends on X86_MRST
- default y if X86_MRST
+ depends on X86_INTEL_MID
+ default y if X86_INTEL_MID
help
Say "yes" here to get direct support for the real time clock
diff --git a/drivers/staging/gma500/mrst_lvds.c b/drivers/staging/gma500/mrst_lvds.c
index 4a08b74f5ff..7cbcdb8b2fc 100644
--- a/drivers/staging/gma500/mrst_lvds.c
+++ b/drivers/staging/gma500/mrst_lvds.c
@@ -303,7 +303,7 @@ void mrst_lvds_init(struct drm_device *dev,
*/
/* This ifdef can go once the cpu ident stuff is cleaned up in arch */
-#if defined(CONFIG_X86_MRST)
+#if defined(CONFIG_X86_INTEL_MID)
if (mrst_identify_cpu())
i2c_adap = i2c_get_adapter(2);
else /* Oaktrail uses I2C 1 */