From: Tony Lindgren <tony@atomide.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 2/2] OMAP3: SRAM size fix for HS/EMU devices
Date: Thu, 18 Jun 2009 08:16:27 +0300 [thread overview]
Message-ID: <20090618051624.GA8482@atomide.com> (raw)
In-Reply-To: <1245283206-6568-2-git-send-email-khilman@deeprootsystems.com>
* Kevin Hilman <khilman@deeprootsystems.com> [090618 03:00]:
> From: Tero Kristo <tero.kristo@nokia.com>
>
> SRAM size fix for HS/EMU devices
>
> Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/plat-omap/sram.c | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
> mode change 100644 => 100755 arch/arm/plat-omap/sram.c
This one also has some mode change going on, please check your repos.
Will fix before applying.
Tony
> diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
> old mode 100644
> new mode 100755
> index 65006df..80bf3b1
> --- a/arch/arm/plat-omap/sram.c
> +++ b/arch/arm/plat-omap/sram.c
> @@ -133,7 +133,11 @@ void __init omap_detect_sram(void)
> if (cpu_is_omap34xx()) {
> omap_sram_base = OMAP3_SRAM_PUB_VA;
> omap_sram_start = OMAP3_SRAM_PUB_PA;
> - omap_sram_size = 0x8000; /* 32K */
> + if ((omap_type() == OMAP2_DEVICE_TYPE_EMU) ||
> + (omap_type() == OMAP2_DEVICE_TYPE_SEC)) {
> + omap_sram_size = 0x7000; /* 28K */
> + else
> + omap_sram_size = 0x8000; /* 32K */
> } else {
> omap_sram_base = OMAP2_SRAM_PUB_VA;
> omap_sram_start = OMAP2_SRAM_PUB_PA;
> --
> 1.6.3.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-06-18 7:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-18 0:00 [PATCH 1/2] Revert "OMAP3: SRAM size fix for HS/EMU devices" Kevin Hilman
2009-06-18 0:00 ` [PATCH 2/2] OMAP3: SRAM size fix for HS/EMU devices Kevin Hilman
2009-06-18 5:16 ` Tony Lindgren [this message]
2009-06-18 14:12 ` Kevin Hilman
2009-06-18 7:52 ` [APPLIED] " Tony Lindgren
2009-06-18 7:56 ` [APPLIED] [PATCH 1/2] Revert "OMAP3: SRAM size fix for HS/EMU devices" Tony Lindgren
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=20090618051624.GA8482@atomide.com \
--to=tony@atomide.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
/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