summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ixp/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ixp/serial.c b/cpu/ixp/serial.c
index df379f3..cf520b6 100644
--- a/cpu/ixp/serial.c
+++ b/cpu/ixp/serial.c
@@ -36,7 +36,7 @@
* Baud Rate = --------------
* 16 x Divisor
*/
-#define SERIAL_CLOCK 921600
+#define SERIAL_CLOCK 921600
DECLARE_GLOBAL_DATA_PTR;
@@ -44,7 +44,7 @@ void serial_setbrg (void)
{
unsigned int quot = 0;
int uart = CFG_IXP425_CONSOLE;
-
+
if ((gd->baudrate <= SERIAL_CLOCK) && (SERIAL_CLOCK % gd->baudrate == 0))
quot = SERIAL_CLOCK / gd->baudrate;
else