aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Kis <imre.kis@arm.com>2021-01-12 22:28:40 +0100
committerGy├Ârgy Szing <gyorgy.szing@arm.com>2021-02-02 10:00:13 +0000
commit1f89e828dd06005d0086690c4c2a12d9b6786598 (patch)
tree3d709f48fea377ce26057f4990f6ad967e6da351
parentc81995e1cf23545a77261a31a86fe09eeaaaa35b (diff)
downloadtrusted-services-1f89e828dd06005d0086690c4c2a12d9b6786598.tar.gz
libsp: Add missing include to sp_api_defines.h
SP_RESULT definitions need to know the FF-A error code with the lowest value. ffa_api_defines.h is now included in sp_api_defines.h so it doesn't rely on having both header files included at usage. Signed-off-by: Imre Kis <imre.kis@arm.com> Change-Id: Ie0a99e9f2397264b4d96620927338e8228ef8292
-rw-r--r--components/messaging/ffa/libsp/include/sp_api_defines.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/messaging/ffa/libsp/include/sp_api_defines.h b/components/messaging/ffa/libsp/include/sp_api_defines.h
index 601d3ee..08e5747 100644
--- a/components/messaging/ffa/libsp/include/sp_api_defines.h
+++ b/components/messaging/ffa/libsp/include/sp_api_defines.h
@@ -1,11 +1,13 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/*
- * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
*/
#ifndef LIBSP_INCLUDE_SP_API_DEFINES_H_
#define LIBSP_INCLUDE_SP_API_DEFINES_H_
+#include "ffa_api_defines.h"
+
/**
* SP result values are integers where the zero value indicates success and
* negative values are error codes. The first part of the error code range is