forked from M-Labs/artiq
board_misoc: enable efc rebooting
This commit is contained in:
parent
e36916b931
commit
6251e73459
@ -124,7 +124,7 @@ pub unsafe fn flash_binary(origin: usize, payload: &[u8]) {
|
|||||||
write(origin, payload);
|
write(origin, payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(soc_platform = "kasli", soc_platform = "kc705"))]
|
#[cfg(any(soc_platform = "kasli", soc_platform = "kc705", soc_platform = "efc"))]
|
||||||
pub unsafe fn reload () -> ! {
|
pub unsafe fn reload () -> ! {
|
||||||
csr::icap::iprog_write(1);
|
csr::icap::iprog_write(1);
|
||||||
loop {}
|
loop {}
|
||||||
|
Loading…
Reference in New Issue
Block a user