2010-02-24 15:40:29 +08:00
|
|
|
/* linux/arch/arm/mach-s5pv210/include/mach/memory.h
|
|
|
|
*
|
|
|
|
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
|
|
|
|
* http://www.samsung.com/
|
|
|
|
*
|
|
|
|
* S5PV210 - 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
|
|
|
|
|
|
|
|
#define PHYS_OFFSET UL(0x20000000)
|
|
|
|
#define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M)
|
|
|
|
|
2010-07-12 14:19:04 +08:00
|
|
|
/*
|
|
|
|
* Sparsemem support
|
|
|
|
* Physical memory can be located from 0x20000000 to 0x7fffffff,
|
|
|
|
* so MAX_PHYSMEM_BITS is 31.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define MAX_PHYSMEM_BITS 31
|
2010-02-24 15:40:29 +08:00
|
|
|
#define SECTION_SIZE_BITS 28
|
|
|
|
|
|
|
|
#endif /* __ASM_ARCH_MEMORY_H */
|