aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/memory.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-04 13:07:14 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-17 18:26:55 -0500
commitf4117ac9e237b74afdf5e001d5ea26a4d15e9847 (patch)
treedce3ccceda23d4bf620ec3d025a14773c7c938a8 /arch/arm/plat-mxc/include/mach/memory.h
parent6fc31d54443bdc25a8166be15e3920a7e39d195d (diff)
ARM: P2V: separate PHYS_OFFSET from platform definitions
This uncouple PHYS_OFFSET from the platform definitions, thereby facilitating run-time computation of the physical memory offset. Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Magnus Damm <damm@opensource.se> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Wan ZongShun <mcuos.com@gmail.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Eric Miao <eric.y.miao@gmail.com> Acked-by: Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/memory.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/memory.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/plat-mxc/include/mach/memory.h b/arch/arm/plat-mxc/include/mach/memory.h
index 83861408133f..5d51cbb98893 100644
--- a/arch/arm/plat-mxc/include/mach/memory.h
+++ b/arch/arm/plat-mxc/include/mach/memory.h
@@ -23,23 +23,23 @@
23 23
24#if !defined(CONFIG_RUNTIME_PHYS_OFFSET) 24#if !defined(CONFIG_RUNTIME_PHYS_OFFSET)
25# if defined CONFIG_ARCH_MX1 25# if defined CONFIG_ARCH_MX1
26# define PHYS_OFFSET MX1_PHYS_OFFSET 26# define PLAT_PHYS_OFFSET MX1_PHYS_OFFSET
27# elif defined CONFIG_MACH_MX21 27# elif defined CONFIG_MACH_MX21
28# define PHYS_OFFSET MX21_PHYS_OFFSET 28# define PLAT_PHYS_OFFSET MX21_PHYS_OFFSET
29# elif defined CONFIG_ARCH_MX25 29# elif defined CONFIG_ARCH_MX25
30# define PHYS_OFFSET MX25_PHYS_OFFSET 30# define PLAT_PHYS_OFFSET MX25_PHYS_OFFSET
31# elif defined CONFIG_MACH_MX27 31# elif defined CONFIG_MACH_MX27
32# define PHYS_OFFSET MX27_PHYS_OFFSET 32# define PLAT_PHYS_OFFSET MX27_PHYS_OFFSET
33# elif defined CONFIG_ARCH_MX3 33# elif defined CONFIG_ARCH_MX3
34# define PHYS_OFFSET MX3x_PHYS_OFFSET 34# define PLAT_PHYS_OFFSET MX3x_PHYS_OFFSET
35# elif defined CONFIG_ARCH_MXC91231 35# elif defined CONFIG_ARCH_MXC91231
36# define PHYS_OFFSET MXC91231_PHYS_OFFSET 36# define PLAT_PHYS_OFFSET MXC91231_PHYS_OFFSET
37# elif defined CONFIG_ARCH_MX50 37# elif defined CONFIG_ARCH_MX50
38# define PHYS_OFFSET MX50_PHYS_OFFSET 38# define PLAT_PHYS_OFFSET MX50_PHYS_OFFSET
39# elif defined CONFIG_ARCH_MX51 39# elif defined CONFIG_ARCH_MX51
40# define PHYS_OFFSET MX51_PHYS_OFFSET 40# define PLAT_PHYS_OFFSET MX51_PHYS_OFFSET
41# elif defined CONFIG_ARCH_MX53 41# elif defined CONFIG_ARCH_MX53
42# define PHYS_OFFSET MX53_PHYS_OFFSET 42# define PLAT_PHYS_OFFSET MX53_PHYS_OFFSET
43# endif 43# endif
44#endif 44#endif
45 45