x86: Support configurable UART baud rate
This patch extends the Intel Quark X1000 SoC UART initialization API to accept a numeric baud rate specification.
This commit is contained in:
parent
dbb82f2439
commit
31ad67abd7
3 changed files with 13 additions and 8 deletions
|
@ -38,7 +38,7 @@ typedef enum {
|
|||
QUARK_X1000_UART_1
|
||||
} quarkX1000_uart_dev_t;
|
||||
|
||||
void quarkX1000_uart_init(quarkX1000_uart_dev_t dev);
|
||||
void quarkX1000_uart_init(quarkX1000_uart_dev_t dev, unsigned baud);
|
||||
void quarkX1000_uart_tx(quarkX1000_uart_dev_t dev, uint8_t c);
|
||||
|
||||
#endif /* CPU_X86_DRIVERS_QUARKX1000_UART_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue