diff options
| -rw-r--r-- | drivers/serial/bfin_5xx.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index a454e427c949..965532157c65 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c | |||
| @@ -1324,6 +1324,14 @@ struct console __init *bfin_earlyserial_init(unsigned int port, | |||
| 1324 | struct bfin_serial_port *uart; | 1324 | struct bfin_serial_port *uart; |
| 1325 | struct ktermios t; | 1325 | struct ktermios t; |
| 1326 | 1326 | ||
| 1327 | #ifdef CONFIG_SERIAL_BFIN_CONSOLE | ||
| 1328 | /* | ||
| 1329 | * If we are using early serial, don't let the normal console rewind | ||
| 1330 | * log buffer, since that causes things to be printed multiple times | ||
| 1331 | */ | ||
| 1332 | bfin_serial_console.flags &= ~CON_PRINTBUFFER; | ||
| 1333 | #endif | ||
| 1334 | |||
| 1327 | if (port == -1 || port >= nr_active_ports) | 1335 | if (port == -1 || port >= nr_active_ports) |
| 1328 | port = 0; | 1336 | port = 0; |
| 1329 | bfin_serial_init_ports(); | 1337 | bfin_serial_init_ports(); |
