From 07eb02687f008721974a2fb54cd7fdc28033ab3c Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 9 Jan 2008 13:43:38 +0100 Subject: Coding Style clenaup; update CHANGELOG Signed-off-by: Wolfgang Denk --- cpu/ixp/serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpu/ixp') 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 -- cgit v1.1