summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-06-03 19:57:49 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-10-05 10:28:59 +0200
commitfdf5671c3dcf2f7e34942799f47ee569400026c8 (patch)
tree91edb35859952d03a6c922cc969bacca336d3af3 /arch
parentb58c062c7d81fe055d8867cc0d0daa6a31fc9747 (diff)
downloadlinux-fdf5671c3dcf2f7e34942799f47ee569400026c8.tar.gz
linux-fdf5671c3dcf2f7e34942799f47ee569400026c8.tar.xz
ARM: nommu: simplify definition of MODULES_END
The definition of MODULES_END is the last user of CONFIG_DRAM_SIZE. Just to define this limit hardly justifies to keep the compile time setting about the RAM size which makes it harder to compile a kernel for more than one machine. Still more as MODULES_END is hardly used on !MMU apart from the memory layout info during boot up. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/memory.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h
index e731018869a7..9a1f3152fa42 100644
--- a/arch/arm/include/asm/memory.h
+++ b/arch/arm/include/asm/memory.h
@@ -97,14 +97,10 @@
#define TASK_UNMAPPED_BASE UL(0x00000000)
#endif
-#ifndef END_MEM
-#define END_MEM (UL(CONFIG_DRAM_BASE) + CONFIG_DRAM_SIZE)
-#endif
-
/*
* The module can be at any place in ram in nommu mode.
*/
-#define MODULES_END (END_MEM)
+#define MODULES_END UL(0xffffffff)
#define MODULES_VADDR PAGE_OFFSET
#define XIP_VIRT_ADDR(physaddr) (physaddr)