Merge remote-tracking branch 'spi/topic/build' into spi-next
[deliverable/linux.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 */
This page took 0.037197 seconds and 5 git commands to generate.