aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-31 18:58:06 -0400
committerArnd Bergmann <arnd@arndb.de>2011-10-31 19:11:41 -0400
commita7fadac10ffbfd16cc7ccf951eab1ecf85e1abdf (patch)
tree64a1035b02cb8aae34b96fc7c1c7caaad337ac07 /arch/arm/mach-tegra
parent335332770c68649ffeaf5dc2b58d9cd40041e295 (diff)
parent531a6a941745e1e045dd2a6bd09e1dc01247a5f3 (diff)
Merge branch 'depends/rmk/devel-stable' into next/board
The exynos4 updates conflict with code from the arm devel-stable branch and new boards need to set atag_offset in place of boot_param. Conflicts: arch/arm/Kconfig arch/arm/mach-exynos4/include/mach/entry-macro.S arch/arm/mach-exynos4/mach-smdkc210.c arch/arm/mach-exynos4/mach-smdkv310.c arch/arm/mach-exynos4/mct.c Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/board-harmony.c2
-rw-r--r--arch/arm/mach-tegra/board-paz00.c2
-rw-r--r--arch/arm/mach-tegra/board-seaboard.c6
-rw-r--r--arch/arm/mach-tegra/board-trimslice.c2
-rw-r--r--arch/arm/mach-tegra/include/mach/debug-macro.S2
-rw-r--r--arch/arm/mach-tegra/include/mach/memory.h28
-rw-r--r--arch/arm/mach-tegra/platsmp.c8
7 files changed, 11 insertions, 39 deletions
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c
index 987dab527e8c..583522597876 100644
--- a/arch/arm/mach-tegra/board-harmony.c
+++ b/arch/arm/mach-tegra/board-harmony.c
@@ -182,7 +182,7 @@ static void __init tegra_harmony_init(void)
182} 182}
183 183
184MACHINE_START(HARMONY, "harmony") 184MACHINE_START(HARMONY, "harmony")
185 .boot_params = 0x00000100, 185 .atag_offset = 0x100,
186 .fixup = tegra_harmony_fixup, 186 .fixup = tegra_harmony_fixup,
187 .map_io = tegra_map_common_io, 187 .map_io = tegra_map_common_io,
188 .init_early = tegra_init_early, 188 .init_early = tegra_init_early,
diff --git a/arch/arm/mach-tegra/board-paz00.c b/arch/arm/mach-tegra/board-paz00.c
index ac809b6e3def..39363e583c68 100644
--- a/arch/arm/mach-tegra/board-paz00.c
+++ b/arch/arm/mach-tegra/board-paz00.c
@@ -185,7 +185,7 @@ static void __init tegra_paz00_init(void)
185} 185}
186 186
187MACHINE_START(PAZ00, "Toshiba AC100 / Dynabook AZ") 187MACHINE_START(PAZ00, "Toshiba AC100 / Dynabook AZ")
188 .boot_params = 0x00000100, 188 .atag_offset = 0x100,
189 .fixup = tegra_paz00_fixup, 189 .fixup = tegra_paz00_fixup,
190 .map_io = tegra_map_common_io, 190 .map_io = tegra_map_common_io,
191 .init_early = tegra_init_early, 191 .init_early = tegra_init_early,
diff --git a/arch/arm/mach-tegra/board-seaboard.c b/arch/arm/mach-tegra/board-seaboard.c
index 25446df00006..bf13ea355efc 100644
--- a/arch/arm/mach-tegra/board-seaboard.c
+++ b/arch/arm/mach-tegra/board-seaboard.c
@@ -280,7 +280,7 @@ static void __init tegra_wario_init(void)
280 280
281 281
282MACHINE_START(SEABOARD, "seaboard") 282MACHINE_START(SEABOARD, "seaboard")
283 .boot_params = 0x00000100, 283 .atag_offset = 0x100,
284 .map_io = tegra_map_common_io, 284 .map_io = tegra_map_common_io,
285 .init_early = tegra_init_early, 285 .init_early = tegra_init_early,
286 .init_irq = tegra_init_irq, 286 .init_irq = tegra_init_irq,
@@ -289,7 +289,7 @@ MACHINE_START(SEABOARD, "seaboard")
289MACHINE_END 289MACHINE_END
290 290
291MACHINE_START(KAEN, "kaen") 291MACHINE_START(KAEN, "kaen")
292 .boot_params = 0x00000100, 292 .atag_offset = 0x100,
293 .map_io = tegra_map_common_io, 293 .map_io = tegra_map_common_io,
294 .init_early = tegra_init_early, 294 .init_early = tegra_init_early,
295 .init_irq = tegra_init_irq, 295 .init_irq = tegra_init_irq,
@@ -298,7 +298,7 @@ MACHINE_START(KAEN, "kaen")
298MACHINE_END 298MACHINE_END
299 299
300MACHINE_START(WARIO, "wario") 300MACHINE_START(WARIO, "wario")
301 .boot_params = 0x00000100, 301 .atag_offset = 0x100,
302 .map_io = tegra_map_common_io, 302 .map_io = tegra_map_common_io,
303 .init_early = tegra_init_early, 303 .init_early = tegra_init_early,
304 .init_irq = tegra_init_irq, 304 .init_irq = tegra_init_irq,
diff --git a/arch/arm/mach-tegra/board-trimslice.c b/arch/arm/mach-tegra/board-trimslice.c
index c3aff9fdffd3..990889443c15 100644
--- a/arch/arm/mach-tegra/board-trimslice.c
+++ b/arch/arm/mach-tegra/board-trimslice.c
@@ -171,7 +171,7 @@ static void __init tegra_trimslice_init(void)
171} 171}
172 172
173MACHINE_START(TRIMSLICE, "trimslice") 173MACHINE_START(TRIMSLICE, "trimslice")
174 .boot_params = 0x00000100, 174 .atag_offset = 0x100,
175 .fixup = tegra_trimslice_fixup, 175 .fixup = tegra_trimslice_fixup,
176 .map_io = tegra_map_common_io, 176 .map_io = tegra_map_common_io,
177 .init_early = tegra_init_early, 177 .init_early = tegra_init_early,
diff --git a/arch/arm/mach-tegra/include/mach/debug-macro.S b/arch/arm/mach-tegra/include/mach/debug-macro.S
index e0ebe65c1657..619abc63aee8 100644
--- a/arch/arm/mach-tegra/include/mach/debug-macro.S
+++ b/arch/arm/mach-tegra/include/mach/debug-macro.S
@@ -21,7 +21,7 @@
21#include <mach/io.h> 21#include <mach/io.h>
22#include <mach/iomap.h> 22#include <mach/iomap.h>
23 23
24 .macro addruart, rp, rv 24 .macro addruart, rp, rv, tmp
25 ldr \rp, =IO_APB_PHYS @ physical 25 ldr \rp, =IO_APB_PHYS @ physical
26 ldr \rv, =IO_APB_VIRT @ virtual 26 ldr \rv, =IO_APB_VIRT @ virtual
27 orr \rp, \rp, #(TEGRA_DEBUG_UART_BASE & 0xFF) 27 orr \rp, \rp, #(TEGRA_DEBUG_UART_BASE & 0xFF)
diff --git a/arch/arm/mach-tegra/include/mach/memory.h b/arch/arm/mach-tegra/include/mach/memory.h
deleted file mode 100644
index 537db3aa81a7..000000000000
--- a/arch/arm/mach-tegra/include/mach/memory.h
+++ /dev/null
@@ -1,28 +0,0 @@
1/*
2 * arch/arm/mach-tegra/include/mach/memory.h
3 *
4 * Copyright (C) 2010 Google, Inc.
5 *
6 * Author:
7 * Colin Cross <ccross@google.com>
8 * Erik Gilling <konkers@google.com>
9 *
10 * This software is licensed under the terms of the GNU General Public
11 * License version 2, as published by the Free Software Foundation, and
12 * may be copied, distributed, and modified under those terms.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 */
20
21#ifndef __MACH_TEGRA_MEMORY_H
22#define __MACH_TEGRA_MEMORY_H
23
24/* physical offset of RAM */
25#define PLAT_PHYS_OFFSET UL(0)
26
27#endif
28
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c
index 0886cbccddee..7d2b5d03c1df 100644
--- a/arch/arm/mach-tegra/platsmp.c
+++ b/arch/arm/mach-tegra/platsmp.c
@@ -114,10 +114,10 @@ void __init smp_init_cpus(void)
114{ 114{
115 unsigned int i, ncores = scu_get_core_count(scu_base); 115 unsigned int i, ncores = scu_get_core_count(scu_base);
116 116
117 if (ncores > NR_CPUS) { 117 if (ncores > nr_cpu_ids) {
118 printk(KERN_ERR "Tegra: no. of cores (%u) greater than configured (%u), clipping\n", 118 pr_warn("SMP: %u cores greater than maximum (%u), clipping\n",
119 ncores, NR_CPUS); 119 ncores, nr_cpu_ids);
120 ncores = NR_CPUS; 120 ncores = nr_cpu_ids;
121 } 121 }
122 122
123 for (i = 0; i < ncores; i++) 123 for (i = 0; i < ncores; i++)