1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright Google LLC 4 */ 5 6 #ifndef _ASM_EFI_H_ 7 #define _ASM_EFI_H_ 8 9 struct efi_info; 10 struct screen_info; 11 12 /** 13 * setup_video() - Set up the screen info in the x86 setup 14 * 15 * This is needed so Linux can use the display (when U-Boot is an EFI payload) 16 * 17 * @efi_info: Pointer to place to put the screen info in the x86 setup base 18 */ 19 void setup_video(struct screen_info *screen_info); 20 21 /** 22 * setup_efi_info() - Set up the EFI info needed by Linux to boot 23 * 24 * This writes a suitable signature, table pointers, memory-map pointer, etc. 25 * These are needed for Linux to boot from U-Boot (when U-Boot is an EFI 26 * payload). 27 * 28 * @efi_info: Pointer to place to put the EFI info in the x86 setup base 29 */ 30 void setup_efi_info(struct efi_info *efi_info); 31 32 /** 33 * efi_show_bdinfo() - Show information about EFI for the 'bdinfo' command 34 * 35 * This looks up the EFI table pointer and shows related info 36 */ 37 void efi_show_bdinfo(void); 38 39 #endif 40