projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e771b4b
)
efi_loader: GetTime() must return EFI_UNSUPPORTED
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 13 Jun 2019 16:42:40 +0000
(18:42 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 14 Jun 2019 17:18:40 +0000
(19:18 +0200)
If the GetTime() runtime service is not supported, EFI_UNSUPPORTED has to
be returned.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_runtime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_runtime.c
b/lib/efi_loader/efi_runtime.c
index 0c57d0abd76126ca4406fcb736893bc75214ea49..40fdc0ea9286945a292d38080dd97a80671bf59d 100644
(file)
--- a/
lib/efi_loader/efi_runtime.c
+++ b/
lib/efi_loader/efi_runtime.c
@@
-366,8
+366,7
@@
efi_status_t __weak __efi_runtime EFIAPI efi_get_time(
struct efi_time *time,
struct efi_time_cap *capabilities)
{
- /* Nothing we can do */
- return EFI_DEVICE_ERROR;
+ return EFI_UNSUPPORTED;
}
/**