aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-23 10:08:31 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-23 10:40:45 +0100
commitdc3119e700216a70e82fe07a79f1618852058354 (patch)
tree40fceb0868ac12bfa9e3135604fbc807d9164fcd /arch/x86/Kconfig
parentfe239545a1eed57a60c5d4063f0b56f6cd1811ff (diff)
downloadkernel_samsung_smdk4412-dc3119e700216a70e82fe07a79f1618852058354.zip
kernel_samsung_smdk4412-dc3119e700216a70e82fe07a79f1618852058354.tar.gz
kernel_samsung_smdk4412-dc3119e700216a70e82fe07a79f1618852058354.tar.bz2
x86: OLPC: Cleanup config maze completely
Neither CONFIG_OLPC_OPENFIRMWARE nor CONFIG_OLPC_OPENFIRMWARE_DT are really necessary. OLPC selects OLPC_OPENFIRMWARE unconditionally, so move the "select OF" part under OLPC config option and fixup the dependencies in Makefiles and code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andres Salomon <dilinger@queued.net>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index dbc10fc..677501d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2066,9 +2066,10 @@ config SCx200HR_TIMER
config OLPC
bool "One Laptop Per Child support"
- select GPIOLIB
- select OLPC_OPENFIRMWARE
depends on !X86_PAE
+ select GPIOLIB
+ select OF
+ select OLPC_OPENFIRMWARE_DT if PROC_DEVICETREE
---help---
Add support for detecting the unique features of the OLPC
XO hardware.
@@ -2079,11 +2080,6 @@ config OLPC_XO1
---help---
Add support for non-essential features of the OLPC XO-1 laptop.
-config OLPC_OPENFIRMWARE
- bool
- select OF
- select OLPC_OPENFIRMWARE_DT if PROC_DEVICETREE
-
config OLPC_OPENFIRMWARE_DT
bool
select OF_PROMTREE