ti: k3: common: Drop _ADDRESS from K3_USART_BASE to match other defines
This makes definitions more consistent, plus helps alignment. Signed-off-by: Andrew F. Davis <afd@ti.com> Change-Id: I38fcdd76207586613d9934c9dc83d7a347e9e0fc
This commit is contained in:
parent
0e985d708e
commit
a481f8b817
|
@ -22,7 +22,7 @@
|
|||
/* Table of regions to map using the MMU */
|
||||
const mmap_region_t plat_k3_mmap[] = {
|
||||
MAP_REGION_FLAT(SHARED_RAM_BASE, SHARED_RAM_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
MAP_REGION_FLAT(K3_USART_BASE_ADDRESS, K3_USART_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
MAP_REGION_FLAT(K3_USART_BASE, K3_USART_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
MAP_REGION_FLAT(K3_GIC_BASE, K3_GIC_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
MAP_REGION_FLAT(SEC_PROXY_RT_BASE, SEC_PROXY_RT_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
MAP_REGION_FLAT(SEC_PROXY_SCFG_BASE, SEC_PROXY_SCFG_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
|
|
|
@ -16,6 +16,6 @@ void bl31_console_setup(void)
|
|||
static console_16550_t console;
|
||||
|
||||
/* Initialize the console to provide early debug support */
|
||||
console_16550_register(K3_USART_BASE_ADDRESS, K3_USART_CLK_SPEED,
|
||||
console_16550_register(K3_USART_BASE, K3_USART_CLK_SPEED,
|
||||
K3_USART_BAUD, &console);
|
||||
}
|
||||
|
|
|
@ -125,8 +125,8 @@
|
|||
#define CACHE_WRITEBACK_GRANULE (1 << CACHE_WRITEBACK_SHIFT)
|
||||
|
||||
/* Platform default console definitions */
|
||||
#ifndef K3_USART_BASE_ADDRESS
|
||||
#define K3_USART_BASE_ADDRESS 0x02800000
|
||||
#ifndef K3_USART_BASE
|
||||
#define K3_USART_BASE 0x02800000
|
||||
#endif
|
||||
|
||||
/* USART has a default size for address space */
|
||||
|
@ -137,7 +137,7 @@
|
|||
#endif
|
||||
|
||||
/* Crash console defaults */
|
||||
#define CRASH_CONSOLE_BASE K3_USART_BASE_ADDRESS
|
||||
#define CRASH_CONSOLE_BASE K3_USART_BASE
|
||||
#define CRASH_CONSOLE_CLK K3_USART_CLK_SPEED
|
||||
#define CRASH_CONSOLE_BAUD_RATE K3_USART_BAUD
|
||||
|
||||
|
|
Loading…
Reference in New Issue