1
0
Fork 0

remove unnecessary core1_enabled semaphore

This commit is contained in:
Simon Renblad 2024-11-18 10:15:33 +08:00
parent e894f502a4
commit 6d2c26fe73
1 changed files with 0 additions and 8 deletions

View File

@ -26,9 +26,6 @@ interrupt_handler!(Reset, reset_irq, __stack0_start, __stack1_start, {
boot_core0();
}
1 => {
while !CORE1_ENABLED.get() {
spin_lock_yield();
}
boot_core1();
}
_ => unreachable!(),
@ -128,11 +125,6 @@ impl Core1 {
}
}
unsafe {
CORE1_ENABLED.set(true);
}
// Flush cache-line
cache::dcc(unsafe { &CORE1_ENABLED });
if sdram {
cache::dccmvac(0);
asm::dsb();