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>
This commit is contained in:
@@ -238,15 +238,6 @@ void ft_pci_setup(void *blob, bd_t *bd);
|
||||
void smp_set_core_boot_addr(unsigned long addr, int corenr);
|
||||
void smp_kick_all_cpus(void);
|
||||
|
||||
/* $(CPU)/serial.c */
|
||||
int serial_init (void);
|
||||
void serial_setbrg (void);
|
||||
void serial_putc (const char);
|
||||
void serial_putc_raw(const char);
|
||||
void serial_puts (const char *);
|
||||
int serial_getc (void);
|
||||
int serial_tstc (void);
|
||||
|
||||
/* $(CPU)/speed.c */
|
||||
int get_clocks (void);
|
||||
ulong get_bus_freq (ulong);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user