Commit 9d485846 authored by Haoran.Wang's avatar Haoran.Wang Committed by Jason Liu

[iot] Fix non-secure uboot crash before jump to Linux

As ARMV7_NONSEC macro enabled so it will init uboot monitor
before jump to Linux and this will bring crash.
So goto Linux directly before this process.

Change-Id: Ieb44f326a4be21c20b662443c713009adb3c376e
Signed-off-by: default avatarHaoran.Wang <elven.wang@nxp.com>
parent 8052afe7
......@@ -369,6 +369,9 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
if (!fake) {
#ifdef CONFIG_ARMV7_NONSEC
#ifdef CONFIG_IMX_TRUSTY_OS
kernel_entry(0, machid, r2);
#endif
if (armv7_boot_nonsec()) {
armv7_init_nonsec();
secure_ram_addr(_do_nonsec_entry)(kernel_entry,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment