diff options
author | Simon Glass | 2019-11-14 12:57:24 -0700 |
---|---|---|
committer | Tom Rini | 2019-12-02 18:23:11 -0500 |
commit | b03e0510d769381ce3cda5a494889bfee5042c59 (patch) | |
tree | cb474a50859f50c473d2222002a798a4dfe4ed74 /include/serial.h | |
parent | f516fd99ec59d964836906c8ac370f246d60c14d (diff) |
common: Move serial functions out of common.h
These functions belong in serial.h so move them over.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/serial.h')
-rw-r--r-- | include/serial.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h index 8d1803c8003..104f34ff914 100644 --- a/include/serial.h +++ b/include/serial.h @@ -335,4 +335,12 @@ void sh_serial_initialize(void); int serial_printf(const char *fmt, ...) __attribute__ ((format (__printf__, 1, 2))); +int serial_init(void); +void serial_setbrg(void); +void serial_putc(const char ch); +void serial_putc_raw(const char ch); +void serial_puts(const char *str); +int serial_getc(void); +int serial_tstc(void); + #endif |