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
b7a52a78
Commit
b7a52a78
authored
Apr 26, 2017
by
davidcunado-arm
Committed by
GitHub
Apr 26, 2017
Browse files
Merge pull request #900 from vwadekar/ti-uart-bug-fix
drivers: ti: uart: remove UART_FCR read-modify-write
parents
ec54a871
8178ea7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/ti/uart/aarch64/16550_console.S
View file @
b7a52a78
...
...
@@ -115,9 +115,6 @@ func console_core_putc
b.ne
1
b
mov
w2
,
#
0xD
/*
'\r'
*/
str
w2
,
[
x1
,
#
UARTTX
]
ldr
w2
,
[
x1
,
#
UARTFCR
]
orr
w2
,
w2
,
#
UARTFCR_TXCLR
str
w2
,
[
x1
,
#
UARTFCR
]
/
*
Check
if
the
transmit
FIFO
is
full
*/
2
:
ldr
w2
,
[
x1
,
#
UARTLSR
]
...
...
@@ -125,9 +122,6 @@ func console_core_putc
cmp
w2
,
#(
UARTLSR_TEMT
|
UARTLSR_THRE
)
b.ne
2
b
str
w0
,
[
x1
,
#
UARTTX
]
ldr
w2
,
[
x1
,
#
UARTFCR
]
orr
w2
,
w2
,
#
UARTFCR_TXCLR
str
w2
,
[
x1
,
#
UARTFCR
]
ret
putc_error
:
mov
w0
,
#-
1
...
...
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