sys/smp: Revert AArch64 trampoline allocation to smp_trampoline_size
diff --git a/common/sys/smp.c b/common/sys/smp.c
index 90187f4c..13b29eed 100644
--- a/common/sys/smp.c
+++ b/common/sys/smp.c
@@ -329,8 +329,7 @@ static bool try_start_ap(int boot_method, uint64_t method_ptr,
// Prepare the trampoline
static void *trampoline = NULL;
if (trampoline == NULL) {
- // AArch64 trampoline expects 0x1000 byte buffer with passed_info at the end
- trampoline = ext_mem_alloc(0x1000);
+ trampoline = ext_mem_alloc(smp_trampoline_size);
memcpy(trampoline, smp_trampoline_start, smp_trampoline_size);
}
