diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-23 04:08:31 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-23 04:40:45 -0500 |
commit | dc3119e700216a70e82fe07a79f1618852058354 (patch) | |
tree | 40fceb0868ac12bfa9e3135604fbc807d9164fcd /arch/x86/Kconfig | |
parent | fe239545a1eed57a60c5d4063f0b56f6cd1811ff (diff) |
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/Kconfig | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index dbc10fce6665..677501d061a3 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -2066,9 +2066,10 @@ config SCx200HR_TIMER | |||
2066 | 2066 | ||
2067 | config OLPC | 2067 | config OLPC |
2068 | bool "One Laptop Per Child support" | 2068 | bool "One Laptop Per Child support" |
2069 | select GPIOLIB | ||
2070 | select OLPC_OPENFIRMWARE | ||
2071 | depends on !X86_PAE | 2069 | depends on !X86_PAE |
2070 | select GPIOLIB | ||
2071 | select OF | ||
2072 | select OLPC_OPENFIRMWARE_DT if PROC_DEVICETREE | ||
2072 | ---help--- | 2073 | ---help--- |
2073 | Add support for detecting the unique features of the OLPC | 2074 | Add support for detecting the unique features of the OLPC |
2074 | XO hardware. | 2075 | XO hardware. |
@@ -2079,11 +2080,6 @@ config OLPC_XO1 | |||
2079 | ---help--- | 2080 | ---help--- |
2080 | Add support for non-essential features of the OLPC XO-1 laptop. | 2081 | Add support for non-essential features of the OLPC XO-1 laptop. |
2081 | 2082 | ||
2082 | config OLPC_OPENFIRMWARE | ||
2083 | bool | ||
2084 | select OF | ||
2085 | select OLPC_OPENFIRMWARE_DT if PROC_DEVICETREE | ||
2086 | |||
2087 | config OLPC_OPENFIRMWARE_DT | 2083 | config OLPC_OPENFIRMWARE_DT |
2088 | bool | 2084 | bool |
2089 | select OF_PROMTREE | 2085 | select OF_PROMTREE |