[PATCH 1/4] ARM: SAMSUNG: Move the start address of Samsung SoCs' VA space

Jassi Brar jassisinghbrar at gmail.com
Tue Oct 5 00:06:25 EDT 2010


On Tue, Oct 5, 2010 at 11:06 AM, Kukjin Kim <kgene.kim at samsung.com> wrote:
> 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.
> Actually Samsung SoCs' VA space (free for platform use area) becomes
> 80MiB with this patch, it's enough.
>
> Signed-off-by: Kukjin Kim <kgene.kim at samsung.com>
> Cc: Ben Dooks <ben-linux at fluff.org>
> ---
>  arch/arm/plat-samsung/include/plat/map-base.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/plat-samsung/include/plat/map-base.h b/arch/arm/plat-samsung/include/plat/map-base.h
> index 250be31..86f66be 100644
> --- a/arch/arm/plat-samsung/include/plat/map-base.h
> +++ b/arch/arm/plat-samsung/include/plat/map-base.h
> @@ -14,7 +14,7 @@
>  #ifndef __ASM_PLAT_MAP_H
>  #define __ASM_PLAT_MAP_H __FILE__
>
> -/* Fit all our registers in at 0xF4000000 upwards, trying to use as
> +/* Fit all our registers in at 0xFA000000 upwards, trying to use as
>  * little of the VA space as possible so vmalloc and friends have a
>  * better chance of getting memory.
>  *
> @@ -22,7 +22,7 @@
>  * an single MOVS instruction (ie, only 8 bits of set data)
>  */
>
> -#define S3C_ADDR_BASE  (0xF4000000)
> +#define S3C_ADDR_BASE  (0xFA000000)

maybe you could drop the brackets from the address value



More information about the linux-arm-kernel mailing list