From fea85402ff93f508ff491c7fdd897daf9530a924 Mon Sep 17 00:00:00 2001 From: Tamas Ban Date: Wed, 10 May 2023 14:04:00 +0200 Subject: [PATCH] tc2: Cut the SDS region in half RSS needs to share data with AP during early boot over shared memory to support DPE. Reuse the original, single SDS region to accomodate two SDS regions instead: - Bottom half: RSS-AP - Upper half: SCP-AP Change-Id: Iad69699b69172adfdcd73ab36118d5aed26da1a9 Signed-off-by: Tamas Ban Signed-off-by: David Vincze --- product/totalcompute/tc2/include/scp_mmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/totalcompute/tc2/include/scp_mmap.h b/product/totalcompute/tc2/include/scp_mmap.h index 8aec2bd42..a992b2600 100644 --- a/product/totalcompute/tc2/include/scp_mmap.h +++ b/product/totalcompute/tc2/include/scp_mmap.h @@ -92,8 +92,8 @@ #define SCP_AP_CONTEXT_SIZE (64) /* SDS Memory Region */ -#define SCP_SDS_MEM_BASE (SCP_AP_SHARED_SECURE_BASE) -#define SCP_SDS_MEM_SIZE (3520) +#define SCP_SDS_MEM_BASE (SCP_AP_SHARED_SECURE_BASE + 1760) +#define SCP_SDS_MEM_SIZE (1760) /* SCMI Secure Payload Areas */ #define SCP_SCMI_PAYLOAD_SIZE (128) -- GitLab