Files
OpenCellular/common
David Hendricks 422b081285 Send success code when rebooting EC using I2C host commands
This causes the reboot command to respond to the host via I2C with
EC_RES_SUCCESS.

Signed-off-by: David Hendricks <dhendrix@chromium.org>

BUG=none
TEST=tested on Snow and Link using ectool and flashrom

Both machines were able to reboot the EC and go thru an EC update via
Flashrom successfully:

localhost ~ # ectool reboot_ec RO ; echo $?
done.
0

Flashrom is also able to do a fully automatic update, without the
user specifying a layout:
Reading old contents from flash chip... done.
Found 'RO_SECTION' in image.
Found 'RW_SECTION_A' in image.
GEC is jumping to [RO_SECTION]
GEC has jumped to [RO_SECTION]
Erasing and writing flash chip...
...
GEC is jumping to [RW_SECTION_A]
GEC has jumped to [RW_SECTION_A]
GEC needs 2nd pass.
...

Change-Id: Id723c26caa8f352a7ddc6ebfae664448c38300f0
Reviewed-on: https://gerrit.chromium.org/gerrit/24290
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Commit-Ready: David Hendricks <dhendrix@chromium.org>
2012-06-01 14:45:57 -07:00
..
2012-05-31 18:56:47 +08:00
2012-05-17 09:30:38 -07:00
2012-05-30 13:12:34 -07:00
2012-05-25 13:34:06 -07:00
2012-05-31 00:42:02 +00:00
2012-05-31 15:03:17 -07:00
2012-05-31 15:03:17 -07:00
2012-05-25 13:34:06 -07:00
2012-05-31 18:56:47 +08:00
2012-05-25 13:34:06 -07:00
2012-05-25 13:34:06 -07:00
2012-05-25 13:34:06 -07:00
2012-05-25 13:34:06 -07:00
2012-05-14 13:35:03 -07:00
2012-05-22 14:22:13 -07:00