[PATCH v5 23/23] efi_loader: Simplify efi_dp_from_mem()

Simon Glass sjg at chromium.org
Tue Dec 17 20:47:04 CET 2024


This function should take a pointer, not an address. Update it along
with all users.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v5:
- Drop the enum / mem_type patch as it is not needed
- Drop the patch to remove extra brackets in efi_mem_carve_out()

Changes in v3:
- Add comment to struct efi_device_path_memory
- Use a pointer for the values in struct efi_device_path_memory

Changes in v2:
- Drop patch 'Convert efi_get_memory_map() to return pointers'
- Drop patch 'efi_loader: Make more use of ulong'
- Significantly expand and redirect the series

 include/efi_api.h                | 10 ++++++++++
 include/efi_loader.h             |  3 +--
 lib/efi_loader/efi_bootbin.c     |  3 +--
 lib/efi_loader/efi_bootmgr.c     |  2 +-
 lib/efi_loader/efi_device_path.c | 16 ++++++++--------
 5 files changed, 21 insertions(+), 13 deletions(-)

Applied to sjg/master, thanks!


More information about the U-Boot mailing list