[U-Boot] [PATCH 3/3] efi_loader: export efi_set_time()
Heinrich Schuchardt
xypron.glpk at gmx.de
Fri May 31 18:34:58 UTC 2019
To let a board implement the runtime version of SetTime() we have to
provide the definition of the weak function in an include.
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
include/efi_loader.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 77b2f60bdc..23ce732267 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -594,6 +594,8 @@ efi_status_t __efi_runtime EFIAPI efi_get_time(
struct efi_time *time,
struct efi_time_cap *capabilities);
+efi_status_t __efi_runtime EFIAPI efi_set_time(struct efi_time *time);
+
#ifdef CONFIG_CMD_BOOTEFI_SELFTEST
/*
* Entry point for the tests of the EFI API.
--
2.20.1
More information about the U-Boot
mailing list