X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Farc%2Flib%2Fbootm.c;h=04d9d9cce574cf0c98306f959bf1fedfb730a699;hb=ecc306639e83c9019a5093b77a48685ea40eedc2;hp=d185a50bd318938a130cf5bd97721d4e80944f29;hpb=c4d376fd1c2bce8d64cec0431dd3f24957b6dec4;p=u-boot diff --git a/arch/arc/lib/bootm.c b/arch/arc/lib/bootm.c index d185a50bd3..04d9d9cce5 100644 --- a/arch/arc/lib/bootm.c +++ b/arch/arc/lib/bootm.c @@ -53,6 +53,9 @@ static void boot_prep_linux(bootm_headers_t *images) hang(); } +__weak void smp_set_core_boot_addr(unsigned long addr, int corenr) {} +__weak void smp_kick_all_cpus(void) {} + /* Subcommand: GO */ static void boot_jump_linux(bootm_headers_t *images, int flag) { @@ -80,6 +83,9 @@ static void boot_jump_linux(bootm_headers_t *images, int flag) r2 = (unsigned int)getenv("bootargs"); } + smp_set_core_boot_addr((unsigned long)kernel_entry, -1); + smp_kick_all_cpus(); + if (!fake) kernel_entry(r0, 0, r2); }