]> git.sur5r.net Git - u-boot/blobdiff - cmd/bootefi.c
efi_selftest: test ReinstallProtocolInterface
[u-boot] / cmd / bootefi.c
index 5498a5fccf78a991c19e5ced865fc4f3065311d8..80491c77fd17ee5a2d686067cf175792bd06d9e4 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  EFI application loader
  *
  *  Copyright (c) 2016 Alexander Graf
- *
- *  SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <charset.h>
@@ -429,8 +428,6 @@ static int do_bootefi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                 * callback entry
                 */
                efi_save_gd();
-               /* Initialize and populate EFI object list */
-               efi_init_obj_list();
                /* Transfer environment variable efi_selftest as load options */
                set_load_options(&loaded_image_info, "efi_selftest");
                /* Execute the test */