From cd72103021a318741cd6bb51efe585ef09f0ce2b Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 19 Sep 2014 16:01:03 -0500 Subject: 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 Original-Commit-Id: 8bc5f7c8a114568ede98478c2fbea2f8b7d97f0c Original-Change-Id: I8783b6315dca01464e14c9d2b20d009cf0beeb67 Original-Signed-off-by: Aaron Durbin Original-Reviewed-on: https://chromium-review.googlesource.com/218924 Original-Reviewed-by: Furquan Shaikh Reviewed-on: http://review.coreboot.org/9098 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/arm64/armv8/secmon_loader.c | 4 ---- src/arch/arm64/include/armv8/arch/secmon.h | 2 -- 2 files changed, 6 deletions(-) (limited to 'src/arch') 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); -- cgit v1.2.3