From: Tim Sander Date: Wed, 26 Mar 2014 13:51:30 +0100 Subject: [PATCH 3/3] move secure mode switch directly in front of kernel boot Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de --- arch/arm/lib/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 35abccf..39dcf9c 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -337,7 +337,6 @@ static void boot_prep_linux(bootm_headers_t *images) hang(); #endif /* all tags */ } - do_nonsec_virt_switch(); } /* Subcommand: GO */ @@ -368,6 +367,7 @@ static void boot_jump_linux(bootm_headers_t *images) #endif r2 = gd->bd->bi_boot_params; + do_nonsec_virt_switch(); kernel_entry(0, machid, r2); } -- 1.7.9.5 --nextPart3272330.ldxLZMl4xy--