board_misoc: enable efc rebooting

This commit is contained in:
occheung 2024-10-24 12:43:09 +08:00
parent e36916b931
commit 6251e73459
1 changed files with 1 additions and 1 deletions

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