DM320 UART: Enable clock in UART module since it will not be done in system initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25716 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b15b7fac7e
commit
b9fa116703
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ void uart_init(void)
|
|||
/* 28: output, non-inverted, no-irq, falling edge, no-chat, UART TX */
|
||||
dm320_set_io(28, false, false, false, false, false, 0x01);
|
||||
|
||||
/* Enable UART clock */
|
||||
IO_CLK_MOD2 |= CLK_MOD2_UART1;
|
||||
|
||||
// 8-N-1
|
||||
IO_UART1_MSR = 0xC400;
|
||||
IO_UART1_BRSR = 0x0057;
|
||||
|
|
Loading…
Reference in a new issue