diff options
author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2022-11-20 09:21:16 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-11-22 12:00:44 +0100 |
commit | d6566113102e852937d0845a528337484ae85f95 (patch) | |
tree | 30e57e72c0058dccb3ec8110471d78b66d6991e3 /include | |
parent | d571f9b23e1e19938cec36d84a96cff57082a160 (diff) | |
download | u-boot-d6566113102e852937d0845a528337484ae85f95.zip u-boot-d6566113102e852937d0845a528337484ae85f95.tar.gz u-boot-d6566113102e852937d0845a528337484ae85f95.tar.bz2 |
eficonfig: expose eficonfig_create_device_path()
Following commits are adding support for UEFI variable management
via the eficonfig menu. Those functions needs to use
eficonfig_create_device_path() to construct the full device path
from device path of the volume and file path, so move it
out of their static declarations.
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_config.h b/include/efi_config.h index 064f2ef..934de41 100644 --- a/include/efi_config.h +++ b/include/efi_config.h @@ -99,5 +99,7 @@ efi_status_t eficonfig_append_menu_entry(struct efimenu *efi_menu, char *title, eficonfig_entry_func func, void *data); efi_status_t eficonfig_append_quit_entry(struct efimenu *efi_menu); +struct efi_device_path *eficonfig_create_device_path(struct efi_device_path *dp_volume, + u16 *current_path); #endif |