]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix dsp mapping for 2430
authorRichard Woodruff <r-woodruff2@ti.com>
Tue, 8 May 2007 00:13:43 +0000 (17:13 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 8 May 2007 00:17:59 +0000 (17:17 -0700)
This patch fixes the DSP mapping for 2430.

Signed-off-by: Richard Woodruff <r-woodruff2@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c
include/asm-arm/arch-omap/omap24xx.h

index 5fa7fc2be030b2ef50c2c78d0dcf391f66a926bd..a88bd1e46ae0893219ffa6beba13af34a4606604 100644 (file)
@@ -74,12 +74,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),
index 66592c8e76b696ccfb98dce997f8edbac420ead5..2f806b391311e3bf11b8bf029b1d5d92d690f248 100644 (file)
 #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)