Skip to content
Commit f17f2001 authored by Mark Kettenis's avatar Mark Kettenis Committed by Alexander Graf
Browse files

efi_loader: ARM: don't attempt to enter non-secure mode twice



Multiple EFI binaries may be executed in sequence.  So if we already
are in non-secure mode after running the first one we should skip
the switching code since it no longer works once we're non-secure.

Signed-off-by: default avatarMark Kettenis <kettenis@openbsd.org>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent dc500c36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment