aboutsummaryrefslogtreecommitdiff
path: root/services/std_svc
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2014-04-23 15:22:18 +0100
committerDan Handley <dan.handley@arm.com>2014-05-06 13:45:27 +0100
commitc5945735a9705675201d2799654348425f28f551 (patch)
treec75076350834b5c52886c7b60e6fa2abd374bab0 /services/std_svc
parent5b827a8fb6ea5cddf2cc80d724b58350457afc54 (diff)
downloadarm-trusted-firmware-c5945735a9705675201d2799654348425f28f551.tar.gz
Move PSCI global functions out of private header
Move the PSCI global functions out of psci_private.h and into psci.h to allow the standard service to only depend on psci.h. Change-Id: I8306924a3814b46e70c1dcc12524c7aefe06eed1
Diffstat (limited to 'services/std_svc')
-rw-r--r--services/std_svc/psci/psci_entry.S1
-rw-r--r--services/std_svc/psci/psci_private.h13
-rw-r--r--services/std_svc/std_svc_setup.c1
3 files changed, 0 insertions, 15 deletions
diff --git a/services/std_svc/psci/psci_entry.S b/services/std_svc/psci/psci_entry.S
index 8a73e8b..51d9b57 100644
--- a/services/std_svc/psci/psci_entry.S
+++ b/services/std_svc/psci/psci_entry.S
@@ -30,7 +30,6 @@
#include <arch.h>
#include <platform.h>
-#include <psci.h>
#include <runtime_svc.h>
#include <asm_macros.S>
#include <cm_macros.S>
diff --git a/services/std_svc/psci/psci_private.h b/services/std_svc/psci/psci_private.h
index 8cb3aab..72d4612 100644
--- a/services/std_svc/psci/psci_private.h
+++ b/services/std_svc/psci/psci_private.h
@@ -156,19 +156,6 @@ extern int psci_afflvl_suspend(unsigned long,
int);
extern unsigned int psci_afflvl_suspend_finish(unsigned long, int, int);
-/* Private exported functions from psci_main.c */
-extern uint64_t psci_smc_handler(uint32_t smc_fid,
- uint64_t x1,
- uint64_t x2,
- uint64_t x3,
- uint64_t x4,
- void *cookie,
- void *handle,
- uint64_t flags);
-
-/* PSCI setup function */
-extern int32_t psci_setup(void);
-
#endif /*__ASSEMBLY__*/
#endif /* __PSCI_PRIVATE_H__ */
diff --git a/services/std_svc/std_svc_setup.c b/services/std_svc/std_svc_setup.c
index 7d5527a..40d7096 100644
--- a/services/std_svc/std_svc_setup.c
+++ b/services/std_svc/std_svc_setup.c
@@ -35,7 +35,6 @@
#include <std_svc.h>
#include <psci.h>
#include <debug.h>
-#include "psci/psci_private.h"
/* Standard Service UUID */
DEFINE_SVC_UUID(arm_svc_uid,