mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-08 18:42:53 +00:00
f4117ac9e2
This uncouple PHYS_OFFSET from the platform definitions, thereby facilitating run-time computation of the physical memory offset. Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Magnus Damm <damm@opensource.se> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Wan ZongShun <mcuos.com@gmail.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Eric Miao <eric.y.miao@gmail.com> Acked-by: Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
29 lines
731 B
C
29 lines
731 B
C
/* 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 PLAT_PHYS_OFFSET UL(0x20000000)
|
|
#define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M)
|
|
|
|
/*
|
|
* Sparsemem support
|
|
* Physical memory can be located from 0x20000000 to 0x7fffffff,
|
|
* so MAX_PHYSMEM_BITS is 31.
|
|
*/
|
|
|
|
#define MAX_PHYSMEM_BITS 31
|
|
#define SECTION_SIZE_BITS 28
|
|
|
|
#endif /* __ASM_ARCH_MEMORY_H */
|