mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
Merge branch 'main' into pddb
This commit is contained in:
commit
e4a4153ff9
1 changed files with 7 additions and 0 deletions
|
|
@ -306,6 +306,13 @@ pub fn boot(iox: &Iox, mut oled: Option<Oled128x128>, se0_port: bao1x_api::IoxPo
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// reset instead of boot
|
||||||
|
#[cfg(feature = "alt-boot1")]
|
||||||
|
{
|
||||||
|
let mut rcurst = CSR::new(utra::sysctrl::HW_SYSCTRL_BASE as *mut u32);
|
||||||
|
rcurst.wo(utra::sysctrl::SFR_RCURST0, 0x55AA);
|
||||||
|
}
|
||||||
|
|
||||||
// when we get to this point, there's only two options...
|
// when we get to this point, there's only two options...
|
||||||
try_boot(true);
|
try_boot(true);
|
||||||
unreachable!("`or_die = true` means this should be unreachable");
|
unreachable!("`or_die = true` means this should be unreachable");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue