mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Fix a bug with PL010s running at 19200 baud
I don't have the hardware test this, but it is almost certainly a typo in the code dating back to at least 2004. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
f1683aa73c
commit
b2aa889411
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ static int pl01x_generic_setbrg(struct pl01x_regs *regs, enum pl01x_type type,
|
|||
divisor = UART_PL010_BAUD_9600;
|
||||
break;
|
||||
case 19200:
|
||||
divisor = UART_PL010_BAUD_9600;
|
||||
divisor = UART_PL010_BAUD_19200;
|
||||
break;
|
||||
case 38400:
|
||||
divisor = UART_PL010_BAUD_38400;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue