diff options
Diffstat (limited to 'board/esd/cpci750/serial.c')
-rw-r--r-- | board/esd/cpci750/serial.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/board/esd/cpci750/serial.c b/board/esd/cpci750/serial.c index 9ff7c27..25f8950 100644 --- a/board/esd/cpci750/serial.c +++ b/board/esd/cpci750/serial.c @@ -83,7 +83,6 @@ static void cpci750_serial_puts(const char *s) } } -#ifdef CONFIG_SERIAL_MULTI static struct serial_device cpci750_serial_drv = { .name = "cpci750_serial", .start = cpci750_serial_init, @@ -104,37 +103,7 @@ __weak struct serial_device *default_serial_console(void) { return &cpci750_serial_drv; } -#else -int serial_init(void) -{ - return cpci750_serial_init(); -} - -void serial_setbrg(void) -{ - cpci750_serial_setbrg(); -} -void serial_putc(const char c) -{ - cpci750_serial_putc(c); -} - -void serial_puts(const char *s) -{ - cpci750_serial_puts(s); -} - -int serial_getc(void) -{ - return cpci750_serial_getc(); -} - -int serial_tstc(void) -{ - return cpci750_serial_tstc(); -} -#endif #if defined(CONFIG_CMD_KGDB) void kgdb_serial_init (void) { |