summaryrefslogtreecommitdiffstats
path: root/common/partitions/parser.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-02-16 14:47:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-16 23:39:08 +0100
commit86b3577a725a34160ec5ea60555abb7e4b330ad7 (patch)
tree52d478dca9fe1b843cba13efa1f49d09ce263adb /common/partitions/parser.h
parent263bb23ed2e21ed411b87c32b6c27db0f35a33a1 (diff)
downloadbarebox-86b3577a725a34160ec5ea60555abb7e4b330ad7.tar.gz
disk: introduce partition name
so we can register partion with name as present in EFI GPT Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/partitions/parser.h')
-rw-r--r--common/partitions/parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/partitions/parser.h b/common/partitions/parser.h
index 13506c0..f5bdbd1 100644
--- a/common/partitions/parser.h
+++ b/common/partitions/parser.h
@@ -12,8 +12,10 @@
#include <linux/list.h>
#define MAX_PARTITION 8
+#define MAX_PARTITION_NAME 38
struct partition {
+ char name[MAX_PARTITION_NAME];
uint64_t first_sec;
uint64_t size;
};