Merge "ipq: ported uart_wait_tx_empty function to wait until TX FIFO is emptied"

This commit is contained in:
Linux Build Service Account 2022-04-26 01:20:25 -07:00 committed by Gerrit - the friendly Code Review server
commit 0cdbe1f6d1
2 changed files with 6 additions and 1 deletions

View file

@ -232,7 +232,7 @@ int board_init(void)
#endif
disable_audio_clks();
/*
* Needed by ipq806x to avoid TX FIFO curruption during
* Needed by ipq806x & ipq9574 to avoid TX FIFO curruption during
* serial init after relocation
*/
uart_wait_tx_empty();

View file

@ -1600,3 +1600,8 @@ int do_dpr(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
U_BOOT_CMD(dpr_execute, 2, 0, do_dpr,
"Debug Policy Request processing\n",
"dpr_execute [address] - Processing dpr\n");
void uart_wait_tx_empty(void)
{
ipq_serial_wait_tx_empty();
}