diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-06-14 06:01:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-06-14 06:01:44 -0400 |
commit | b7c11ec9f1c9f4272f032215ddb0b65d64b22ecc (patch) | |
tree | c65b81ef9ae5076d2137034accfa2610f45a13de /arch/arm/mm/mmu.c | |
parent | 06099961002a813324d057a91695af7c72939da6 (diff) | |
parent | 7666c17e2b0986a079da46122d8658544416c2cf (diff) |
Merge branch 'u300' into devel
Conflicts:
arch/arm/Makefile
Updates:
arch/arm/mach-u300/core.c
arch/arm/mach-u300/timer.c
Diffstat (limited to 'arch/arm/mm/mmu.c')
-rw-r--r-- | arch/arm/mm/mmu.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 70974d75a075..fdaa9bb87c16 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -840,6 +840,20 @@ void __init reserve_node_zero(pg_data_t *pgdat) | |||
840 | reserve_bootmem_node(pgdat, 0xa0200000, 0x1000, | 840 | reserve_bootmem_node(pgdat, 0xa0200000, 0x1000, |
841 | BOOTMEM_EXCLUSIVE); | 841 | BOOTMEM_EXCLUSIVE); |
842 | 842 | ||
843 | /* | ||
844 | * U300 - This platform family can share physical memory | ||
845 | * between two ARM cpus, one running Linux and the other | ||
846 | * running another OS. | ||
847 | */ | ||
848 | if (machine_is_u300()) { | ||
849 | #ifdef CONFIG_MACH_U300_SINGLE_RAM | ||
850 | #if ((CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1) == 1) && \ | ||
851 | CONFIG_MACH_U300_2MB_ALIGNMENT_FIX | ||
852 | res_size = 0x00100000; | ||
853 | #endif | ||
854 | #endif | ||
855 | } | ||
856 | |||
843 | #ifdef CONFIG_SA1111 | 857 | #ifdef CONFIG_SA1111 |
844 | /* | 858 | /* |
845 | * Because of the SA1111 DMA bug, we want to preserve our | 859 | * Because of the SA1111 DMA bug, we want to preserve our |