1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-19 08:36:16 +02:00

Fix the baudrate macro

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6616 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-03-19 19:51:26 +00:00
parent 9f8f5d7ce4
commit a57b6f1f05

View File

@ -35,7 +35,7 @@
(*(volatile u32 *)KSEG1ADDR((base)+(reg)))
#define ADM5120_UARTCLK_FREQ 62500000
#define ADM5120_UART_BAUDDIV(rate) ((unsigned long)(ADM5120_UARTCLK_FREQ/(16*(_rate)) - 1))
#define ADM5120_UART_BAUDDIV(rate) ((unsigned long)(ADM5120_UARTCLK_FREQ/(16*(rate)) - 1))
#define ADM5120_UART_BAUD115200 ADM5120_UART_BAUDDIV(115200)