diff options
Diffstat (limited to 'arch/arm/include/asm/memory.h')
-rw-r--r-- | arch/arm/include/asm/memory.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 2b751464d6ff..04ccf1c0a1af 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h | |||
@@ -150,13 +150,11 @@ | |||
150 | 150 | ||
151 | /* | 151 | /* |
152 | * PLAT_PHYS_OFFSET is the offset (from zero) of the start of physical | 152 | * PLAT_PHYS_OFFSET is the offset (from zero) of the start of physical |
153 | * memory. This is used for XIP and NoMMU kernels, or by kernels which | 153 | * memory. This is used for XIP and NoMMU kernels, and on platforms that don't |
154 | * have their own mach/memory.h. Assembly code must always use | 154 | * have CONFIG_ARM_PATCH_PHYS_VIRT. Assembly code must always use |
155 | * PLAT_PHYS_OFFSET and not PHYS_OFFSET. | 155 | * PLAT_PHYS_OFFSET and not PHYS_OFFSET. |
156 | */ | 156 | */ |
157 | #ifndef PLAT_PHYS_OFFSET | ||
158 | #define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | 157 | #define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) |
159 | #endif | ||
160 | 158 | ||
161 | #ifndef __ASSEMBLY__ | 159 | #ifndef __ASSEMBLY__ |
162 | 160 | ||