]> git.ipfire.org Git - thirdparty/u-boot.git/commit
efi_loader: ARM: don't attempt to enter non-secure mode twice
authorMark Kettenis <kettenis@openbsd.org>
Fri, 15 Jun 2018 21:47:13 +0000 (23:47 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:57:43 +0000 (14:57 +0200)
commitf17f2001ebe1e8a78e0ef0f99e63134f91ee1354
treebb7707d4d5a0c5a79313b69b520f17ddb357998a
parentdc500c369486fbe04000fd325c46bb309e4a1827
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: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c