]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(tc): add RSS-AP message size macro
authorDavid Vincze <david.vincze@arm.com>
Mon, 11 Apr 2022 15:08:20 +0000 (17:08 +0200)
committerTamas Ban <tamas.ban@arm.com>
Fri, 7 Oct 2022 09:32:48 +0000 (11:32 +0200)
Define the RSS_COMMS_PAYLOAD_MAX_SIZE macro. Its value is platform
specific and gives the largest message size which are exchanged
on the TC2 platform between RSS and AP.

Change-Id: Id831c282dc9a39755b82befead1a81767e217215
Signed-off-by: David Vincze <david.vincze@arm.com>
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
plat/arm/board/tc/include/platform_def.h

index 366a44e85a08cda972e1bd2fd49a72e9806a12d2..b63185c15486a4fac6b06dc81d5d49bbaae8feec 100644 (file)
 # define PLATFORM_STACK_SIZE           0x440
 #endif
 
+/*
+ * In the current implementation the RoT Service request that requires the
+ * biggest message buffer is the RSS_DELEGATED_ATTEST_GET_PLATFORM_TOKEN. The
+ * maximum required buffer size is calculated based on the platform-specific
+ * needs of this request.
+ */
+#define PLAT_RSS_COMMS_PAYLOAD_MAX_SIZE        0x500
 
 #define TC_DEVICE_BASE                 0x21000000
 #define TC_DEVICE_SIZE                 0x5f000000