aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/mmu.c')
-rw-r--r--arch/arm/mm/mmu.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index e6344ece00ce..4722582b17b8 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -255,6 +255,7 @@ const struct mem_type *get_mem_type(unsigned int type)
255{ 255{
256 return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL; 256 return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL;
257} 257}
258EXPORT_SYMBOL(get_mem_type);
258 259
259/* 260/*
260 * Adjust the PMD section entries according to the CPU in use. 261 * Adjust the PMD section entries according to the CPU in use.
@@ -835,10 +836,31 @@ void __init reserve_node_zero(pg_data_t *pgdat)
835 BOOTMEM_EXCLUSIVE); 836 BOOTMEM_EXCLUSIVE);
836 } 837 }
837 838
839 if (machine_is_treo680()) {
840 reserve_bootmem_node(pgdat, 0xa0000000, 0x1000,
841 BOOTMEM_EXCLUSIVE);
842 reserve_bootmem_node(pgdat, 0xa2000000, 0x1000,
843 BOOTMEM_EXCLUSIVE);
844 }
845
838 if (machine_is_palmt5()) 846 if (machine_is_palmt5())
839 reserve_bootmem_node(pgdat, 0xa0200000, 0x1000, 847 reserve_bootmem_node(pgdat, 0xa0200000, 0x1000,
840 BOOTMEM_EXCLUSIVE); 848 BOOTMEM_EXCLUSIVE);
841 849
850 /*
851 * U300 - This platform family can share physical memory
852 * between two ARM cpus, one running Linux and the other
853 * running another OS.
854 */
855 if (machine_is_u300()) {
856#ifdef CONFIG_MACH_U300_SINGLE_RAM
857#if ((CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1) == 1) && \
858 CONFIG_MACH_U300_2MB_ALIGNMENT_FIX
859 res_size = 0x00100000;
860#endif
861#endif
862 }
863
842#ifdef CONFIG_SA1111 864#ifdef CONFIG_SA1111
843 /* 865 /*
844 * Because of the SA1111 DMA bug, we want to preserve our 866 * Because of the SA1111 DMA bug, we want to preserve our