summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);