mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
efi: Move default filename to a function
Use a function to obtain the device EFI filename, so that we can control how sandbox behaves. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
efe9bd4a08
commit
9fd623afed
6 changed files with 67 additions and 64 deletions
|
@ -669,4 +669,13 @@ int efi_get_mmap(struct efi_mem_desc **descp, int *sizep, uint *keyp,
|
|||
*/
|
||||
void efi_show_tables(struct efi_system_table *systab);
|
||||
|
||||
/**
|
||||
* efi_get_basename() - Get the default filename to use when loading
|
||||
*
|
||||
* E.g. this function returns BOOTAA64.EFI for an aarch target
|
||||
*
|
||||
* Return: Default EFI filename
|
||||
*/
|
||||
const char *efi_get_basename(void);
|
||||
|
||||
#endif /* _LINUX_EFI_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue