diff options
Diffstat (limited to 'arch/arm/include/asm/memory.h')
-rw-r--r-- | arch/arm/include/asm/memory.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 2b751464d6ff..e731018869a7 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h | |||
@@ -91,9 +91,7 @@ | |||
91 | * of this define that was meant to. | 91 | * of this define that was meant to. |
92 | * Fortunately, there is no reference for this in noMMU mode, for now. | 92 | * Fortunately, there is no reference for this in noMMU mode, for now. |
93 | */ | 93 | */ |
94 | #ifndef TASK_SIZE | 94 | #define TASK_SIZE UL(0xffffffff) |
95 | #define TASK_SIZE (CONFIG_DRAM_SIZE) | ||
96 | #endif | ||
97 | 95 | ||
98 | #ifndef TASK_UNMAPPED_BASE | 96 | #ifndef TASK_UNMAPPED_BASE |
99 | #define TASK_UNMAPPED_BASE UL(0x00000000) | 97 | #define TASK_UNMAPPED_BASE UL(0x00000000) |
@@ -150,13 +148,11 @@ | |||
150 | 148 | ||
151 | /* | 149 | /* |
152 | * PLAT_PHYS_OFFSET is the offset (from zero) of the start of physical | 150 | * 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 | 151 | * 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 | 152 | * have CONFIG_ARM_PATCH_PHYS_VIRT. Assembly code must always use |
155 | * PLAT_PHYS_OFFSET and not PHYS_OFFSET. | 153 | * PLAT_PHYS_OFFSET and not PHYS_OFFSET. |
156 | */ | 154 | */ |
157 | #ifndef PLAT_PHYS_OFFSET | ||
158 | #define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) | 155 | #define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET) |
159 | #endif | ||
160 | 156 | ||
161 | #ifndef __ASSEMBLY__ | 157 | #ifndef __ASSEMBLY__ |
162 | 158 | ||