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>
This commit is contained in:
Aaron Durbin 2014-09-19 16:01:03 -05:00 committed by Patrick Georgi
parent bda3577d0c
commit cd72103021
2 changed files with 0 additions and 6 deletions

View File

@ -139,10 +139,6 @@ void secmon_run(void (*entry)(void *), void *cb_tables)
runit.bsp_params.entry = entry; runit.bsp_params.entry = entry;
runit.bsp_params.arg = cb_tables; 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(); spin_attrs = spintable_get_attributes();

View File

@ -27,8 +27,6 @@
struct secmon_params { struct secmon_params {
void (*entry)(void *); void (*entry)(void *);
void *arg; void *arg;
uint8_t elx_el;
uint8_t elx_mode;
}; };
void secmon_run(void (*entry)(void *), void *arg); void secmon_run(void (*entry)(void *), void *arg);