summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-08-14 15:03:17 +0200
committerStefan Roese <sr@denx.de>2007-08-14 15:03:17 +0200
commit429d9571f60631ae8a2fe12b11be4c75b0c2b37c (patch)
treef8cfed99a856b1e77e5a877656b199ef9fe86690 /cpu/ppc4xx
parent34886bbea20b577e8bdef81f3831319f1876b9b7 (diff)
downloadu-boot-imx-429d9571f60631ae8a2fe12b11be4c75b0c2b37c.zip
u-boot-imx-429d9571f60631ae8a2fe12b11be4c75b0c2b37c.tar.gz
u-boot-imx-429d9571f60631ae8a2fe12b11be4c75b0c2b37c.tar.bz2
Coding style cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r--cpu/ppc4xx/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/serial.c b/cpu/ppc4xx/serial.c
index a75e5ee..376ca1e 100644
--- a/cpu/ppc4xx/serial.c
+++ b/cpu/ppc4xx/serial.c
@@ -456,8 +456,8 @@ static void serial_divs (int baudrate, unsigned long *pudiv,
get_sys_info(&sysinfo);
- plloutb = ((CONFIG_SYS_CLK_FREQ * ((cpr_pllc & PLLC_SRC_MASK) ?
- sysinfo.pllFwdDivB : sysinfo.pllFwdDiv) * sysinfo.pllFbkDiv) /
+ plloutb = ((CONFIG_SYS_CLK_FREQ * ((cpr_pllc & PLLC_SRC_MASK) ?
+ sysinfo.pllFwdDivB : sysinfo.pllFwdDiv) * sysinfo.pllFbkDiv) /
sysinfo.pllFwdDivB);
udiv = 256; /* Assume lowest possible serial clk */
div = plloutb / (16 * baudrate); /* total divisor */