aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/68328serial.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c
index d8204f4ebbb4..7356a56ac458 100644
--- a/drivers/serial/68328serial.c
+++ b/drivers/serial/68328serial.c
@@ -98,19 +98,13 @@ static void change_speed(struct m68k_serial *info);
98 * Setup for console. Argument comes from the boot command line. 98 * Setup for console. Argument comes from the boot command line.
99 */ 99 */
100 100
101#if defined(CONFIG_M68EZ328ADS) || defined(CONFIG_ALMA_ANS) || defined(CONFIG_DRAGONIXVZ) 101/* note: this is messy, but it works, again, perhaps defined somewhere else?*/
102#define CONSOLE_BAUD_RATE 115200 102#ifdef CONFIG_M68VZ328
103#define DEFAULT_CBAUD B115200 103#define CONSOLE_BAUD_RATE 19200
104#else 104#define DEFAULT_CBAUD B19200
105 /* (es) */
106 /* note: this is messy, but it works, again, perhaps defined somewhere else?*/
107 #ifdef CONFIG_M68VZ328
108 #define CONSOLE_BAUD_RATE 19200
109 #define DEFAULT_CBAUD B19200
110 #endif
111 /* (/es) */
112#endif 105#endif
113 106
107
114#ifndef CONSOLE_BAUD_RATE 108#ifndef CONSOLE_BAUD_RATE
115#define CONSOLE_BAUD_RATE 9600 109#define CONSOLE_BAUD_RATE 9600
116#define DEFAULT_CBAUD B9600 110#define DEFAULT_CBAUD B9600