Merge branch 'for-linus' of git://android.git.kernel.org/kernel/tegra
[pandora-kernel.git] / arch / arm / mach-s5pv210 / include / mach / memory.h
1 /* linux/arch/arm/mach-s5pv210/include/mach/memory.h
2  *
3  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4  *              http://www.samsung.com/
5  *
6  * S5PV210 - Memory definitions
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11 */
12
13 #ifndef __ASM_ARCH_MEMORY_H
14 #define __ASM_ARCH_MEMORY_H
15
16 #define PLAT_PHYS_OFFSET                UL(0x20000000)
17 #define CONSISTENT_DMA_SIZE     (SZ_8M + SZ_4M + SZ_2M)
18
19 /*
20  * Sparsemem support
21  * Physical memory can be located from 0x20000000 to 0x7fffffff,
22  * so MAX_PHYSMEM_BITS is 31.
23  */
24
25 #define MAX_PHYSMEM_BITS        31
26 #define SECTION_SIZE_BITS       28
27
28 #endif /* __ASM_ARCH_MEMORY_H */