Changeset 954b6458 in mainline
- Timestamp:
- 2012-10-14T15:45:14Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42f2a45
- Parents:
- 0fb70e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/am335x/uart.c
r0fb70e1 r954b6458 88 88 ASSERT(uart->regs); 89 89 90 /* See TI OMAP35X TRM ch 17.5.1.1 p. 2732 for startup routine */91 #if 092 90 /* Soft reset the port */ 93 91 uart->regs->sysc = AM335x_UART_SYSC_SOFTRESET_FLAG; 94 92 while (!(uart->regs->syss & AM335x_UART_SYSS_RESETDONE_FLAG)) ; 95 #endif96 93 97 94 /* Enable access to EFR register */ … … 112 109 uart->regs->fcr = AM335x_UART_FCR_FIFO_EN_FLAG; 113 110 114 /* En eble fine granularity for RX FIFO and set trigger level to 1,115 * TX FIFO, trigger level is ir elevant*/111 /* Enable fine granularity for RX FIFO and set trigger level to 1, 112 * TX FIFO, trigger level is irrilevant*/ 116 113 uart->regs->lcr = 0xbf; /* Sets config mode B */ 117 114 uart->regs->scr = AM335x_UART_SCR_RX_TRIG_GRANU1_FLAG; … … 162 159 * @} 163 160 */ 161
Note:
See TracChangeset
for help on using the changeset viewer.