summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-08-11 13:42:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-08-11 13:42:53 +0200
commitb33c2913d747d3c55019a1d310427ca2697de6fc (patch)
tree2c10c7948f7c0b3558a739a66dcae0272a24de9c /common
parente51e8f2a8c6b9ed3491970f2f42dfe90c43d8428 (diff)
parentf9c9651eabe33f0e3690d1230b9a431d0e3e5706 (diff)
downloadbarebox-b33c2913d747d3c55019a1d310427ca2697de6fc.tar.gz
barebox-b33c2913d747d3c55019a1d310427ca2697de6fc.tar.xz
Merge branch 'for-next/efi'
Diffstat (limited to 'common')
-rw-r--r--common/partitions/efi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/partitions/efi.c b/common/partitions/efi.c
index 848bed2261..0f3f790539 100644
--- a/common/partitions/efi.c
+++ b/common/partitions/efi.c
@@ -446,6 +446,7 @@ static void efi_partition(void *buf, struct block_device *blk,
}
snprintf(blk->cdev.uuid, sizeof(blk->cdev.uuid), "%pUl", &gpt->disk_guid);
+ dev_add_param_string_fixed(blk->dev, "guid", blk->cdev.uuid);
nb_part = le32_to_cpu(gpt->num_partition_entries);