diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-08-20 09:02:02 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-08-20 09:02:02 +0200 |
commit | df351db71f79fcc8134bbb25dbcc7569e235d892 (patch) | |
tree | 7021555881284bea8bd88244a6605400c00e44c2 /src | |
parent | 41ddc255af5a2f8170c5be09b1b841c5c048a8f2 (diff) |
UART: change baudrate back to 115200bps
Diffstat (limited to 'src')
-rw-r--r-- | src/cc32/uart_sc16is740.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cc32/uart_sc16is740.c b/src/cc32/uart_sc16is740.c index a14e6ad..e5ddbd7 100644 --- a/src/cc32/uart_sc16is740.c +++ b/src/cc32/uart_sc16is740.c @@ -88,8 +88,8 @@ void uart_sc16is740_init() reg_write(LCR, (3 << 0) | (0 << 2)); /* set LCR[7] = 1 (divisor latch) */ reg_write(LCR, reg_read(LCR) | 0x80); - /* baud rate generator for 9600 */ - reg_write(DLL, 12); + /* baud rate generator for 115200 */ + reg_write(DLL, 1); reg_write(DLH, 0); /* clear LCR[7] = 0 (divisor latch) */ reg_write(LCR, reg_read(LCR) & ~0x80); |