From 6251e734599c62b8532b55648ae9d9fb7e675b9c Mon Sep 17 00:00:00 2001 From: occheung Date: Thu, 24 Oct 2024 12:43:09 +0800 Subject: [PATCH] board_misoc: enable efc rebooting --- artiq/firmware/libboard_misoc/spiflash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_misoc/spiflash.rs b/artiq/firmware/libboard_misoc/spiflash.rs index 7d66977f7..e686d17e6 100644 --- a/artiq/firmware/libboard_misoc/spiflash.rs +++ b/artiq/firmware/libboard_misoc/spiflash.rs @@ -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 {}