Linux 3.11-rc3
[cris-mirror.git] / arch / arm / mach-exynos / include / mach / memory.h
blob2a4cdb7cb326a400060fd9c959042145dedb17c2
1 /* linux/arch/arm/mach-exynos4/include/mach/memory.h
3 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * EXYNOS4 - Memory definitions
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.
13 #ifndef __ASM_ARCH_MEMORY_H
14 #define __ASM_ARCH_MEMORY_H __FILE__
16 #define PLAT_PHYS_OFFSET UL(0x40000000)
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
27 #endif /* __ASM_ARCH_MEMORY_H */