summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlison Chaiken <alison@peloton-tech.com>2017-06-25 23:43:17 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-04 13:55:29 (GMT)
commitdb9b6200a4b38d0ca9e2c1aac6acaee671baff7d (patch)
tree7572254b0222d27b921f597cb7ba1eb8965bb58b /include
parentfe84c48eeb8e9cb0b8b80a4c0a53bb089adff9af (diff)
downloadu-boot-fsl-qoriq-db9b6200a4b38d0ca9e2c1aac6acaee671baff7d.tar.xz
EFI: replace number with UUID_STR_LEN macro
Changes since v6: none. Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
Diffstat (limited to 'include')
-rw-r--r--include/part.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/part.h b/include/part.h
index 83bce05..6ace09f 100644
--- a/include/part.h
+++ b/include/part.h
@@ -9,6 +9,7 @@
#include <blk.h>
#include <ide.h>
+#include <uuid.h>
struct block_drvr {
char *name;
@@ -54,10 +55,10 @@ typedef struct disk_partition {
uchar type[32]; /* string type description */
int bootable; /* Active/Bootable flag is set */
#if CONFIG_IS_ENABLED(PARTITION_UUIDS)
- char uuid[37]; /* filesystem UUID as string, if exists */
+ char uuid[UUID_STR_LEN + 1]; /* filesystem UUID as string, if exists */
#endif
#ifdef CONFIG_PARTITION_TYPE_GUID
- char type_guid[37]; /* type GUID as string, if exists */
+ char type_guid[UUID_STR_LEN + 1]; /* type GUID as string, if exists */
#endif
#ifdef CONFIG_DOS_PARTITION
uchar sys_ind; /* partition type */