| 98 | } |
| 99 | |
| 100 | void uart_init(unsigned int idx) |
| 101 | { |
| 102 | void *base = uart_platform_baseptr(idx); |
| 103 | if (!base) |
| 104 | return; |
| 105 | |
| 106 | unsigned int div = uart_get_baudrate_divisor(); |
| 107 | uart8250_mem_init(base, div); |
| 108 | } |
| 109 | |
| 110 | void uart_tx_byte(unsigned int idx, unsigned char data) |
| 111 | { |
nothing calls this directly
no test coverage detected