Skip to content
Snippets Groups Projects
Commit 1ca9950b authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Merge branch 'master' of git://git.denx.de/u-boot-mips

parents 4fc72a0d dbd32387
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ void serial_setbrg (void) ...@@ -76,7 +76,7 @@ void serial_setbrg (void)
sd = (*sys_powerctrl & 0x03) + 2; sd = (*sys_powerctrl & 0x03) + 2;
/* calulate 2x baudrate and round */ /* calulate 2x baudrate and round */
divisorx2 = ((CFG_HZ/(sd * 16 * CONFIG_BAUDRATE))); divisorx2 = ((CFG_MIPS_TIMER_FREQ/(sd * 16 * CONFIG_BAUDRATE)));
if (divisorx2 & 0x01) if (divisorx2 & 0x01)
divisorx2 = divisorx2 + 1; divisorx2 = divisorx2 + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment