[U-Boot] [PATCH v2 2/3] gpt: add optional parameter type in gpt command

Simon Glass sjg at chromium.org
Thu Oct 22 01:24:55 CEST 2015


Hi Patrick,

On 21 October 2015 at 06:14, Patrick Delaunay
<patrick.delaunay73 at gmail.com> wrote:
> code under flag CONFIG_PARTITION_TYPE_GUID
> add parameter "type" to select partition type guid
>
> example of use with gpt command :
>
>   partitions = uuid_disk=${uuid_gpt_disk}; \
>       name=boot,size=0x6bc00,uuid=${uuid_gpt_boot}; \
>       name=root,size=0x7538ba00,uuid=${uuid_gpt_root}, \
>          type=0fc63daf-8483-4772-8e79-3d69d8477de4;
>
>   gpt write mmc 0 $partitions
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay73 at gmail.com>
> ---
>
> Changes in v2:
> - change guid to type in gpt command parameter
> - change guid to type_guid  in disk_partition_t
> - remove 'S' at the end of some flag CONFIG_PARTITION_TYPE_GUID
>
>  common/cmd_gpt.c | 17 +++++++++++++++++
>  disk/part.c      |  9 +++++++++
>  disk/part_efi.c  | 25 +++++++++++++++++++++++++
>  include/part.h   |  3 +++
>  4 files changed, 54 insertions(+)

Can you add some documentation somewhere for these patches?

Regards,
Simon


More information about the U-Boot mailing list