CHROMIUM: kaen: cros_reboot that reboots CPU and TPM together
The kaen board design is changed so that asserting a GPIO resets CPU and
TPM at the same time, which is required by verified boot spec.
BUG=chromeos-partner:3574
TEST=manual test on old and new kaen
1. Run load_fw twice and a "cros cros_reboot" in between
2. Verify that SetupTPM succeeds in both runs
3. Make sure that cros_reboot does not fall back to cold reboot
(i.e., you should not see "fall back to cold reboot" prints out)
------------------------------------------------------------
CrOS> cros load_fw 0x0 0x01000000 0x00400000 0x10000000
...
CrOS> cros cros_reboot
...
CrOS> cros load_fw 0x0 0x01000000 0x00400000 0x10000000
------------------------------------------------------------
Change-Id: I08d1f87dbce6241d03039fd4219580e1383ffe30
Reviewed-on: http://gerrit.chromium.org/gerrit/2920
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
8 files changed