Skip to content

Commit

Permalink
x86: OLPC: Hide OLPC_OPENFIRMWARE config switch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner committed Feb 23, 2011
1 parent 5400897 commit fe23954
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2080,18 +2080,12 @@ config OLPC_XO1
Add support for non-essential features of the OLPC XO-1 laptop.

config OLPC_OPENFIRMWARE
bool "Support for OLPC's Open Firmware"
depends on !X86_PAE
default n
bool
select OF
help
This option adds support for the implementation of Open Firmware
that is used on the OLPC XO-1 Children's Machine.
If unsure, say N here.
select OLPC_OPENFIRMWARE_DT if PROC_DEVICETREE

config OLPC_OPENFIRMWARE_DT
bool
default y if OLPC_OPENFIRMWARE && PROC_DEVICETREE
select OF_PROMTREE

endif # X86_32
Expand Down

0 comments on commit fe23954

Please sign in to comment.