From: Tony Lindgren <tony@atomide.com>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: Patch to fix dsp mapping for 2430.
Date: Mon, 7 May 2007 17:14:01 -0700 [thread overview]
Message-ID: <20070508001400.GD31968@atomide.com> (raw)
In-Reply-To: <3B6D69C3A9EBCA4BA5DA60D913027429EAAC42@dlee13.ent.ti.com>
* Woodruff, Richard <r-woodruff2@ti.com> [070507 13:55]:
> This patch fixes the DSP mapping for 2430.
>
> Signed-off-by: Richard Woodruff <r-woodruff2@ti.com>
> ---
>
> diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
> index 871fde3..3ce0bc9 100644
> --- a/arch/arm/mach-omap2/io.c
> +++ b/arch/arm/mach-omap2/io.c
> @@ -80,12 +80,14 @@ static struct map_desc omap2_io_desc[] __initdata =
> {
> .length = DSP_MEM_24XX_SIZE,
> .type = MT_DEVICE
> },
> +#ifdef CONFIG_ARCH_OMAP2420
> {
> .virtual = DSP_IPI_24XX_VIRT,
> .pfn = __phys_to_pfn(DSP_IPI_24XX_PHYS),
> .length = DSP_IPI_24XX_SIZE,
> .type = MT_DEVICE
> },
> +#endif
> {
> .virtual = DSP_MMU_24XX_VIRT,
> .pfn = __phys_to_pfn(DSP_MMU_24XX_PHYS),
> diff --git a/include/asm-arm/arch-omap/omap24xx.h
> b/include/asm-arm/arch-omap/omap24xx.h
> index 66592c8..2f806b3 100644
> --- a/include/asm-arm/arch-omap/omap24xx.h
> +++ b/include/asm-arm/arch-omap/omap24xx.h
> @@ -34,10 +34,18 @@
> #endif
>
> /* DSP SS */
> +#ifdef CONFIG_ARCH_OMAP2420
> #define OMAP24XX_DSP_BASE 0x58000000
> #define OMAP24XX_DSP_MEM_BASE (OMAP24XX_DSP_BASE + 0x0)
> #define OMAP24XX_DSP_IPI_BASE (OMAP24XX_DSP_BASE + 0x1000000)
> #define OMAP24XX_DSP_MMU_BASE (OMAP24XX_DSP_BASE + 0x2000000)
> +#endif
> +
> +#ifdef CONFIG_ARCH_OMAP2430
> +#define OMAP24XX_DSP_BASE 0x5C000000
> +#define OMAP24XX_DSP_MEM_BASE (OMAP24XX_DSP_BASE + 0x0)
> +#define OMAP24XX_DSP_MMU_BASE (OMAP24XX_DSP_BASE + 0x1000000)
> +#endif
>
> /* Mailbox */
> #define OMAP24XX_MAILBOX_BASE (L4_24XX_BASE + 0x94000)
Thanks, pushing today.
Tony
prev parent reply other threads:[~2007-05-08 0:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-07 20:50 Patch to fix dsp mapping for 2430 Woodruff, Richard
2007-05-08 0:14 ` 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=20070508001400.GD31968@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=r-woodruff2@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