diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-08-09 15:03:43 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-08-17 04:20:29 -0400 |
commit | 73285146544589424e8e1c1ebd6304d3c6231acf (patch) | |
tree | bf708ce0fad584054e6904219e58c833d02f72d0 /arch/arm/mach-u300/include/mach | |
parent | 93ee7a9340d64f20295aacc3fb6a22b759323280 (diff) |
mach-u300: retire odd singlemem variant
The U300 had a special variant where a memory was shared
between two CPU:s and only one part of memory was
accessible for the kernel. However it is now seriously
legacy and only create problems for kernel consolidation,
so let's retire it.
Cc: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-u300/include/mach')
-rw-r--r-- | arch/arm/mach-u300/include/mach/memory.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/arch/arm/mach-u300/include/mach/memory.h b/arch/arm/mach-u300/include/mach/memory.h index 888e2e351ee1..02bd832f063e 100644 --- a/arch/arm/mach-u300/include/mach/memory.h +++ b/arch/arm/mach-u300/include/mach/memory.h | |||
@@ -13,26 +13,8 @@ | |||
13 | #ifndef __MACH_MEMORY_H | 13 | #ifndef __MACH_MEMORY_H |
14 | #define __MACH_MEMORY_H | 14 | #define __MACH_MEMORY_H |
15 | 15 | ||
16 | #ifdef CONFIG_MACH_U300_DUAL_RAM | 16 | #define PLAT_PHYS_OFFSET UL(0x48000000) |
17 | 17 | #define BOOT_PARAMS_OFFSET (PLAT_PHYS_OFFSET + 0x100) | |
18 | #define PLAT_PHYS_OFFSET UL(0x48000000) | ||
19 | #define BOOT_PARAMS_OFFSET (PHYS_OFFSET + 0x100) | ||
20 | |||
21 | #else | ||
22 | |||
23 | #ifdef CONFIG_MACH_U300_2MB_ALIGNMENT_FIX | ||
24 | #define PLAT_PHYS_OFFSET (0x28000000 + \ | ||
25 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE - \ | ||
26 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024) | ||
27 | #else | ||
28 | #define PLAT_PHYS_OFFSET (0x28000000 + \ | ||
29 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE + \ | ||
30 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024) | ||
31 | #endif | ||
32 | #define BOOT_PARAMS_OFFSET (0x28000000 + \ | ||
33 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE + \ | ||
34 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024 + 0x100) | ||
35 | #endif | ||
36 | 18 | ||
37 | /* | 19 | /* |
38 | * We enable a real big DMA buffer if need be. | 20 | * We enable a real big DMA buffer if need be. |