2
0
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:
occheung 2024-10-24 12:43:09 +08:00
parent e36916b931
commit 6251e73459

View File

@ -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 {}