diff mbox series

[U-Boot] efi_loader: SetVirtualAddressMap() should return EFI_UNSUPPORTED

Message ID 20181114071807.12906-1-takahiro.akashi@linaro.org
State Accepted
Commit 83582419ea3653fdf3e5e5d0434f9ff5a8217149
Headers show
Series [U-Boot] efi_loader: SetVirtualAddressMap() should return EFI_UNSUPPORTED | expand

Commit Message

AKASHI Takahiro Nov. 14, 2018, 7:18 a.m. UTC
See UEFI specification 2.7, section 8.4.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
---
 lib/efi_loader/efi_runtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c
index abcf03c5a42e..2c8bbb4eba4d 100644
--- a/lib/efi_loader/efi_runtime.c
+++ b/lib/efi_loader/efi_runtime.c
@@ -284,7 +284,7 @@  static const struct efi_runtime_detach_list_struct efi_runtime_detach_list[] = {
 	}, {
 		/* invalidate_*cache_all are gone */
 		.ptr = &efi_runtime_services.set_virtual_address_map,
-		.patchto = &efi_invalid_parameter,
+		.patchto = &efi_unimplemented,
 	}, {
 		/* RTC accessors are gone */
 		.ptr = &efi_runtime_services.get_time,