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
94764b06
Unverified
Commit
94764b06
authored
Jan 22, 2019
by
Antonio Niño Díaz
Committed by
GitHub
Jan 22, 2019
Browse files
Merge pull request #1775 from glneo/uart-baud-rate
ti: k3: common: Allow customizing UART baud rate using build options
parents
fcc9ad89
50b2f55b
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/ti/k3/common/plat_common.mk
View file @
94764b06
...
...
@@ -30,6 +30,10 @@ MULTI_CONSOLE_API := 1
TI_16550_MDR_QUIRK
:=
1
$(eval
$(call
add_define,TI_16550_MDR_QUIRK))
# Allow customizing the UART baud rate
K3_USART_BAUD
:=
115200
$(eval
$(call
add_define,K3_USART_BAUD))
# Libraries
include
lib/xlat_tables_v2/xlat_tables.mk
...
...
plat/ti/k3/include/platform_def.h
View file @
94764b06
...
...
@@ -136,10 +136,6 @@
#define K3_USART_CLK_SPEED 48000000
#endif
#ifndef K3_USART_BAUD
#define K3_USART_BAUD 115200
#endif
/* Crash console defaults */
#define CRASH_CONSOLE_BASE K3_USART_BASE_ADDRESS
#define CRASH_CONSOLE_CLK K3_USART_CLK_SPEED
...
...
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