aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/bl_common.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/common/bl_common.c b/common/bl_common.c
index 86b0cc5..037d0ff 100644
--- a/common/bl_common.c
+++ b/common/bl_common.c
@@ -122,20 +122,6 @@ void __dead2 change_el(el_change_info_t *info)
raise_el(&info->args);
}
-/* TODO: add a parameter for DAIF. not needed right now */
-unsigned long make_spsr(unsigned long target_el,
- unsigned long target_sp,
- unsigned long target_rw)
-{
- unsigned long spsr;
-
- /* Disable all exceptions & setup the EL */
- spsr = (DAIF_FIQ_BIT | DAIF_IRQ_BIT | DAIF_ABT_BIT | DAIF_DBG_BIT)
- << PSR_DAIF_SHIFT;
- spsr |= PSR_MODE(target_rw, target_el, target_sp);
-
- return spsr;
-}
/*******************************************************************************
* The next two functions are the weak definitions. Platform specific