diff options
author | Simon Glass <sjg@chromium.org> | 2023-11-18 14:05:14 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-13 11:51:24 -0500 |
commit | e2fc90e5ad469b10c0d7abe54f5689957c88a518 (patch) | |
tree | 60087446f64c7ac47d68330886a61b33d73611ef /boot/bootm_os.c | |
parent | 46aee252aff82e05f9d8adfd8565c453ed013bff (diff) |
bootm: efi: Drop special call to bootm_find_other()
The normal bootm flow calls bootm_find_other() can call the
BOOTM_STATE_FINDOTHER state as part of its processing. Fix the
condition there so that this hack can be removed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootm_os.c')
-rw-r--r-- | boot/bootm_os.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/boot/bootm_os.c b/boot/bootm_os.c index 30296eb27d7..af25c9e7c81 100644 --- a/boot/bootm_os.c +++ b/boot/bootm_os.c @@ -486,18 +486,12 @@ static int do_bootm_tee(int flag, int argc, char *const argv[], static int do_bootm_efi(int flag, int argc, char *const argv[], struct bootm_headers *images) { - int ret; efi_status_t efi_ret; void *image_buf; if (flag != BOOTM_STATE_OS_GO) return 0; - /* Locate FDT, if provided */ - ret = bootm_find_images(flag, argc, argv, 0, 0); - if (ret) - return ret; - /* Initialize EFI drivers */ efi_ret = efi_init_obj_list(); if (efi_ret != EFI_SUCCESS) { |