diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-05-13 14:00:28 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-05-13 22:44:16 +0200 |
commit | 3dc60c51cb5fd3658758c68fe4c529c52f29554d (patch) | |
tree | 5967fd0333875ff46cf2b59f2351c32f759210a0 /src/vendorcode | |
parent | a6a566bf0bf4f606ae2252b48c5aa5e4fac71df1 (diff) | |
download | coreboot-3dc60c51cb5fd3658758c68fe4c529c52f29554d.tar.xz |
vboot: fix die() hang for recovery path
When we are taking the recovery path there is no slot or
components to fill out.
Change-Id: Ic97a247629365ef54a340c4398cb7491935edc11
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/10198
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/vendorcode')
-rw-r--r-- | src/vendorcode/google/chromeos/vboot2/vboot_handoff.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vendorcode/google/chromeos/vboot2/vboot_handoff.c b/src/vendorcode/google/chromeos/vboot2/vboot_handoff.c index 16261b4a02..417a4962e1 100644 --- a/src/vendorcode/google/chromeos/vboot2/vboot_handoff.c +++ b/src/vendorcode/google/chromeos/vboot2/vboot_handoff.c @@ -147,6 +147,10 @@ void vboot_fill_handoff(void) /* needed until we finish transtion to vboot2 for kernel verification */ fill_vboot_handoff(vh, sd); + /* Nothing left to do in readonly path. */ + if (vboot_is_readonly_path(wd)) + return; + vb2_get_selected_region(wd, &fw_main); fw_info = vboot_locate_components(&fw_main); if (fw_info == NULL) |