mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 11:48:27 +08:00
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
Block a user