From: Tony Lindgren <tony@atomide.com>
To: "Choraria, Rohit" <rohitkc@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] ARM: OMAP: VMALLOC Size
Date: Fri, 16 Nov 2007 15:51:40 -0800 [thread overview]
Message-ID: <20071116235139.GM32675@atomide.com> (raw)
In-Reply-To: <AC2D475575504148943F5EB0938951C4011254B5@dbde01.ent.ti.com>
* Choraria, Rohit <rohitkc@ti.com> [071107 06:13]:
> Hi,
>
> This patch increases the size of VMALLOC to accommodate the bigger DDR and
> NOR flashes being used now. Since SRAM is allocated at the end of VMALLOC
> area, moving the SRAM virtual address also.
>
> Regards,
> Rohit
>
> Signed-off-by: Rohit Choraria <rohitkc@ti.com>
> ---
> arch/arm/plat-omap/sram.c | 6 +++---
> include/asm-arm/arch-omap/vmalloc.h | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> Index: linux-omap/include/asm-arm/arch-omap/vmalloc.h
> ===================================================================
> --- linux-omap.orig/include/asm-arm/arch-omap/vmalloc.h 2007-11-07 06:34:19.062643728 -0500
> +++ linux-omap/include/asm-arm/arch-omap/vmalloc.h 2007-11-07 06:34:58.255685480 -0500
> @@ -17,5 +17,5 @@
> * along with this program; if not, write to the Free Software
> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
> -#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
> +#define VMALLOC_END (PAGE_OFFSET + 0x17000000)
>
> Index: linux-omap/arch/arm/plat-omap/sram.c
> ===================================================================
> --- linux-omap.orig/arch/arm/plat-omap/sram.c 2007-11-07 06:34:19.062643728 -0500
> +++ linux-omap/arch/arm/plat-omap/sram.c 2007-11-07 09:58:34.914471048 -0500
> @@ -25,11 +25,11 @@
> #include <asm/arch/board.h>
>
> #define OMAP1_SRAM_PA 0x20000000
> -#define OMAP1_SRAM_VA 0xd0000000
> +#define OMAP1_SRAM_VA VMALLOC_END
> #define OMAP2_SRAM_PA 0x40200000
> #define OMAP2_SRAM_PUB_PA 0x4020f800
> -#define OMAP2_SRAM_VA 0xd0000000
> -#define OMAP2_SRAM_PUB_VA 0xd0000800
> +#define OMAP2_SRAM_VA VMALLOC_END
> +#define OMAP2_SRAM_PUB_VA (VMALLOC_END + 0x800)
>
> #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
> #define SRAM_BOOTLOADER_SZ 0x00
Pushing today.
Tony
prev parent reply other threads:[~2007-11-16 23:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 14:12 [PATCH] ARM: OMAP: VMALLOC Size Choraria, Rohit
2007-11-16 23:51 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071116235139.GM32675@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=rohitkc@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox