]> rtime.felk.cvut.cz Git - linux-imx.git/blob - arch/arm/mach-exynos/include/mach/memory.h
Merge tag 'fbdev-fixes-3.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-imx.git] / arch / arm / mach-exynos / include / mach / memory.h
1 /* linux/arch/arm/mach-exynos4/include/mach/memory.h
2  *
3  * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4  *              http://www.samsung.com
5  *
6  * EXYNOS4 - 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 __FILE__
15
16 #define PLAT_PHYS_OFFSET                UL(0x40000000)
17
18 #ifndef CONFIG_ARM_LPAE
19 /* Maximum of 256MiB in one bank */
20 #define MAX_PHYSMEM_BITS        32
21 #define SECTION_SIZE_BITS       28
22 #else
23 #define MAX_PHYSMEM_BITS        36
24 #define SECTION_SIZE_BITS       31
25 #endif
26
27 #endif /* __ASM_ARCH_MEMORY_H */