diff options
author | Hsin-Te Yuan <yuanhsinte@google.com> | 2022-06-28 16:38:26 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-13 05:01:22 +0000 |
commit | 4756206b07f2250155c9c4c1d75577281ea111f5 (patch) | |
tree | 90a27dd88ac49fefe6ed2571b8eb0690ad6c12ef /cgpt/cmd_repair.c | |
parent | 35f4cb027230e03af30a6206cbea8e638d9dd0d0 (diff) | |
download | vboot-4756206b07f2250155c9c4c1d75577281ea111f5.tar.gz |
vboot_api_kernel.c: Remove kparams_ptr
Pass VbSelectAndLoadKernelParams kparams as a function argument instead
of using global variable kparams_ptr. Remove VbSelectAndLoadKernel and
replace its tests with the unit tests for vb2_set_boot_mode,
vb2api_kernel_phase2, vb2api_kernel_finalize, and vb2api_normal_boot.
BUG=b:172339016
BRANCH=none
TEST=make runtests
Cq-Depend: chromium:3731710
Signed-off-by: Hsin-Te Yuan <yuanhsinte@google.com>
Change-Id: I26895ced5e310b2894b9d42d0ad5514d3b0b930a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3731412
Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Diffstat (limited to 'cgpt/cmd_repair.c')
0 files changed, 0 insertions, 0 deletions