runtime: use new uart tuning word function

This commit is contained in:
Sebastien Bourdeauducq 2015-03-02 23:36:05 +00:00
parent 4e5320be28
commit 15d09c0b94
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ void comm_serve(object_loader load_object, kernel_runner run_kernel)
ftw = ((long long)receive_int() << 32LL)/(long long)identifier_frequency_read(); ftw = ((long long)receive_int() << 32LL)/(long long)identifier_frequency_read();
send_int(0x5a5a5a5a); send_int(0x5a5a5a5a);
uart_sync(); uart_sync();
uart_tuning_word_write(ftw); uart_phy_tuning_word_write(ftw);
} else if(msgtype == MSGTYPE_SWITCH_CLOCK) { } else if(msgtype == MSGTYPE_SWITCH_CLOCK) {
rtiocrg_clock_sel_write(receive_char()); rtiocrg_clock_sel_write(receive_char());
send_char(MSGTYPE_CLOCK_SWITCH_COMPLETED); send_char(MSGTYPE_CLOCK_SWITCH_COMPLETED);