void serial_puts(const char *s) { #ifdef CONFIG_ALLWINNER _serial_puts(s,gd->uart_console+1); #else _serial_puts(s,CONFIG_CONS_INDEX); #endif }
void serial_puts(const char *s) { _serial_puts(s, UART_NR); }
static inline void serial_puts_dev(int dev_index, const char *s) { _serial_puts(s, dev_index); }
extern void serial_puts(const char *s) { _serial_puts(s, CONFIG_CONS_INDEX); }
void serial_stub_puts(struct stdio_dev *sdev, const char *str) { _serial_puts(sdev->priv, str); }
void serial_puts(const char *str) { if (gd->cur_serial_dev) _serial_puts(gd->cur_serial_dev, str); }