x86: olpc: add One Laptop Per Child architecture support
authorAndres Salomon <dilinger@queued.net>
Tue, 29 Apr 2008 07:59:53 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:07 +0000 (08:06 -0700)
commit3ef0e1f8cad0a851b3dbf91802b14af7dd780352
tree805450fdb2c056e7ba61ac3c26529cccd09e952f
parent2f9b12a31fcb738ea8c9eb0d4ddf906c6f1d696c
x86: olpc: add One Laptop Per Child architecture support

This adds support for OLPC XO hardware.  Open Firmware on XOs don't contain
the VSA, so it is necessary to emulate the PCI BARs in the kernel.  This also
adds functionality for running EC commands, and a CONFIG_OLPC.

A number of OLPC drivers depend upon CONFIG_OLPC.

olpc_ec_timeout is a hack to work around Embedded Controller bugs.

[akpm@linux-foundation.org: build fix]
[akpm@linux-foundation.org: geode_has_vsa build fix]
[akpm@linux-foundation.org: olpc_register_battery_callback doesn't exist]
Signed-off-by: Andres Salomon <dilinger@debian.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@suse.de>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kernel-parameters.txt
arch/x86/Kconfig
arch/x86/kernel/Makefile
arch/x86/kernel/olpc.c [new file with mode: 0644]
arch/x86/pci/Makefile_32
arch/x86/pci/init.c
arch/x86/pci/olpc.c [new file with mode: 0644]
arch/x86/pci/pci.h
drivers/power/olpc_battery.c
include/asm-x86/olpc.h [new file with mode: 0644]