ARM: SAMSUNG: Move the start address of Samsung SoCs' VA space
This patch moves the start address of Samsung SoCs' VA space so that can use more vmalloc()/ioremap() space. Of course need to change the VMALLOC_END for it. Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
#ifndef __ASM_PLAT_MAP_H
|
#ifndef __ASM_PLAT_MAP_H
|
||||||
#define __ASM_PLAT_MAP_H __FILE__
|
#define __ASM_PLAT_MAP_H __FILE__
|
||||||
|
|
||||||
/* Fit all our registers in at 0xF4000000 upwards, trying to use as
|
/* Fit all our registers in at 0xF6000000 upwards, trying to use as
|
||||||
* little of the VA space as possible so vmalloc and friends have a
|
* little of the VA space as possible so vmalloc and friends have a
|
||||||
* better chance of getting memory.
|
* better chance of getting memory.
|
||||||
*
|
*
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
* an single MOVS instruction (ie, only 8 bits of set data)
|
* an single MOVS instruction (ie, only 8 bits of set data)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define S3C_ADDR_BASE (0xF4000000)
|
#define S3C_ADDR_BASE 0xF6000000
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#define S3C_ADDR(x) ((void __iomem __force *)S3C_ADDR_BASE + (x))
|
#define S3C_ADDR(x) ((void __iomem __force *)S3C_ADDR_BASE + (x))
|
||||||
|
Reference in New Issue
Block a user