summaryrefslogtreecommitdiff
path: root/cpu/ixp
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-09 13:43:38 +0100
committerWolfgang Denk <wd@denx.de>2008-01-09 13:43:38 +0100
commit07eb02687f008721974a2fb54cd7fdc28033ab3c (patch)
treef78db60f52a340f3f6b341aef308bfd2c620815e /cpu/ixp
parentc26acc1a43b31ddca5add42fd0360ff0eee90c80 (diff)
Coding Style clenaup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/ixp')
-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 df379f380a7..cf520b699ed 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