aboutsummaryrefslogtreecommitdiff
path: root/include/bootm.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2019-01-08 18:13:06 +0100
committerAlexander Graf2019-02-13 09:40:06 +0100
commitf6c6df7ebc12fdaab252c5869732cef6fa48d864 (patch)
treea9dd4b1d6b4a9304e17dc37042e63174d211cfc2 /include/bootm.h
parentb4f471f18e68b340e5b968e2d611b83f709a78ce (diff)
efi_loader: refactor switch to non-secure mode
Refactor the switch from supervisor to hypervisor to a new function called at the beginning of do_bootefi(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/bootm.h')
-rw-r--r--include/bootm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h
index dbd6f49c2df..e2cc6d4b99a 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -82,4 +82,9 @@ int bootm_decomp_image(int comp, ulong load, ulong image_start, int type,
*/
void board_quiesce_devices(void);
+/**
+ * switch_to_non_secure_mode() - switch to non-secure mode
+ */
+void switch_to_non_secure_mode(void);
+
#endif