diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-04 14:03:16 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-17 18:27:30 -0500 |
commit | b75c178afaa975896e894bb2b6951dc4cd43c977 (patch) | |
tree | e3011acbb5c185497e9d72d406b69e5cc20debd5 /arch/arm/mach-tcc8k | |
parent | f4117ac9e237b74afdf5e001d5ea26a4d15e9847 (diff) |
ARM: P2V: avoid initializers and assembly using PHYS_OFFSET
As PHYS_OFFSET will be becoming a variable, we can't have it used in
initializers nor assembly code. Replace those in generic code with
a run-time initialization. Replace those in platform code using the
individual platform specific PLAT_PHYS_OFFSET.
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: David Brown <davidb@codeaurora.org>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-tcc8k')
-rw-r--r-- | arch/arm/mach-tcc8k/board-tcc8000-sdk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tcc8k/board-tcc8000-sdk.c b/arch/arm/mach-tcc8k/board-tcc8000-sdk.c index 7991415e666..fb6426ddeb7 100644 --- a/arch/arm/mach-tcc8k/board-tcc8000-sdk.c +++ b/arch/arm/mach-tcc8k/board-tcc8000-sdk.c | |||
@@ -54,7 +54,7 @@ static void __init tcc8k_map_io(void) | |||
54 | } | 54 | } |
55 | 55 | ||
56 | MACHINE_START(TCC8000_SDK, "Telechips TCC8000-SDK Demo Board") | 56 | MACHINE_START(TCC8000_SDK, "Telechips TCC8000-SDK Demo Board") |
57 | .boot_params = PHYS_OFFSET + 0x00000100, | 57 | .boot_params = PLAT_PHYS_OFFSET + 0x00000100, |
58 | .map_io = tcc8k_map_io, | 58 | .map_io = tcc8k_map_io, |
59 | .init_irq = tcc8k_init_irq, | 59 | .init_irq = tcc8k_init_irq, |
60 | .init_machine = tcc8k_init, | 60 | .init_machine = tcc8k_init, |