From 1a16f67a28c6e8b9875b07e15c7c379cfc147e69 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 19 Oct 2015 20:01:19 +0100 Subject: [arm] Add support for 32-bit ARM Signed-off-by: Michael Brown --- src/config/defaults/efi.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/config') diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h index ea9c31e2..8d3a8bf2 100644 --- a/src/config/defaults/efi.h +++ b/src/config/defaults/efi.h @@ -10,12 +10,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define UACCESS_EFI -#define IOAPI_X86 #define IOMAP_VIRT #define PCIAPI_EFI #define CONSOLE_EFI #define TIMER_EFI -#define NAP_EFIX86 #define UMALLOC_EFI #define SMBIOS_EFI #define SANBOOT_NULL @@ -35,6 +33,16 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */ #define REBOOT_CMD /* Reboot command */ + +#if defined ( __i386__ ) || defined ( __x86_64__ ) +#define IOAPI_X86 +#define NAP_EFIX86 #define CPUID_CMD /* x86 CPU feature detection command */ +#endif + +#if defined ( __arm__ ) +#define IOAPI_ARM +#define NAP_EFIARM +#endif #endif /* CONFIG_DEFAULTS_EFI_H */ -- cgit v1.2.3-55-g7522