x86, olpc: Rework BIOS signature check
commit3e3c486012a3dbb113c0ca15ee265d309d77aea9
authorDaniel Drake <dsd@laptop.org>
Thu, 23 Sep 2010 16:28:46 +0000 (23 17:28 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 23 Sep 2010 18:15:00 +0000 (23 11:15 -0700)
tree9b1a1e22ab7f7a9e7cd47778cc70e007375fcb11
parent76fb657017588a0912f0d1d140cb807446e4ef05
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>
arch/x86/Kconfig
arch/x86/include/asm/olpc_ofw.h
arch/x86/kernel/olpc.c
arch/x86/kernel/olpc_ofw.c