Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
906116f8
"include/vscode:/vscode.git/clone" did not exist on "78ac643d069e62c4eaf8abc7f6a3a6eb1cb86b21"
Commit
906116f8
authored
Jun 01, 2021
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Jun 01, 2021
Browse files
Merge "fix(plat/marvell/a3720/uart): fix configuring UART clock" into integration
parents
4fe55a2f
b9185c75
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/marvell/uart/a3700_console.S
View file @
906116f8
...
@@ -49,12 +49,9 @@ func console_a3700_core_init
...
@@ -49,12 +49,9 @@ func console_a3700_core_init
lsl
w2
,
w2
,
#
4
lsl
w2
,
w2
,
#
4
add
w1
,
w1
,
w2
,
lsr
#
1
add
w1
,
w1
,
w2
,
lsr
#
1
udiv
w2
,
w1
,
w2
udiv
w2
,
w1
,
w2
and
w2
,
w2
,
#
0x3ff
and
w2
,
w2
,
#
0x3ff
/*
clear
all
other
bits
to
use
default
clock
*/
ldr
w3
,
[
x0
,
#
UART_BAUD_REG
]
str
w2
,
[
x0
,
#
UART_BAUD_REG
]/*
set
baud
rate
divisor
*/
bic
w3
,
w3
,
0x3ff
orr
w3
,
w3
,
w2
str
w3
,
[
x0
,
#
UART_BAUD_REG
]/*
set
baud
rate
divisor
*/
/
*
Set
UART
to
default
16
X
scheme
*/
/
*
Set
UART
to
default
16
X
scheme
*/
mov
w3
,
#
0
mov
w3
,
#
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment