1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-02 09:12:08 +02:00

efi_loader: efi_get_time_init should return status code

All EFI initialization functions should return a status code.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Heinrich Schuchardt
2018-03-03 15:29:00 +01:00
committed by Alexander Graf
parent 22c793e6a2
commit 14ad49d100
2 changed files with 3 additions and 2 deletions

View File

@@ -365,7 +365,7 @@ efi_status_t efi_reset_system_init(void);
efi_status_t __efi_runtime EFIAPI efi_get_time( efi_status_t __efi_runtime EFIAPI efi_get_time(
struct efi_time *time, struct efi_time *time,
struct efi_time_cap *capabilities); struct efi_time_cap *capabilities);
void efi_get_time_init(void); efi_status_t efi_get_time_init(void);
#ifdef CONFIG_CMD_BOOTEFI_SELFTEST #ifdef CONFIG_CMD_BOOTEFI_SELFTEST
/* /*

View File

@@ -147,8 +147,9 @@ efi_status_t __weak __efi_runtime EFIAPI efi_get_time(
return EFI_DEVICE_ERROR; return EFI_DEVICE_ERROR;
} }
void __weak efi_get_time_init(void) efi_status_t __weak efi_get_time_init(void)
{ {
return EFI_SUCCESS;
} }
struct efi_runtime_detach_list_struct { struct efi_runtime_detach_list_struct {