diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-05-04 14:55:57 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-07 03:32:47 -0700 |
commit | 85dbb3442011e6d5b69da54c46f11d59c9172784 (patch) | |
tree | a722d6a20b82ee22eec8b1ce295f116d281404a8 /tests/test_common.h | |
parent | 8917b808ce4b4cda9b8e52c7ff8bb04e7836479b (diff) | |
download | vboot-85dbb3442011e6d5b69da54c46f11d59c9172784.tar.gz |
bdb: Add vba_bdb_init
vba_bdb_init initializes the vboot context and decides what to do next
based on the vboot register content. Possible actions are:
1. proceed to verify the current slot
2. reset to try the other slot
3. reset to recovery mode
bdb_sprw_test demonstrates these actions.
BUG=chrome-os-partner:51907
BRANCH=tot
TEST=make runtests
Change-Id: If72cdd575d09b9162a871f088064ca853b7fd74d
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/342604
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'tests/test_common.h')
0 files changed, 0 insertions, 0 deletions