aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2018-04-26 13:36:53 +0100
committerRoberto Vargas <roberto.vargas@arm.com>2018-06-14 14:41:00 +0100
commit033648652f2d66abe2454a75ded891a47cb13446 (patch)
tree44f1cf0dbdc9601e539393015091c59027de8be3 /drivers
parent74a44dca29be3e780ea50cf7a595883a399e7cfb (diff)
downloadplatform_external_arm-trusted-firmware-033648652f2d66abe2454a75ded891a47cb13446.tar.gz
platform_external_arm-trusted-firmware-033648652f2d66abe2454a75ded891a47cb13446.tar.bz2
platform_external_arm-trusted-firmware-033648652f2d66abe2454a75ded891a47cb13446.zip
Make TF UUID RFC 4122 compliant
RFC4122 defines that fields are stored in network order (big endian), but TF-A stores them in machine order (little endian by default in TF-A). We cannot change the future UUIDs that are already generated, but we can store all the bytes using arrays and modify fiptool to generate the UUIDs with the correct byte order. Change-Id: I97be2d3168d91f4dee7ccfafc533ea55ff33e46f Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/io/io_fip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/io/io_fip.c b/drivers/io/io_fip.c
index 487f58611..175433906 100644
--- a/drivers/io/io_fip.c
+++ b/drivers/io/io_fip.c
@@ -32,7 +32,7 @@ typedef struct {
fip_toc_entry_t entry;
} file_state_t;
-static const uuid_t uuid_null = {0};
+static const uuid_t uuid_null = { {0} };
static file_state_t current_file = {0};
static uintptr_t backend_dev_handle;
static uintptr_t backend_image_spec;