mirror of https://gitee.com/openkylin/linux.git
27 lines
645 B
C
27 lines
645 B
C
/*
|
|
* 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)
|
|
|
|
#ifndef CONFIG_ARM_LPAE
|
|
/* Maximum of 256MiB in one bank */
|
|
#define MAX_PHYSMEM_BITS 32
|
|
#define SECTION_SIZE_BITS 28
|
|
#else
|
|
#define MAX_PHYSMEM_BITS 36
|
|
#define SECTION_SIZE_BITS 31
|
|
#endif
|
|
|
|
#endif /* __ASM_ARCH_MEMORY_H */
|