T60: undock on external power loss
authorSven Schnelle <svens@stackframe.org>
Thu, 23 Jun 2011 11:43:52 +0000 (13:43 +0200)
committerSven Schnelle <svens@stackframe.org>
Thu, 23 Jun 2011 12:12:26 +0000 (14:12 +0200)
commitd8b60a0f2d6b0f2fad071328aaa211a63c57c191
treef8ed596a2cfe46315f3c567657f61d3dc7611617
parentf8aa185c6f85337d1fa2c517c0a1143095815983
T60: undock on external power loss

If power is unplugged/lost, we should undock the docking station.
The power loss can also be caused by the fact that the user removed
the thinkpad from the docking station without pressing the Undock button/hotkey
first. Without undocking it on this event, the thinkpad LPC switch will still
connect the Docking connector, which causes crashes when docking it again.

Change-Id: I9ed783e491827bde20264868eab2b3a79c232922
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/62
Tested-by: build bot (Jenkins)
src/ec/lenovo/h8/acpi/ec.asl
src/mainboard/lenovo/t60/acpi/dock.asl