Unverified Commit 4a318e8d authored by Antonio Niño Díaz's avatar Antonio Niño Díaz Committed by GitHub
Browse files

Merge pull request #1817 from antonio-nino-diaz-arm/an/spd-includes

Sanitize SPD include paths
parents 288abd63 b29c1b00
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
# SPDX-License-Identifier: BSD-3-Clause # SPDX-License-Identifier: BSD-3-Clause
# #
ifeq (${ERROR_DEPRECATED},0)
SPD_INCLUDES := -Iinclude/bl32/payloads SPD_INCLUDES := -Iinclude/bl32/payloads
endif
SPD_SOURCES := services/spd/tlkd/tlkd_common.c \ SPD_SOURCES := services/spd/tlkd/tlkd_common.c \
services/spd/tlkd/tlkd_helpers.S \ services/spd/tlkd/tlkd_helpers.S \
......
...@@ -13,12 +13,13 @@ ...@@ -13,12 +13,13 @@
* handle the request locally or delegate it to the Secure Payload. It is also * handle the request locally or delegate it to the Secure Payload. It is also
* responsible for initialising and maintaining communication with the SP. * responsible for initialising and maintaining communication with the SP.
******************************************************************************/ ******************************************************************************/
#include <arch_helpers.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <stddef.h> #include <stddef.h>
#include <arch_helpers.h>
#include <bl31/bl31.h> #include <bl31/bl31.h>
#include <bl32/payloads/tlk.h>
#include <common/bl_common.h> #include <common/bl_common.h>
#include <common/debug.h> #include <common/debug.h>
#include <common/runtime_svc.h> #include <common/runtime_svc.h>
...@@ -26,7 +27,6 @@ ...@@ -26,7 +27,6 @@
#include <plat/common/platform.h> #include <plat/common/platform.h>
#include <tools_share/uuid.h> #include <tools_share/uuid.h>
#include <tlk.h>
#include "tlkd_private.h" #include "tlkd_private.h"
extern const spd_pm_ops_t tlkd_pm_ops; extern const spd_pm_ops_t tlkd_pm_ops;
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
#include <assert.h> #include <assert.h>
#include <arch_helpers.h> #include <arch_helpers.h>
#include <bl32/payloads/tlk.h>
#include <common/bl_common.h> #include <common/bl_common.h>
#include <common/debug.h> #include <common/debug.h>
#include <lib/el3_runtime/context_mgmt.h> #include <lib/el3_runtime/context_mgmt.h>
#include <lib/psci/psci.h> #include <lib/psci/psci.h>
#include <tlk.h>
#include "tlkd_private.h" #include "tlkd_private.h"
......
...@@ -5,7 +5,10 @@ ...@@ -5,7 +5,10 @@
# #
TSPD_DIR := services/spd/tspd TSPD_DIR := services/spd/tspd
ifeq (${ERROR_DEPRECATED},0)
SPD_INCLUDES := -Iinclude/bl32/tsp SPD_INCLUDES := -Iinclude/bl32/tsp
endif
SPD_SOURCES := services/spd/tspd/tspd_common.c \ SPD_SOURCES := services/spd/tspd/tspd_common.c \
services/spd/tspd/tspd_helpers.S \ services/spd/tspd/tspd_helpers.S \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment