summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay73@gmail.com>2015-10-27 11:00:27 +0100
committerTom Rini <trini@konsulko.com>2015-11-12 15:58:58 -0500
commit7561b258a1bdda25daee78824a400d48921f4802 (patch)
tree9947bb71da958c871e8ab8cbe246088f6cb3e118 /include
parentb38c108a9833ca2acb568530ebd269760f3925d9 (diff)
downloadu-boot-imx-7561b258a1bdda25daee78824a400d48921f4802.zip
u-boot-imx-7561b258a1bdda25daee78824a400d48921f4802.tar.gz
u-boot-imx-7561b258a1bdda25daee78824a400d48921f4802.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/part.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h
index 8ea9b30..8b5ac12 100644
--- a/include/part.h
+++ b/include/part.h
@@ -93,6 +93,9 @@ typedef struct disk_partition {
#ifdef CONFIG_PARTITION_UUIDS
char uuid[37]; /* filesystem UUID as string, if exists */
#endif
+#ifdef CONFIG_PARTITION_TYPE_GUID
+ char type_guid[37]; /* type GUID as string, if exists */
+#endif
} disk_partition_t;
/* Misc _get_dev functions */