libsupport_zynq/boot: fixed core1 disable.
This commit is contained in:
parent
c50e72f91e
commit
ad47521e4b
|
@ -149,6 +149,8 @@ impl Core1 {
|
|||
pub fn disable(&self) {
|
||||
unsafe {
|
||||
CORE1_ENABLED.set(false);
|
||||
cache::dccmvac(&CORE1_ENABLED as *const _ as usize);
|
||||
asm::dsb();
|
||||
}
|
||||
self.restart();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue