diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-04 13:07:14 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-17 18:26:55 -0500 |
commit | f4117ac9e237b74afdf5e001d5ea26a4d15e9847 (patch) | |
tree | dce3ccceda23d4bf620ec3d025a14773c7c938a8 /arch/arm/mach-ep93xx | |
parent | 6fc31d54443bdc25a8166be15e3920a7e39d195d (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/mach-ep93xx')
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/memory.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/memory.h b/arch/arm/mach-ep93xx/include/mach/memory.h index 554064e90307..c9400cf0051c 100644 --- a/arch/arm/mach-ep93xx/include/mach/memory.h +++ b/arch/arm/mach-ep93xx/include/mach/memory.h | |||
@@ -6,15 +6,15 @@ | |||
6 | #define __ASM_ARCH_MEMORY_H | 6 | #define __ASM_ARCH_MEMORY_H |
7 | 7 | ||
8 | #if defined(CONFIG_EP93XX_SDCE3_SYNC_PHYS_OFFSET) | 8 | #if defined(CONFIG_EP93XX_SDCE3_SYNC_PHYS_OFFSET) |
9 | #define PHYS_OFFSET UL(0x00000000) | 9 | #define PLAT_PHYS_OFFSET UL(0x00000000) |
10 | #elif defined(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) | 10 | #elif defined(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) |
11 | #define PHYS_OFFSET UL(0xc0000000) | 11 | #define PLAT_PHYS_OFFSET UL(0xc0000000) |
12 | #elif defined(CONFIG_EP93XX_SDCE1_PHYS_OFFSET) | 12 | #elif defined(CONFIG_EP93XX_SDCE1_PHYS_OFFSET) |
13 | #define PHYS_OFFSET UL(0xd0000000) | 13 | #define PLAT_PHYS_OFFSET UL(0xd0000000) |
14 | #elif defined(CONFIG_EP93XX_SDCE2_PHYS_OFFSET) | 14 | #elif defined(CONFIG_EP93XX_SDCE2_PHYS_OFFSET) |
15 | #define PHYS_OFFSET UL(0xe0000000) | 15 | #define PLAT_PHYS_OFFSET UL(0xe0000000) |
16 | #elif defined(CONFIG_EP93XX_SDCE3_ASYNC_PHYS_OFFSET) | 16 | #elif defined(CONFIG_EP93XX_SDCE3_ASYNC_PHYS_OFFSET) |
17 | #define PHYS_OFFSET UL(0xf0000000) | 17 | #define PLAT_PHYS_OFFSET UL(0xf0000000) |
18 | #else | 18 | #else |
19 | #error "Kconfig bug: No EP93xx PHYS_OFFSET set" | 19 | #error "Kconfig bug: No EP93xx PHYS_OFFSET set" |
20 | #endif | 20 | #endif |