]> git.ipfire.org Git - people/ms/u-boot.git/commit
gpt: add optional parameter type in gpt command
authorPatrick Delaunay <patrick.delaunay73@gmail.com>
Tue, 27 Oct 2015 10:00:27 +0000 (11:00 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 12 Nov 2015 20:58:58 +0000 (15:58 -0500)
commit7561b258a1bdda25daee78824a400d48921f4802
tree9947bb71da958c871e8ab8cbe246088f6cb3e118
parentb38c108a9833ca2acb568530ebd269760f3925d9
gpt: add optional parameter type in gpt command

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@gmail.com>
common/cmd_gpt.c
disk/part.c
disk/part_efi.c
doc/README.gpt
include/part.h