mirror of https://github.com/m-labs/artiq.git
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);
|
||||
}
|
||||
|
||||
#[cfg(any(soc_platform = "kasli", soc_platform = "kc705"))]
|
||||
#[cfg(any(soc_platform = "kasli", soc_platform = "kc705", soc_platform = "efc"))]
|
||||
pub unsafe fn reload () -> ! {
|
||||
csr::icap::iprog_write(1);
|
||||
loop {}
|
||||
|
|
Loading…
Reference in New Issue