summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-09-19 16:01:03 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-03-28 08:44:54 +0100
commitcd72103021a318741cd6bb51efe585ef09f0ce2b (patch)
tree7ee84302301010bbd7b9749b4f11611ea781da57 /src
parentbda3577d0c9f9e3ceb896f25cf06be69d614eed9 (diff)
arm64: remove EL and mode from secmon_params
Since PSCI dynamically determines which EL to transition to based on SCR_EL3 there's no need to provide that information. BUG=chrome-os-partner:30785 BRANCH=None TEST=Built and booted into kernel with MP. Change-Id: Ia59bc8116ec4ae9bde2e6cad1861f76c14f7d495 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 8bc5f7c8a114568ede98478c2fbea2f8b7d97f0c Original-Change-Id: I8783b6315dca01464e14c9d2b20d009cf0beeb67 Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/218924 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9098 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm64/armv8/secmon_loader.c4
-rw-r--r--src/arch/arm64/include/armv8/arch/secmon.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/arch/arm64/armv8/secmon_loader.c b/src/arch/arm64/armv8/secmon_loader.c
index e571b51a6a..00982289ef 100644
--- a/src/arch/arm64/armv8/secmon_loader.c
+++ b/src/arch/arm64/armv8/secmon_loader.c
@@ -139,10 +139,6 @@ void secmon_run(void (*entry)(void *), void *cb_tables)
runit.bsp_params.entry = entry;
runit.bsp_params.arg = cb_tables;
- runit.bsp_params.elx_el = EL2;
- runit.bsp_params.elx_mode = SPSR_USE_L;
- runit.secondary_params.elx_el = EL2;
- runit.secondary_params.elx_mode = SPSR_USE_L;
spin_attrs = spintable_get_attributes();
diff --git a/src/arch/arm64/include/armv8/arch/secmon.h b/src/arch/arm64/include/armv8/arch/secmon.h
index 5245e31760..12dd8c4334 100644
--- a/src/arch/arm64/include/armv8/arch/secmon.h
+++ b/src/arch/arm64/include/armv8/arch/secmon.h
@@ -27,8 +27,6 @@
struct secmon_params {
void (*entry)(void *);
void *arg;
- uint8_t elx_el;
- uint8_t elx_mode;
};
void secmon_run(void (*entry)(void *), void *arg);