]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - lib/efi_loader/efi_boottime.c
efi_loader: detach runtime in ExitBootServices()
[thirdparty/u-boot.git] / lib / efi_loader / efi_boottime.c
index ba4c1e5765bf002a6e54590405ce6e00623f2de9..c2f89805c76776fe4a2bff2f9d6aea1a9b882469 100644 (file)
@@ -1973,6 +1973,9 @@ static efi_status_t EFIAPI efi_exit_boot_services(efi_handle_t image_handle,
 
        board_quiesce_devices();
 
+       /* Patch out unsupported runtime function */
+       efi_runtime_detach();
+
        /* Fix up caches for EFI payloads if necessary */
        efi_exit_caches();