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
967a6d16
Commit
967a6d16
authored
Jun 05, 2020
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Jun 05, 2020
Browse files
Merge "ti: k3: common: Make UART number configurable" into integration
parents
06fdb3f0
5621fe25
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/ti/k3/common/plat_common.mk
View file @
967a6d16
...
@@ -37,6 +37,9 @@ ENABLE_PIE := 1
...
@@ -37,6 +37,9 @@ ENABLE_PIE := 1
TI_16550_MDR_QUIRK
:=
1
TI_16550_MDR_QUIRK
:=
1
$(eval
$(call
add_define,TI_16550_MDR_QUIRK))
$(eval
$(call
add_define,TI_16550_MDR_QUIRK))
K3_USART
:=
0
$(eval
$(call
add_define,K3_USART))
# Allow customizing the UART baud rate
# Allow customizing the UART baud rate
K3_USART_BAUD
:=
115200
K3_USART_BAUD
:=
115200
$(eval
$(call
add_define,K3_USART_BAUD))
$(eval
$(call
add_define,K3_USART_BAUD))
...
...
plat/ti/k3/include/platform_def.h
View file @
967a6d16
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
/* Platform default console definitions */
/* Platform default console definitions */
#ifndef K3_USART_BASE
#ifndef K3_USART_BASE
#define K3_USART_BASE
0x02800000
#define K3_USART_BASE
(
0x02800000
+ 0x10000 * K3_USART)
#endif
#endif
/* USART has a default size for address space */
/* USART has a default size for address space */
...
...
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