diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-07-17 21:22:39 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-27 07:23:17 +0200 |
commit | be2edd99c02c3790ae3f1d5c2e109d66df0c28a3 (patch) | |
tree | 2ee7c8b5051105c3a27476aae3c34cc75515cb7f /include | |
parent | 55da0cf13eda4a29ce6d2aa58b3de6448a806e9e (diff) | |
download | barebox-be2edd99c02c3790ae3f1d5c2e109d66df0c28a3.tar.gz barebox-be2edd99c02c3790ae3f1d5c2e109d66df0c28a3.tar.xz |
efi: add helper to get the GPT partition UUID for a device
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/efi.h b/include/efi.h index e79a407bc2..b6ee42b3fd 100644 --- a/include/efi.h +++ b/include/efi.h @@ -624,6 +624,7 @@ static inline int efi_compare_guid(efi_guid_t *a, efi_guid_t *b) char *device_path_to_str(struct efi_device_path *dev_path); u8 device_path_to_type(struct efi_device_path *dev_path); +char *device_path_to_partuuid(struct efi_device_path *dev_path); const char *efi_guid_string(efi_guid_t *g); |