[PATCH v2 0/4] cmd: gpt: fix gpt read

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sat Sep 2 09:35:20 CEST 2023


To partition a block device the partition type GUIDs are needed but
'gpt read' does not provide these. Add the missing parts.

v2:
	Rename disk_partition_type_uuid() to disk_partition_type_guid().
	Use setter for type_guid in allocate_disk_part().
	Fix calculation of the size of the partition table descriptor.
	Use accessor for type_guid field.

*** BLURB HERE ***

Heinrich Schuchardt (4):
  part: rename disk_partition_type_uuid()
  cmd: gpt: use UUID accessor more consistently
  cmd: gpt: fix calc_parts_list_len()
  cmd: gpt: fix gpt read

 cmd/gpt.c       | 70 ++++++++++++++++++++++++++++++++-----------------
 disk/part_efi.c |  2 +-
 include/part.h  | 26 +++++++++++++++---
 3 files changed, 70 insertions(+), 28 deletions(-)

-- 
2.40.1



More information about the U-Boot mailing list