aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r--arch/arm/mach-tegra/common.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 11a74db51e5d..0816562725f6 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -45,14 +45,15 @@
45 * kernel is loaded. The data is declared here rather than debug-macro.S so 45 * kernel is loaded. The data is declared here rather than debug-macro.S so
46 * that multiple inclusions of debug-macro.S point at the same data. 46 * that multiple inclusions of debug-macro.S point at the same data.
47 */ 47 */
48#define TEGRA_DEBUG_UART_OFFSET (TEGRA_DEBUG_UART_BASE & 0xFFFF) 48u32 tegra_uart_config[4] = {
49u32 tegra_uart_config[3] = {
50 /* Debug UART initialization required */ 49 /* Debug UART initialization required */
51 1, 50 1,
52 /* Debug UART physical address */ 51 /* Debug UART physical address */
53 (u32)(IO_APB_PHYS + TEGRA_DEBUG_UART_OFFSET), 52 0,
54 /* Debug UART virtual address */ 53 /* Debug UART virtual address */
55 (u32)(IO_APB_VIRT + TEGRA_DEBUG_UART_OFFSET), 54 0,
55 /* Scratch space for debug macro */
56 0,
56}; 57};
57 58
58#ifdef CONFIG_OF 59#ifdef CONFIG_OF