diff options
author | Bill Richardson <wfrichar@chromium.org> | 2012-05-22 11:00:36 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@chromium.org> | 2012-05-22 14:22:13 -0700 |
commit | a7d62b4fd4b4cd9e290bbd1e9e2e479f9ab9455e (patch) | |
tree | 8a67e8760ce9dcd079bed3a245ebd5370a43636e /LICENSE | |
parent | 43e26da7940633bca4b6cfcb0ff8a541375506f9 (diff) | |
download | chrome-ec-a7d62b4fd4b4cd9e290bbd1e9e2e479f9ab9455e.tar.gz |
Add LPC command to handle vboot stuff.
This adds "ectool vboot", which works like so:
# ./ectool vboot
0x06 image=A fake_dev=1
# ./ectool vboot 0
# ./ectool vboot
0x02 image=A fake_dev=0
# ./ectool vboot ff
# ./ectool vboot
0x06 image=A fake_dev=1
You can set or unset the fake dev-switch, and see which firmware image the
EC is running from.
BUG=chrome-os-partner:8313
TEST=manual
Boot the host, use crossystem to see the devsw_boot state. Change it with
the ectool command, reboot, see that it's changed.
Change-Id: Iaac40267338c6a07bc47b80e925e829bf1e1ae0c
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions