Skip to content

Commit

Permalink
Extend ZSL for SMP
Browse files Browse the repository at this point in the history
  • Loading branch information
ezelioli committed Dec 3, 2024
1 parent f0141b1 commit 04a2573
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sw/boot/zsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "gpt.h"
#include "dif/uart.h"
#include "printf.h"
#include "smp.h"

// Type for firmware payload
typedef int (*payload_t)(uint64_t, uint64_t, uint64_t);
Expand Down Expand Up @@ -81,8 +82,9 @@ int main(void) {
}

// Launch payload
payload_t fw = __BOOT_ZSL_FW;
printf("[ZSL] Launch firmware at %lx with device tree at %lx\r\n", fw, __BOOT_ZSL_DTB);
smp_resume();
payload_t fw = __BOOT_ZSL_FW;
fencei();
return fw(0, (uintptr_t)__BOOT_ZSL_DTB, 0);
}
Expand Down

0 comments on commit 04a2573

Please sign in to comment.