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

release-4
Sebastien Bourdeauducq 2019-01-07 17:09:19 +08:00
parent 0ec01790fe
commit 0303267d7e
1 changed files with 1 additions and 0 deletions

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)]