]> 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)
commit95fb36a9f5cf1c2fc7ec2264cb3b764a45813f8d
treebec2580276cf4622dfb62a3572041403bfcbd5ba
parentea2483ad4960761e51b09c180de9c69b42b47b47
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