aboutsummaryrefslogtreecommitdiff
path: root/lib/efi/efi_app.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efi/efi_app.c')
-rw-r--r--lib/efi/efi_app.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/efi/efi_app.c b/lib/efi/efi_app.c
index c8280935c84..3eb8eeb677f 100644
--- a/lib/efi/efi_app.c
+++ b/lib/efi/efi_app.c
@@ -96,7 +96,8 @@ static void free_memory(struct efi_priv *priv)
* U-Boot. If it returns, EFI will continue. Another way to get back to EFI
* is via reset_cpu().
*/
-efi_status_t efi_main(efi_handle_t image, struct efi_system_table *sys_table)
+efi_status_t EFIAPI efi_main(efi_handle_t image,
+ struct efi_system_table *sys_table)
{
struct efi_priv local_priv, *priv = &local_priv;
efi_status_t ret;