aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-07-07 23:39:13 +0200
committerAlexander Graf <agraf@suse.de>2018-07-25 15:00:24 +0200
commit197005ae2a78f14e02d44096c3ecb59b921c0467 (patch)
tree3dda59a27f1bb88f0307488a1ee5beed23ae3690 /lib
parent5d889024010e0d2397c2bd3e6dd66e12e9f657d0 (diff)
downloadu-boot-197005ae2a78f14e02d44096c3ecb59b921c0467.zip
u-boot-197005ae2a78f14e02d44096c3ecb59b921c0467.tar.gz
u-boot-197005ae2a78f14e02d44096c3ecb59b921c0467.tar.bz2
efi_loader: remove unused efi_get_time_init()
Remove unused function efi_get_time_init(). Initialization of the RTC has to be done in board bring up not in the EFI subsystem. There is no RTC device in the UEFI spec. The RTC is only accessed through the runtime services. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_runtime.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c
index 1acb06a..8663875 100644
--- a/lib/efi_loader/efi_runtime.c
+++ b/lib/efi_loader/efi_runtime.c
@@ -174,11 +174,6 @@ efi_status_t __weak __efi_runtime EFIAPI efi_get_time(
return EFI_DEVICE_ERROR;
}
-efi_status_t __weak efi_get_time_init(void)
-{
- return EFI_SUCCESS;
-}
-
struct efi_runtime_detach_list_struct {
void *ptr;
void *patchto;