diff --git a/runtime/src/main.rs b/runtime/src/main.rs index b920e668..447bf4c8 100644 --- a/runtime/src/main.rs +++ b/runtime/src/main.rs @@ -53,5 +53,9 @@ pub fn main_core0() { info!("Detected gateware: {}", identifier_read(&mut [0; 64])); + unsafe { + pl::csr::rtio_core::reset_phy_write(1); + } + comms::main(timer); } diff --git a/runtime/src/rtio.rs b/runtime/src/rtio.rs index 148c1109..495c322b 100644 --- a/runtime/src/rtio.rs +++ b/runtime/src/rtio.rs @@ -19,12 +19,8 @@ pub struct TimestampedData { } pub extern fn init() { - // TODO unsafe { csr::rtio_core::reset_write(1); - csr::rtio_core::reset_phy_write(1); - csr::rtio_core::reset_write(0); - csr::rtio_core::reset_phy_write(0); } }