[efi] Register a device tree if provided by the platform firmware
[ipxe.git] / src / config / defaults / efi.h
1 #ifndef CONFIG_DEFAULTS_EFI_H
2 #define CONFIG_DEFAULTS_EFI_H
3
4 /** @file
5 *
6 * Configuration defaults for EFI
7 *
8 */
9
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12 #define UACCESS_EFI
13 #define IOMAP_VIRT
14 #define PCIAPI_EFI
15 #define CONSOLE_EFI
16 #define TIMER_EFI
17 #define UMALLOC_EFI
18 #define SMBIOS_EFI
19 #define SANBOOT_EFI
20 #define BOFM_EFI
21 #define ENTROPY_EFI
22 #define TIME_EFI
23 #define REBOOT_EFI
24 #define ACPI_EFI
25 #define FDT_EFI
26
27 #define DOWNLOAD_PROTO_FILE /* Local filesystem access */
28
29 #define IMAGE_EFI /* EFI image support */
30 #define IMAGE_SCRIPT /* iPXE script image support */
31
32 #define SANBOOT_PROTO_ISCSI /* iSCSI protocol */
33 #define SANBOOT_PROTO_AOE /* AoE protocol */
34 #define SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
35 #define SANBOOT_PROTO_FCP /* Fibre Channel protocol */
36 #define SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
37
38 #define USB_HCD_XHCI /* xHCI USB host controller */
39 #define USB_HCD_EHCI /* EHCI USB host controller */
40 #define USB_HCD_UHCI /* UHCI USB host controller */
41 #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
42
43 #define REBOOT_CMD /* Reboot command */
44
45 #if defined ( __i386__ ) || defined ( __x86_64__ )
46 #define IOAPI_X86
47 #define NAP_EFIX86
48 #define CPUID_CMD /* x86 CPU feature detection command */
49 #endif
50
51 #if defined ( __arm__ ) || defined ( __aarch64__ )
52 #define IOAPI_ARM
53 #define NAP_EFIARM
54 #endif
55
56 #endif /* CONFIG_DEFAULTS_EFI_H */