Fix the baudrate macro

SVN-Revision: 6616
lede-17.01
Florian Fainelli 2007-03-19 19:51:26 +00:00
parent 9c4b23a8d1
commit 1be7df6f97
1 changed files with 1 additions and 1 deletions

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)