diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-23 04:05:53 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-23 04:40:45 -0500 |
commit | fe239545a1eed57a60c5d4063f0b56f6cd1811ff (patch) | |
tree | 3d500a3b204bdebfefab763932379c24b6feb16e /arch/x86 | |
parent | 540089798d2ae115fc9bff7ed3823c8c32249607 (diff) |
x86: OLPC: Hide OLPC_OPENFIRMWARE config switch
OLPC selects OLPC_OPENFIRMWARE unconditionally. If OLPC=n then
the OLPC_OPENFIRMWARE functionality is pointless.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andres Salomon <dilinger@queued.net>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/Kconfig | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e327f96b8805..dbc10fce6665 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -2080,18 +2080,12 @@ config OLPC_XO1 | |||
2080 | Add support for non-essential features of the OLPC XO-1 laptop. | 2080 | Add support for non-essential features of the OLPC XO-1 laptop. |
2081 | 2081 | ||
2082 | config OLPC_OPENFIRMWARE | 2082 | config OLPC_OPENFIRMWARE |
2083 | bool "Support for OLPC's Open Firmware" | 2083 | bool |
2084 | depends on !X86_PAE | ||
2085 | default n | ||
2086 | select OF | 2084 | select OF |
2087 | help | 2085 | select OLPC_OPENFIRMWARE_DT if PROC_DEVICETREE |
2088 | This option adds support for the implementation of Open Firmware | ||
2089 | that is used on the OLPC XO-1 Children's Machine. | ||
2090 | If unsure, say N here. | ||
2091 | 2086 | ||
2092 | config OLPC_OPENFIRMWARE_DT | 2087 | config OLPC_OPENFIRMWARE_DT |
2093 | bool | 2088 | bool |
2094 | default y if OLPC_OPENFIRMWARE && PROC_DEVICETREE | ||
2095 | select OF_PROMTREE | 2089 | select OF_PROMTREE |
2096 | 2090 | ||
2097 | endif # X86_32 | 2091 | endif # X86_32 |