satman: wait for CPLL/QPLL lock after setting drtio_transceiver::stable_clkin

This commit is contained in:
Sebastien Bourdeauducq 2019-01-07 17:09:19 +08:00
parent 0ec01790fe
commit 0303267d7e

View File

@ -302,6 +302,7 @@ pub extern fn main() -> i32 {
unsafe {
csr::drtio_transceiver::stable_clkin_write(1);
}
clock::spin_us(1500); // wait for CPLL/QPLL lock
init_rtio_crg();
#[cfg(has_allaki_atts)]