diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-02-16 14:47:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-16 23:39:08 +0100 |
commit | 86b3577a725a34160ec5ea60555abb7e4b330ad7 (patch) | |
tree | 52d478dca9fe1b843cba13efa1f49d09ce263adb /common/partitions/parser.h | |
parent | 263bb23ed2e21ed411b87c32b6c27db0f35a33a1 (diff) | |
download | barebox-86b3577a725a34160ec5ea60555abb7e4b330ad7.tar.gz barebox-86b3577a725a34160ec5ea60555abb7e4b330ad7.tar.xz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/partitions/parser.h b/common/partitions/parser.h index 13506c00a0..f5bdbd1442 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; }; |