arm uart: Rename getc/putc to getchar/getchar
* Avoid name collisions * This uart stuff may work better as a class at some point, however I didn't want to rock the u-boot boat *too* much as I don't have the hardware to test.
This commit is contained in:
@@ -26,8 +26,8 @@ struct uart_info {
|
||||
void (*init)(addr_t base);
|
||||
void (*init_early)(void);
|
||||
void (*init_port)(addr_t base, uint baud);
|
||||
int (*putc)(addr_t base, char c);
|
||||
int (*getc)(addr_t base, bool wait);
|
||||
int (*putchar)(addr_t base, char c);
|
||||
int (*getchar)(addr_t base, bool wait);
|
||||
void (*flush_tx)(addr_t base);
|
||||
void (*flush_rx)(addr_t base);
|
||||
};
|
||||
|
||||
@@ -35,8 +35,8 @@ extern "C" {
|
||||
void uart_8250_init_port(addr_t base, uint baud);
|
||||
void uart_8250_init_early(void);
|
||||
void uart_8250_init(addr_t base);
|
||||
int uart_8250_putc(addr_t base, char c);
|
||||
int uart_8250_getc(addr_t base, bool wait);
|
||||
int uart_8250_putchar(addr_t base, char c);
|
||||
int uart_8250_getchar(addr_t base, bool wait);
|
||||
void uart_8250_flush_tx(addr_t base);
|
||||
void uart_8250_flush_rx(addr_t base);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user