x86: OLPC: switch over to using new EC driver on x86
authorAndres Salomon <dilinger@queued.net>
Fri, 13 Jul 2012 00:57:28 +0000 (17:57 -0700)
committerAndres Salomon <dilinger@queued.net>
Wed, 1 Aug 2012 03:27:30 +0000 (23:27 -0400)
commit85f90cf6ca569b19cee212844b543a7355b77163
tree1e2cd8e3c712863533f151b033a723443dd31540
parentd278b7a2f90f91f908b19b50cfa59e10632b5afc
x86: OLPC: switch over to using new EC driver on x86

This uses the new EC driver framework in drivers/platform/olpc.  The
XO-1 and XO-1.5-specific code is still in arch/x86, but the generic stuff
(including a new workqueue; no more running EC commands with IRQs disabled!)
can be shared with other architectures.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Paul Fox <pgf@laptop.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/olpc.h
arch/x86/platform/olpc/olpc.c
drivers/platform/olpc/olpc-ec.c