1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-26 04:10:17 +02:00

qi-fix-baud-for-200MHz-1-3-6.patch

Baud rate for 115200 at 33MHz PCLK wasn't calculated right

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:39 +00:00 committed by Andy Green
parent c8d5147d6f
commit 2c16e47344

View File

@ -25,7 +25,7 @@
void serial_init_115200_s3c24xx(const int uart, const int pclk_MHz)
{
int div = (((54 * pclk_MHz) + (pclk_MHz / 2)) / 100) -1;
int div = (((54 * pclk_MHz) + 26) / 100) -1;
switch(uart)
{
case UART0: