mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-11 23:43:15 +00:00
Use a more generic console_init() instead of potato_uart_init(), and do the same for interrupt control. There should be no change in behaviour. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
12 lines
220 B
C
12 lines
220 B
C
#include <stddef.h>
|
|
|
|
void console_init(void);
|
|
void console_set_irq_en(bool rx_irq, bool tx_irq);
|
|
int getchar(void);
|
|
int putchar(int c);
|
|
int puts(const char *str);
|
|
|
|
#ifndef __USE_LIBC
|
|
size_t strlen(const char *s);
|
|
#endif
|