summaryrefslogblamecommitdiffstats
path: root/src/config/defaults/efi.h
blob: 8d3a8bf23122e8536f3b5227c65ad95ac01bef62 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                 
                                       
 
                   
                  


                   
                   
                  
                    
                
                   
                
                  
 

                                                             
                                                       
                                                               
 




                                                                           
                                                    



                                                  
                                                                       





                       
 
                                  
#ifndef CONFIG_DEFAULTS_EFI_H
#define CONFIG_DEFAULTS_EFI_H

/** @file
 *
 * Configuration defaults for EFI
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

#define UACCESS_EFI
#define IOMAP_VIRT
#define PCIAPI_EFI
#define CONSOLE_EFI
#define TIMER_EFI
#define UMALLOC_EFI
#define SMBIOS_EFI
#define SANBOOT_NULL
#define BOFM_EFI
#define ENTROPY_EFI
#define TIME_EFI
#define REBOOT_EFI

#define DOWNLOAD_PROTO_FILE	/* Local filesystem access */

#define	IMAGE_EFI		/* EFI image support */
#define	IMAGE_SCRIPT		/* iPXE script image support */

#define	USB_HCD_XHCI		/* xHCI USB host controller */
#define	USB_HCD_EHCI		/* EHCI USB host controller */
#define	USB_HCD_UHCI		/* UHCI USB host controller */
#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 */