Skip to content
Snippets Groups Projects
Commit d764a20f authored by Alexey Brodkin's avatar Alexey Brodkin
Browse files

arc: bootm: Move slave cores kick-starting under !fake


Currently slave cores will be kick-started even if we want
to dry run bootm which is not what we really want.

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
Cc: Eugeniy Paltsev <paltsev@synopsys.com>
parent 3194c3cd
No related branches found
No related tags found
No related merge requests found
......@@ -88,11 +88,11 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
r2 = (unsigned int)env_get("bootargs");
}
smp_set_core_boot_addr((unsigned long)kernel_entry, -1);
smp_kick_all_cpus();
if (!fake)
if (!fake) {
smp_set_core_boot_addr((unsigned long)kernel_entry, -1);
smp_kick_all_cpus();
kernel_entry(r0, 0, r2);
}
}
int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment