Skip to content

Respin bootstd cros patch into a series of two

Vincent Stehlé u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi: move guid helper functions to efi.hinclude/efi.h include/efi_loader.h+10 -100 replies
2/2bootstd: cros: store partition type in an efi_guid_tboot/bootmeth_cros.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Respin bootstd cros patch into a series of two

Hi,

This is a respin of this patch [1] after discussion [2]. Thanks to Simon and Heinrich for their reviews.

To use the guidcmp() function, as suggested by Heinrich, we need to make it available to bootmeth_cros.c and I think that the cleanest way to do that is (arguably) to move the guid helper functions to efi.h near the efi_guid_t definition; this is why the original patch has now become a series of two patches.

The alternative would be to include efi_loader.h from bootmeth_cros.c but I think this does not sound "right". If this is in fact the preferred approach just let me know and I will respin.

There is no difference in the sandbox binaries before/after this series on Arm and on PC, and all the tests I have run on the sandbox are unchanged.

Best regards,
Vincent.

[1] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[2] https://lists.denx.de/pipermail/u-boot/2024-June/557588.html

Vincent Stehlé (2):
efi: move guid helper functions to efi.h
bootstd: cros: store partition type in an efi_guid_t

 boot/bootmeth_cros.c |  6 +++---
 include/efi.h        | 10 ++++++++++
 include/efi_loader.h | 10 ----------
 3 files changed, 13 insertions(+), 13 deletions(-)
Signature · 1 line
2.43.0