move secure mode switch directly in front of kernel boot
PATCH 3/3 move secure mode switch directly in front of kernel boot
--- arch/arm/lib/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/lib/bootm.c +1 -1
@@ -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); }
Signature · 4 lines
1.7.9.5 --nextPart3272330.ldxLZMl4xy--