sgm: Fix bl2 sources
authorAmbroise Vincent <[email protected]>
Thu, 11 Apr 2019 12:45:18 +0000 (13:45 +0100)
committerAmbroise Vincent <[email protected]>
Thu, 11 Apr 2019 12:48:15 +0000 (13:48 +0100)
The weak version of plat_get_mbedtls_heap() was being used.

Change-Id: I6da331a098dd1af5bb64729d5b914cfb74b8869e
Signed-off-by: Ambroise Vincent <[email protected]>
plat/arm/css/sgm/sgm-common.mk

index ddeac68a519526cf5d2e9cf3ff5d234aa668e57a..0a136e6366e836141db61b93d1e2f3b2e624d15a 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -12,7 +12,7 @@ PLAT_BL_COMMON_SOURCES        :=      ${CSS_SGM_BASE}/sgm_mmap_config.c       \
                                ${CSS_SGM_BASE}/aarch64/css_sgm_helpers.S
 
 SECURITY_SOURCES       :=      drivers/arm/tzc/tzc_dmc500.c            \
-                               plat/arm/common/arm_tzc_dmc500.c        \
+                               plat/arm/common/arm_tzc_dmc500.c        \
                                ${CSS_SGM_BASE}/sgm_security.c
 
 SGM_CPU_SOURCES                :=      lib/cpus/aarch64/cortex_a55.S           \
@@ -30,10 +30,11 @@ SGM_GIC_SOURCES             :=      drivers/arm/gic/common/gic_common.c     \
 
 BL1_SOURCES            +=      $(SGM_CPU_SOURCES)                      \
                                ${INTERCONNECT_SOURCES}                 \
-                               ${CSS_SGM_BASE}/sgm_bl1_setup.c \
+                               ${CSS_SGM_BASE}/sgm_bl1_setup.c         \
                                ${CSS_SGM_BASE}/sgm_plat_config.c
 
-BL2_SOURCES            +=      ${SECURITY_SOURCES}
+BL2_SOURCES            +=      ${SECURITY_SOURCES}                     \
+                               ${CSS_SGM_BASE}/sgm_plat_config.c
 
 BL2U_SOURCES           +=      ${SECURITY_SOURCES}
 
@@ -41,7 +42,7 @@ BL31_SOURCES          +=      $(SGM_CPU_SOURCES)                      \
                                ${INTERCONNECT_SOURCES}                 \
                                ${SECURITY_SOURCES}                     \
                                ${SGM_GIC_SOURCES}                      \
-                               ${CSS_SGM_BASE}/sgm_topology.c  \
+                               ${CSS_SGM_BASE}/sgm_topology.c          \
                                ${CSS_SGM_BASE}/sgm_bl31_setup.c        \
                                ${CSS_SGM_BASE}/sgm_plat_config.c