aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
authorSudeep Holla <sudeep.holla@arm.com>2025-02-17 15:38:43 +0000
committerSudeep Holla <sudeep.holla@arm.com>2025-02-17 15:42:03 +0000
commitb7c9f32614f17c76ab26b8ee0109c868d7e054fe (patch)
tree51a1b4db88fbb30a942924a34946ab7ce2209ebc /drivers/firmware
parent1ed14652dc324d676f4a93643f3526738ea18214 (diff)
downloadath-b7c9f32614f17c76ab26b8ee0109c868d7e054fe.tar.gz
firmware: arm_ffa: Replace UUID buffer to standard UUID format
Currently ffa_partition_info structure holds the UUID in the format compatible with the firmware interface. However, most of the functions in the FF-A core driver deals directly with uuid_t type. Replace UUID buffer to standard UUID format in the ffa_partition_info structure. Tested-by: Viresh Kumar <viresh.kumar@linaro.org> Message-Id: <20250217-ffa_updates-v3-2-bd1d9de615e7@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/arm_ffa/bus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/firmware/arm_ffa/bus.c b/drivers/firmware/arm_ffa/bus.c
index 52b1f09209a0e..a90e2faa99021 100644
--- a/drivers/firmware/arm_ffa/bus.c
+++ b/drivers/firmware/arm_ffa/bus.c
@@ -192,7 +192,6 @@ ffa_device_register(const struct ffa_partition_info *part_info,
const struct ffa_ops *ops)
{
int id, ret;
- uuid_t uuid;
struct device *dev;
struct ffa_device *ffa_dev;
@@ -218,8 +217,7 @@ ffa_device_register(const struct ffa_partition_info *part_info,
ffa_dev->vm_id = part_info->id;
ffa_dev->properties = part_info->properties;
ffa_dev->ops = ops;
- import_uuid(&uuid, (u8 *)part_info->uuid);
- uuid_copy(&ffa_dev->uuid, &uuid);
+ uuid_copy(&ffa_dev->uuid, &part_info->uuid);
ret = device_register(&ffa_dev->dev);
if (ret) {