diff options
author | Paul Barker <paul.barker@sancloud.com> | 2022-10-05 15:18:35 +0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-10-06 23:54:57 +0300 |
commit | 39434a9b25dcfc0f6b5aba59e9b6d691468891a4 (patch) | |
tree | fede2426e60a3fedf18fe4f7bc4acafa67e26511 /include | |
parent | 932f72d68efa4f38846f90f258e07f7bb1a2cd70 (diff) | |
download | u-boot-39434a9b25dcfc0f6b5aba59e9b6d691468891a4.tar.xz |
efi: Add string conversion helper
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_loader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index ad01395b39..8c45e3ee25 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -1014,9 +1014,10 @@ struct pkcs7_message *efi_parse_pkcs7_header(const void *buf, /* runtime implementation of memcpy() */ void efi_memcpy_runtime(void *dest, const void *src, size_t n); -/* commonly used helper function */ +/* commonly used helper functions */ u16 *efi_create_indexed_name(u16 *buffer, size_t buffer_size, const char *name, unsigned int index); +efi_string_t efi_convert_string(const char *str); extern const struct efi_firmware_management_protocol efi_fmp_fit; extern const struct efi_firmware_management_protocol efi_fmp_raw; |