Files
OpenCellular/include
Vadim Bendebury 0467763f5a Enhance LPC EC REBOOT reset command to allow to request recovery
When the host reboots the EC it should be able to request the EC to
force recovery mode after reset. This is achieved by extending the
REBOOT EC command with a bitmask byte, with bit 0 dedicated to
recovery request.

So, when BIOS on the way up determines that recovery is requested, but
the EC is not running from the RO space, the BIOS would reset the EC
forcing it to run from RO and to request recovery mode through the LPC
bitmask. Then BIOS will restart itself ensuring that the system comes
up in consistent state.

Some refactoring was also done to make the code a bit more compact.

BUG=chrome-os-partner:9040
TEST=manual
  . tested along with coreboot changes (test described in the coerboot CL).

Change-Id: I29801b6aec80da0901ba0e8db8e92e615cc778bd
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
2012-04-30 15:36:41 -07:00
..
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2012-04-19 11:08:28 -07:00
2012-04-24 09:59:31 -07:00
2012-04-26 13:45:43 +08:00
2011-12-07 19:10:02 +00:00
2012-04-10 14:09:40 -07:00
2012-04-19 13:08:58 -07:00
2012-04-19 13:08:58 -07:00
2012-02-02 20:51:45 +08:00
2012-01-11 11:37:55 -08:00
2012-04-19 13:08:58 -07:00
2011-12-07 19:10:02 +00:00
2012-04-25 14:51:33 -07:00
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2011-12-07 19:10:02 +00:00
2012-04-19 13:08:58 -07:00
2011-12-07 19:10:02 +00:00
2012-04-19 13:08:58 -07:00
2012-04-06 09:06:53 -07:00
2012-04-25 14:49:49 -07:00
2012-04-19 11:08:28 -07:00
2012-04-25 14:49:49 -07:00
2012-04-24 17:46:54 -07:00
2011-12-07 19:10:02 +00:00
2012-04-24 17:46:54 -07:00