Merge pull request #1775 from glneo/uart-baud-rate

ti: k3: common: Allow customizing UART baud rate using build options
This commit is contained in:
Antonio Niño Díaz 2019-01-22 12:51:01 +00:00 committed by GitHub
commit 94764b06fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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