summaryrefslogtreecommitdiff
path: root/plat/sun50iw1p1/sunxi_private.h
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-02-23 14:44:59 +0000
committerAndre Przywara <andre.przywara@arm.com>2016-06-02 01:28:14 +0100
commit381da090e4502124a1753a0947574b830f4ef154 (patch)
tree2b8f2801d6c4ce6f2511e9aadce8e13316dc916a /plat/sun50iw1p1/sunxi_private.h
parentcccc0efed321582e3605e38c9b4f352569262ee1 (diff)
sun50i: introduce get_highest_el() functionality
Add a function to get the highest implemented exception level and use that for entering BL3-3 in. Also we make the bit-size we enter non-secure world a parameter, so that we can easily switch between AArch32 and AArch64. (HACK: Keep entering U-Boot still in AArch32 SVC for now.) Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/sun50iw1p1/sunxi_private.h')
-rw-r--r--plat/sun50iw1p1/sunxi_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/sun50iw1p1/sunxi_private.h b/plat/sun50iw1p1/sunxi_private.h
index 928bcea..3dc5ced 100644
--- a/plat/sun50iw1p1/sunxi_private.h
+++ b/plat/sun50iw1p1/sunxi_private.h
@@ -78,7 +78,7 @@ void sunxi_io_setup(void);
void sunxi_security_setup(void);
/* Gets the SPSR for BL33 entry */
-uint32_t sunxi_get_spsr_for_bl33_entry(void);
+uint32_t sunxi_get_spsr_for_bl33_entry(int aarch);
#endif /* __SUNXI_PRIVATE_H__ */