]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Make 24xx boot again
authorTony Lindgren <tony@atomide.com>
Thu, 10 Nov 2005 01:47:44 +0000 (17:47 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Nov 2005 01:47:44 +0000 (17:47 -0800)
Make 24xx boot again

arch/arm/mach-omap2/io.c

index 99492c64d903880cf4526efda59cf36ac815460e..8ea67bf196a5efd309d09760a13170003d75a20a 100644 (file)
@@ -29,8 +29,18 @@ extern void omap2_check_revision(void);
  * default mapping provided here.
  */
 static struct map_desc omap2_io_desc[] __initdata = {
-       { L3_24XX_VIRT, L3_24XX_PHYS,   L3_24XX_SIZE,   MT_DEVICE },
-       { L4_24XX_VIRT, L4_24XX_PHYS,   L4_24XX_SIZE,   MT_DEVICE },
+       {
+               .virtual        = L3_24XX_VIRT,
+               .pfn            = __phys_to_pfn(L3_24XX_PHYS),
+               .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
+       }
 };
 
 void __init omap_map_common_io(void)