diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-01-08 20:13:06 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2019-02-13 11:40:06 +0300 |
commit | f6c6df7ebc12fdaab252c5869732cef6fa48d864 (patch) | |
tree | a9dd4b1d6b4a9304e17dc37042e63174d211cfc2 /include | |
parent | b4f471f18e68b340e5b968e2d611b83f709a78ce (diff) | |
download | u-boot-f6c6df7ebc12fdaab252c5869732cef6fa48d864.tar.xz |
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')
-rw-r--r-- | include/bootm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h index dbd6f49c2d..e2cc6d4b99 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 |