From 75e1dfa038fd2f88959dd7b618984e54ee4fa594 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Tue, 1 Sep 2020 14:16:44 -0700 Subject: [PATCH] spmd: remove assert for SPMC PC value This patch removes the assert that expects the SPMC PC value to be same as BL32_BASE. This assumption is not true for all platforms e.g. Tegra, and so will be removed from the SPMD. Platforms can always add this check to the platform files, if required. Change-Id: Ic40620b43d160feb4f72f4af18e6d01861d4bf37 Signed-off-by: Varun Wadekar --- services/std_svc/spmd/spmd_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/services/std_svc/spmd/spmd_main.c b/services/std_svc/spmd/spmd_main.c index 6f0d9b1dc..7d207ea15 100644 --- a/services/std_svc/spmd/spmd_main.c +++ b/services/std_svc/spmd/spmd_main.c @@ -249,7 +249,6 @@ static int spmd_spmc_init(void *pm_addr) } SET_PARAM_HEAD(spmc_ep_info, PARAM_EP, VERSION_1, ep_attr); - assert(spmc_ep_info->pc == BL32_BASE); /* * Populate SPSR for SPM Core based upon validated parameters from the