]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/io.c
Merge omap-drivers
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / io.c
index 2769171147bcfbe1edb51ad51d60742ba2548fb0..4f648c370f20309aada764eb91976b4cefb8c0b9 100644 (file)
@@ -4,7 +4,7 @@
  * OMAP2 I/O mapping code
  *
  * Copyright (C) 2005 Nokia Corporation
- * Author: Juha Yrjölä <juha.yrjola@nokia.com>
+ * Author: Juha Yrjola<juha.yrjola@nokia.com>
  * Updated map desc to add 2430 support : <x0khasim@ti.com>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -42,6 +42,12 @@ static struct map_desc omap2_io_desc[] __initdata = {
                .length         = L3_24XX_SIZE,
                .type           = MT_DEVICE
        },
+       {
+               .virtual        = L4_24XX_VIRT,
+               .pfn            = __phys_to_pfn(L4_24XX_PHYS),
+               .length         = L4_24XX_SIZE,
+               .type           = MT_DEVICE
+       },
 #ifdef CONFIG_ARCH_OMAP2430
        {
                .virtual        = L4_WK_243X_VIRT,
@@ -74,18 +80,20 @@ 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),
                .length         = DSP_MMU_24XX_SIZE,
                .type           = MT_DEVICE
-       }
+       },
 };
 
 void __init omap2_map_common_io(void)