/* linux/arch/arm/mach-exynos/include/mach/memory.h * * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * * EXYNOS4 - Memory definitions * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __ASM_ARCH_MEMORY_H #define __ASM_ARCH_MEMORY_H __FILE__ #define PLAT_PHYS_OFFSET UL(0x40000000) #define CONSISTENT_DMA_SIZE (SZ_8M + SZ_8M + SZ_4M) #if defined(CONFIG_MACH_SMDKV310) || defined(CONFIG_MACH_SMDK5250) #define NR_BANKS 16 #endif /* Maximum of 256MiB in one bank */ #define MAX_PHYSMEM_BITS 32 #define SECTION_SIZE_BITS 28 /* Required by ION to allocate scatterlist(sglist) with nents > 256 */ #define ARCH_HAS_SG_CHAIN #endif /* __ASM_ARCH_MEMORY_H */