From: Alison Chaiken <ali...@peloton-tech.com> Here is a resubmission of the 9-part patch series, the first 8 of which have already been marked 'applied', 'reviewed', or 'ack'ed' by Lukasz Majewski, Simon Glass or Tom Rini. I'm reposting them all as a set at Tom Rini's suggestion. Those earlier patches are listed here:
GPT: read partition table from device into a data structure Reviewed-by: Tom Rini, Jun 11 in <20170611133854.GS10782@bill-the-cat> GPT: add accessor function for disk GUID Reviewed-by: Tom Rini, Jun 11 in <20170611133849.GR10782@bill-the-cat> partitions: increase MAX_SEARCH_PARTITIONS and move to part.h Reviewed-by: Lukasz Majewski, Jun 3 in <20170603135259.6ba67e86@jawa> cmd gpt: test in sandbox Applied to u-boot-dm by Simon Glass, Jun 15 in <CAPnjgZ0G6QADVFLC0mExQN3HXhLXbgE4neBEtmWAg0YZu-=a...@mail.gmail.com> sandbox: README: fix partition command invocation Reviewed-by: Simon Glass, Jun 15, applied to u-boot-dm in <capnjgz1dtzpmjudxuoqqjgrgrmtq73qqj3qiegcs6416b1o...@mail.gmail.com> GPT: fix error in partitions string doc Ack'ed by Lukasz Majewski, May 31, in <0170531132155.33a558e7@jawa> disk_partition: introduce macros for description string lengths Reviewed-by: Tom Rini, May 31 in <20170531135056.GZ10782@bill-the-cat> EFI: replace number with UUID_STR_LEN macro Acked-by: Lukasz Majewski, May 31 in <20170531093702.736b567f@jawa> Changes since last version to the last patch in the series: -- Removed several casts in create_gpt_partitions_list() and do_rename_gpt_parts() as suggested by Lothar Waßmann. The cast of gpt_part_info.name to char* is needed to silence a compiler warning. -- Substituted simple_strtol() for atoi() in do_gpt_rename_parts() as suggested by Tom Rini and Wolfgang Denk. -- Fixed bug in do_rename_gpt_parts() where 0 was returned as a valid number of partitions with which to continue. -- Added a comment to do_rename_gpt_parts() noting that the debug() string it optionally prints is useful as input to the pre-existing 'gpt write' and 'gpt verify' commands. -- Changed some -1 return values to -ENODEV and -EINVAL as suggested by Tom Rini. Changes to penultimate patch: -- Removed a cast in allocate_disk_part() as suggested by Lothar. Remaining tasks planned for future patches: -- Create tests for GPT functionality as suggested by Lukasz. -- Improve support for CONFIG_RANDOM_UUID. -- Preserve partition type info when rewriting GPT. Alison Chaiken (9): EFI: replace number with UUID_STR_LEN macro disk_partition: introduce macros for description string lengths GPT: fix error in partitions string doc sandbox: README: fix partition command invocation cmd gpt: test in sandbox partitions: increase MAX_SEARCH_PARTITIONS and move to part.h GPT: add accessor function for disk GUID GPT: read partition table from device into a data structure GPT: provide commands to selectively rename partitions board/sandbox/README.sandbox | 2 +- cmd/Kconfig | 8 + cmd/gpt.c | 376 ++++++++++++++++++++++++++++++++++++++++++- disk/part.c | 1 - disk/part_efi.c | 33 +++- doc/README.gpt | 39 ++++- include/part.h | 35 +++- 7 files changed, 481 insertions(+), 13 deletions(-) -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot