diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-03 19:43:24 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-03 19:43:24 +0300 |
commit | 6cdd4b8108f57252b8849e71aa46e3a2d227c98d (patch) | |
tree | 7a1d67347f0fad4eef0a0c95f35dedd866e714aa /include | |
parent | 8b572a387ea907452b4269f9ec9f8321229bd8ec (diff) | |
parent | cd87d2c61ce8e8e963de514f2c8ab0f959d6b586 (diff) | |
download | u-boot-6cdd4b8108f57252b8849e71aa46e3a2d227c98d.tar.xz |
Merge tag 'efi-2023-10-rc2-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2023-10-rc2-2
Documentation:
* Move README.falcon to HTML
* Describe usage of QEMU virtio block device
* Add SPDX license identifiers to svg images
* Add more detail to the description of U-Boot boot phases
UEFI:
* Fix buffer overflows
* Fix memory leak in efi_add_memory_map_pg
* Properly check return values of calloc, uuid_str_to_bin,
efi_parse_pkcs7_header
Diffstat (limited to 'include')
-rw-r--r-- | include/dm/device.h | 2 | ||||
-rw-r--r-- | include/efi_loader.h | 18 |
2 files changed, 16 insertions, 4 deletions
diff --git a/include/dm/device.h b/include/dm/device.h index b86bf90609..e54cb6bca4 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -367,7 +367,7 @@ struct udevice_id { * @ops: Driver-specific operations. This is typically a list of function * pointers defined by the driver, to implement driver functions required by * the uclass. - * @flags: driver flags - see `DM_FLAGS_...` + * @flags: driver flags - see `DM_FLAG_...` * @acpi_ops: Advanced Configuration and Power Interface (ACPI) operations, * allowing the device to add things to the ACPI tables passed to Linux */ diff --git a/include/efi_loader.h b/include/efi_loader.h index 3a64eb9c66..4a29ddaef4 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -696,9 +696,21 @@ void efi_signal_event(struct efi_event *event); /* return true if the device is removable */ bool efi_disk_is_removable(efi_handle_t handle); -/* open file system: */ -struct efi_simple_file_system_protocol *efi_simple_file_system( - struct blk_desc *desc, int part, struct efi_device_path *dp); +/** + * efi_create_simple_file_system() - create simple file system protocol + * + * Create a simple file system protocol for a partition. + * + * @desc: block device descriptor + * @part: partition number + * @dp: device path + * @fsp: simple file system protocol + * Return: status code + */ +efi_status_t +efi_create_simple_file_system(struct blk_desc *desc, int part, + struct efi_device_path *dp, + struct efi_simple_file_system_protocol **fsp); /* open file from device-path: */ struct efi_file_handle *efi_file_from_path(struct efi_device_path *fp); |