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>
This commit is contained in:
parent
a6a566bf0b
commit
3dc60c51cb
|
@ -147,6 +147,10 @@ void vboot_fill_handoff(void)
|
||||||
/* needed until we finish transtion to vboot2 for kernel verification */
|
/* needed until we finish transtion to vboot2 for kernel verification */
|
||||||
fill_vboot_handoff(vh, sd);
|
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);
|
vb2_get_selected_region(wd, &fw_main);
|
||||||
fw_info = vboot_locate_components(&fw_main);
|
fw_info = vboot_locate_components(&fw_main);
|
||||||
if (fw_info == NULL)
|
if (fw_info == NULL)
|
||||||
|
|
Loading…
Reference in New Issue