aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/arm64/include/arch
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-11-05 10:45:05 -0600
committerPatrick Georgi <pgeorgi@google.com>2015-04-10 11:57:14 +0200
commit9fd7b1c1a9ab42b428af2599f497a328a04dbe92 (patch)
treef26dc98e8957e93f22e5d1d59718489d71f0b725 /src/arch/arm64/include/arch
parentbe3e2387c6e01cf5dd2346aa0f12e35d8229f2a6 (diff)
downloadcoreboot-9fd7b1c1a9ab42b428af2599f497a328a04dbe92.tar.gz
coreboot-9fd7b1c1a9ab42b428af2599f497a328a04dbe92.tar.xz
coreboot-9fd7b1c1a9ab42b428af2599f497a328a04dbe92.zip
arm64: psci: use struct cpu_action to track startup entry
The struct cpu_action already tracks entry/arg pointers. Use that instead of duplicating the same information. BUG=chrome-os-partner:32112 BRANCH=None TEST=Built and booted. Change-Id: I70e1b471ca15eac2ea4e6ca3dab7d8dc2774a241 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: cdddfd8d74d227cb5cbdf15b6871480839fa20d8 Original-Change-Id: I4070ef0df19bb1141a1a47c4570a894928d6a5a4 Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/227549 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9396 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/arm64/include/arch')
-rw-r--r--src/arch/arm64/include/arch/psci.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/arm64/include/arch/psci.h b/src/arch/arm64/include/arch/psci.h
index afa4c4209..32a32b134 100644
--- a/src/arch/arm64/include/arch/psci.h
+++ b/src/arch/arm64/include/arch/psci.h
@@ -63,8 +63,7 @@ struct psci_node;
struct psci_cpu_state {
struct cpu_info *ci;
- void *entry;
- void *arg;
+ struct cpu_action startup;
/* Ancestor of target to update state in CPU_ON case. */
struct psci_node *ancestor;
};
@@ -191,7 +190,7 @@ static inline void psci64_return(struct psci_func *pf, int64_t val)
void psci_init(void);
/* Turn on the current CPU within the PSCI subsystem. */
-void psci_turn_on_self(void *entry, void *arg);
+void psci_turn_on_self(const struct cpu_action *action);
int psci_turn_off_self(void);
#endif /* __ARCH_PSCI_H__ */