mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
ARM: S5PV210: Fix on MAX_PHYSMEM_BITS on S5PV210/S5PC110.
This patch fixes on MAX_PHYSMEM_BITS for Sparsemem on S5PV210/S5PC110. Because physical memory can be located from 0x20000000 to 0x7fffffff, so MAX_PHYSMEM_BITS is 31 and not 32. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
ab7a3379f5
commit
9c8dc1a88c
1 changed files with 7 additions and 2 deletions
|
@ -16,8 +16,13 @@
|
||||||
#define PHYS_OFFSET UL(0x20000000)
|
#define PHYS_OFFSET UL(0x20000000)
|
||||||
#define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M)
|
#define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M)
|
||||||
|
|
||||||
/* Maximum of 256MiB in one bank */
|
/*
|
||||||
#define MAX_PHYSMEM_BITS 32
|
* 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
|
#define SECTION_SIZE_BITS 28
|
||||||
|
|
||||||
#endif /* __ASM_ARCH_MEMORY_H */
|
#endif /* __ASM_ARCH_MEMORY_H */
|
||||||
|
|
Loading…
Reference in a new issue