]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - boot/bootm_os.c
bootm: efi: Drop special call to bootm_find_other()
[thirdparty/u-boot.git] / boot / bootm_os.c
index 30296eb27d7dc2ee27f8f0a24d4fbaa62d3126f3..af25c9e7c81bb444c6cfbeb66b9214dff8752ef7 100644 (file)
@@ -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) {