Commit a481f8b8 authored by Andrew F. Davis's avatar Andrew F. Davis
Browse files

ti: k3: common: Drop _ADDRESS from K3_USART_BASE to match other defines



This makes definitions more consistent, plus helps alignment.
Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
Change-Id: I38fcdd76207586613d9934c9dc83d7a347e9e0fc
parent 0e985d70
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
/* Table of regions to map using the MMU */ /* Table of regions to map using the MMU */
const mmap_region_t plat_k3_mmap[] = { 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(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(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_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), 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) ...@@ -16,6 +16,6 @@ void bl31_console_setup(void)
static console_16550_t console; static console_16550_t console;
/* Initialize the console to provide early debug support */ /* 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); K3_USART_BAUD, &console);
} }
...@@ -125,8 +125,8 @@ ...@@ -125,8 +125,8 @@
#define CACHE_WRITEBACK_GRANULE (1 << CACHE_WRITEBACK_SHIFT) #define CACHE_WRITEBACK_GRANULE (1 << CACHE_WRITEBACK_SHIFT)
/* Platform default console definitions */ /* Platform default console definitions */
#ifndef K3_USART_BASE_ADDRESS #ifndef K3_USART_BASE
#define K3_USART_BASE_ADDRESS 0x02800000 #define K3_USART_BASE 0x02800000
#endif #endif
/* USART has a default size for address space */ /* USART has a default size for address space */
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
#endif #endif
/* Crash console defaults */ /* 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_CLK K3_USART_CLK_SPEED
#define CRASH_CONSOLE_BAUD_RATE K3_USART_BAUD #define CRASH_CONSOLE_BAUD_RATE K3_USART_BAUD
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment