Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
ed4cf490
Unverified
Commit
ed4cf490
authored
6 years ago
by
Dimitris Papastamos
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1402 from glneo/for-upstream-uart
drivers: ti: uart: Add TI specific 16550 initialization
parents
74a44dca
529b541e
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/ti/uart/aarch64/16550_console.S
+4
-0
drivers/ti/uart/aarch64/16550_console.S
include/drivers/ti/uart/uart_16550.h
+2
-0
include/drivers/ti/uart/uart_16550.h
with
6 additions
and
0 deletions
+6
-0
drivers/ti/uart/aarch64/16550_console.S
View file @
ed4cf490
...
...
@@ -66,6 +66,10 @@ func console_16550_core_init
/
*
no
interrupt
*/
mov
w3
,
#
0
str
w3
,
[
x0
,
#
UARTIER
]
#ifdef TI_16550_MDR_QUIRK
/
*
UART
must
be
enabled
on
some
platforms
via
the
MDR
register
*/
str
w3
,
[
x0
,
#
UARTMDR1
]
#endif /* TI_16550_MDR_QUIRK */
/
*
enable
fifo
,
DMA
*/
mov
w3
,
#(
UARTFCR_FIFOEN
|
UARTFCR_DMAEN
)
str
w3
,
[
x0
,
#
UARTFCR
]
...
...
This diff is collapsed.
Click to expand it.
include/drivers/ti/uart/uart_16550.h
View file @
ed4cf490
...
...
@@ -23,6 +23,8 @@
#define UARTMSR 0x18
#define UARTSPR 0x1c
#define UARTCSR 0x20
/* Some instances have MDR1 defined as well */
#define UARTMDR1 0x20
#define UARTRXFIFOCFG 0x24
#define UARTMIE 0x28
#define UARTVNDR 0x2c
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help