aboutsummaryrefslogtreecommitdiff
path: root/services/spd/tlkd
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 /services/spd/tlkd
parent74a44dca29be3e780ea50cf7a595883a399e7cfb (diff)
downloadtrusted-firmware-a-033648652f2d66abe2454a75ded891a47cb13446.tar.gz
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 'services/spd/tlkd')
-rw-r--r--services/spd/tlkd/tlkd_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/spd/tlkd/tlkd_main.c b/services/spd/tlkd/tlkd_main.c
index 5090f063fe..cee7ef865d 100644
--- a/services/spd/tlkd/tlkd_main.c
+++ b/services/spd/tlkd/tlkd_main.c
@@ -40,9 +40,9 @@ tlk_context_t tlk_ctx;
static uint32_t boot_cpu;
/* TLK UID: RFC-4122 compliant UUID (version-5, sha-1) */
-DEFINE_SVC_UUID(tlk_uuid,
- 0xbd11e9c9, 0x2bba, 0x52ee, 0xb1, 0x72,
- 0x46, 0x1f, 0xba, 0x97, 0x7f, 0x63);
+DEFINE_SVC_UUID2(tlk_uuid,
+ 0xc9e911bd, 0xba2b, 0xee52, 0xb1, 0x72,
+ 0x46, 0x1f, 0xba, 0x97, 0x7f, 0x63);
static int32_t tlkd_init(void);