mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 04:48:14 +00:00
Merge "ti: k3: common: Make UART number configurable" into integration
This commit is contained in:
commit
967a6d162d
2 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue