mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-05 08:51:31 +01:00
Merge "ipq: ported uart_wait_tx_empty function to wait until TX FIFO is emptied"
This commit is contained in:
commit
0cdbe1f6d1
2 changed files with 6 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue