diff options
author | Daniel Drake <dsd@laptop.org> | 2010-09-23 12:28:46 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-09-23 14:15:00 -0400 |
commit | 3e3c486012a3dbb113c0ca15ee265d309d77aea9 (patch) | |
tree | 9b1a1e22ab7f7a9e7cd47778cc70e007375fcb11 /arch/x86/Kconfig | |
parent | 76fb657017588a0912f0d1d140cb807446e4ef05 (diff) |
x86, olpc: Rework BIOS signature check
The XO-1.5 laptop is not currently detected as an OLPC machine because
it fails this XO-1-centric check.
Now that we have OLPC OFW support in the kernel, a more sensible
check is to see if we found OFW during boot and check the architecture
property.
Also remove a now-meaningless codepath, as we're always going to have
OFW support with OLPC.
Signed-off-by: Daniel Drake <dsd@laptop.org>
LKML-Reference: <20100923162846.D8D409D401B@zog.reactivated.net>
Cc: Andres Salomon <dilinger@queued.net>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 0ed4c9bfcd13..c25525571347 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -2061,6 +2061,7 @@ config SCx200HR_TIMER | |||
2061 | config OLPC | 2061 | config OLPC |
2062 | bool "One Laptop Per Child support" | 2062 | bool "One Laptop Per Child support" |
2063 | select GPIOLIB | 2063 | select GPIOLIB |
2064 | select OLPC_OPENFIRMWARE | ||
2064 | ---help--- | 2065 | ---help--- |
2065 | Add support for detecting the unique features of the OLPC | 2066 | Add support for detecting the unique features of the OLPC |
2066 | XO hardware. | 2067 | XO hardware. |
@@ -2068,7 +2069,7 @@ config OLPC | |||
2068 | config OLPC_OPENFIRMWARE | 2069 | config OLPC_OPENFIRMWARE |
2069 | bool "Support for OLPC's Open Firmware" | 2070 | bool "Support for OLPC's Open Firmware" |
2070 | depends on !X86_64 && !X86_PAE | 2071 | depends on !X86_64 && !X86_PAE |
2071 | default y if OLPC | 2072 | default n |
2072 | help | 2073 | help |
2073 | This option adds support for the implementation of Open Firmware | 2074 | This option adds support for the implementation of Open Firmware |
2074 | that is used on the OLPC XO-1 Children's Machine. | 2075 | that is used on the OLPC XO-1 Children's Machine. |