sgm775: Fix build fail for TSP support on sgm775
authorMadhukar Pappireddy <madhukar.pappireddy@arm.com>
Mon, 22 Jul 2019 22:39:51 +0000 (17:39 -0500)
committerMadhukar Pappireddy <madhukar.pappireddy@arm.com>
Thu, 25 Jul 2019 14:45:17 +0000 (14:45 +0000)
Fixed the path to a source file specified in tsp makefile
Created a platform specific tsp makefile

Change-Id: I89565127c67eff510e48e21fd450af4c3088c2d4
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
plat/arm/board/sgm775/tsp/tsp-sgm775.mk [new file with mode: 0644]
plat/arm/css/sgm/include/sgm_base_platform_def.h
plat/arm/css/sgm/tsp/tsp-sgm.mk

diff --git a/plat/arm/board/sgm775/tsp/tsp-sgm775.mk b/plat/arm/board/sgm775/tsp/tsp-sgm775.mk
new file mode 100644 (file)
index 0000000..129b586
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Copyright (c) 2019, ARM Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+include plat/arm/css/sgm/tsp/tsp-sgm.mk
\ No newline at end of file
index 85818446e92bcc1d0235e94f9427652a8c7385d1..4ecfc969a729a56c34c3b7659abdbca865e0e763 100644 (file)
 #define PLAT_CSS_PRIMARY_CPU_BIT_WIDTH         4
 #endif
 
-/*
- * tspd support is conditional so enable this for CSS sgm platforms.
- */
-#define SPD_tspd
-
 /*
  * PLAT_CSS_MAX_SCP_BL2_SIZE is calculated using the current
  * SCP_BL2 size plus a little space for growth.
index a9e413163313194fb2f2c307512be30320f725ab..de5e5b797f6c7dce1b40405a88b8365368c38455 100644 (file)
@@ -6,6 +6,6 @@
 
 BL32_SOURCES           +=      ${SGM_GIC_SOURCES}                      \
                                ${CSS_SGM_BASE}/sgm_plat_config.c       \
-                               plat/arm/board/sgm/tsp/sgm_tsp_setup.c
+                               plat/arm/css/sgm/tsp/sgm_tsp_setup.c
 
 include plat/arm/common/tsp/arm_tsp.mk