1 /* linux/arch/arm/mach-s5pv210/include/mach/memory.h
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
6 * S5PV210 - 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
16 #if defined(CONFIG_MACH_SMDKC110)
17 #define PHYS_OFFSET UL(0x30000000)
19 #define PHYS_OFFSET UL(0x20000000)
21 #define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M)
25 * Physical memory can be located from 0x20000000 to 0x7fffffff,
26 * so MAX_PHYSMEM_BITS is 31.
29 #define MAX_PHYSMEM_BITS 31
32 * section size of sparsemem
36 #if defined(CONFIG_MACH_SMDKC110)
37 #define SECTION_SIZE_BITS 24
39 #define SECTION_SIZE_BITS 28
42 #endif /* __ASM_ARCH_MEMORY_H */