Changeset 1433ecda in mainline for kernel/genarch/src/drivers/omap/uart.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/omap/uart.c
r47b2d7e3 r1433ecda 43 43 { 44 44 /* Wait for buffer */ 45 while (uart->regs->ssr & OMAP_UART_SSR_TX_FIFO_FULL_FLAG); 45 while (uart->regs->ssr & OMAP_UART_SSR_TX_FIFO_FULL_FLAG) 46 ; 46 47 /* Write to the outgoing fifo */ 47 48 uart->regs->thr = b; … … 93 94 /* Soft reset the port */ 94 95 uart->regs->sysc = OMAP_UART_SYSC_SOFTRESET_FLAG; 95 while (!(uart->regs->syss & OMAP_UART_SYSS_RESETDONE_FLAG)); 96 while (!(uart->regs->syss & OMAP_UART_SYSS_RESETDONE_FLAG)) 97 ; 96 98 97 99 /* Disable the UART module */
Note:
See TracChangeset
for help on using the changeset viewer.