Kukjin Kim | 939d28a | 2010-02-24 16:40:29 +0900 | [diff] [blame] | 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 PHYS_OFFSET UL(0x20000000) |
| 17 | #define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M) |
| 18 | |
Kukjin Kim | 9c8dc1a | 2010-07-12 15:19:04 +0900 | [diff] [blame] | 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 |
Kukjin Kim | 939d28a | 2010-02-24 16:40:29 +0900 | [diff] [blame] | 26 | #define SECTION_SIZE_BITS 28 |
| 27 | |
| 28 | #endif /* __ASM_ARCH_MEMORY_H */ |