diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-06-03 19:57:49 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-10-05 10:28:59 +0200 |
commit | fdf5671c3dcf2f7e34942799f47ee569400026c8 (patch) | |
tree | 91edb35859952d03a6c922cc969bacca336d3af3 /arch | |
parent | b58c062c7d81fe055d8867cc0d0daa6a31fc9747 (diff) | |
download | linux-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.h | 6 |
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) |