summaryrefslogtreecommitdiffstats
path: root/common/partitions/efi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/partitions/efi.c')
-rw-r--r--common/partitions/efi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/partitions/efi.c b/common/partitions/efi.c
index 67d4978244..51e92f65c5 100644
--- a/common/partitions/efi.c
+++ b/common/partitions/efi.c
@@ -559,6 +559,7 @@ static __maybe_unused struct partition_desc *efi_partition_create_table(struct b
static guid_t partition_linux_data_guid = PARTITION_LINUX_DATA_GUID;
static guid_t partition_basic_data_guid = PARTITION_BASIC_DATA_GUID;
+static guid_t partition_barebox_env_guid = PARTITION_BAREBOX_ENVIRONMENT_GUID;
static const guid_t *fs_type_to_guid(const char *fstype)
{
@@ -572,6 +573,8 @@ static const guid_t *fs_type_to_guid(const char *fstype)
return &partition_basic_data_guid;
if (!strcmp(fstype, "fat32"))
return &partition_basic_data_guid;
+ if (!strcmp(fstype, "bbenv"))
+ return &partition_barebox_env_guid;
return NULL;
}