diff options
author | Joel Kitching <kitching@google.com> | 2019-09-28 13:32:22 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-06 03:49:12 +0000 |
commit | 123bd5f6dbc2f039c28ac826993454489dc6767d (patch) | |
tree | c06d02908b048e53a89318334178a94eb03fe59b /futility/updater.c | |
parent | ed8390ec50b2decdf18a3416d07d37222cb0130d (diff) | |
download | vboot-123bd5f6dbc2f039c28ac826993454489dc6767d.tar.gz |
vboot: remove VbExEcEnteringMode and friends
After informing EC of the mode chosen by vboot, it is stored
in a global and never accessed again. Remove this function,
its calls, and its tests.
Also note some significant issues which existed:
(1) Using accessor VbGetMode for tests, rather than just
overriding VbExEcEnteringMode when needed.
(2) The tests checking the value sent to VbExEcEnteringMode
(vboot_api_kernel2_tests and vboot_detach_menu_tests)
actually call the function themselves.
BUG=b:124141368, chromium:1014379
TEST=make clean && make runtests
BRANCH=none
Change-Id: Ib8e510a1e1c663bb3f8238a9ad15e3e64d7350b0
Signed-off-by: Joel Kitching <kitching@google.com>
Cq-Depend: chromium:1864533
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1830239
Reviewed-by: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'futility/updater.c')
0 files changed, 0 insertions, 0 deletions