]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: change the PHYSMEM_BITS and SECTION_SIZE
authorSubash Patel <subash.rp@samsung.com>
Tue, 16 Jul 2013 03:42:13 +0000 (12:42 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 16 Jul 2013 03:42:13 +0000 (12:42 +0900)
commit847b33e4a4ce097fac0e8e83b2c4d63d52c9d737
treebec2580276cf4622dfb62a3572041403bfcbd5ba
parent06d20834893c5f6ecaa7ef46d155190692987d85
ARM: EXYNOS: change the PHYSMEM_BITS and SECTION_SIZE

On EXYNOS5440 there is DRAM on the 36-bit address range. Hence
this patch converts the MAX_PHYSMEM_BITS macro to 36 if LPAE is
enabled for the ARM architecture.

The conventional section size on EXYNOS is 256M due to sparsemem.
Since EXYNOS5440 has memory in multiples of 1G in 32-bit and 36-bit
range, this has now been modified to 31.

Signed-off-by: Subash Patel <subash.rp@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/include/mach/memory.h