summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/efi/efi_datatype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/efi/efi_datatype.h b/src/include/efi/efi_datatype.h
index d4152af754..a5e8ec3014 100644
--- a/src/include/efi/efi_datatype.h
+++ b/src/include/efi/efi_datatype.h
@@ -13,7 +13,7 @@
*
* Fortunately, EDK2 header allows to override EFIAPI.
*/
-#if CONFIG(PLATFORM_USES_FSP2_X86_32)
+#if CONFIG(PLATFORM_USES_FSP1_1) || CONFIG(PLATFORM_USES_FSP2_X86_32)
#define EFIAPI __attribute__((regparm(0)))
#else
#define EFIAPI __attribute__((__ms_abi__))