]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-clps711x/autcpu12.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
[linux-2.6-omap-h63xx.git] / arch / arm / mach-clps711x / autcpu12.c
index dc73feb1ffb0d9ed58b90a64a1518525cb63b17d..474616dcd7a688a92cb39b813b58d822f5eb2041 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/string.h>
 #include <linux/mm.h>
 
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 #include <asm/sizes.h>
 #include <asm/io.h>
 #include <asm/setup.h>
@@ -33,7 +33,7 @@
 #include <asm/page.h>
 
 #include <asm/mach/map.h>
-#include <asm/arch/autcpu12.h>
+#include <mach/autcpu12.h>
 
 #include "common.h"
 
 */
 
 static struct map_desc autcpu12_io_desc[] __initdata = {
- /* virtual, physical, length, type */
- /* memory-mapped extra io and CS8900A Ethernet chip */
- /* ethernet chip */
-       { AUTCPU12_VIRT_CS8900A, AUTCPU12_PHYS_CS8900A, SZ_1M, MT_DEVICE }
+       /* memory-mapped extra io and CS8900A Ethernet chip */
+       /* ethernet chip */
+       {
+               .virtual        = AUTCPU12_VIRT_CS8900A,
+               .pfn            = __phys_to_pfn(AUTCPU12_PHYS_CS8900A),
+               .length         = SZ_1M,
+               .type           = MT_DEVICE
+       }
 };
 
 void __init autcpu12_map_io(void)
@@ -60,7 +64,6 @@ void __init autcpu12_map_io(void)
 
 MACHINE_START(AUTCPU12, "autronix autcpu12")
        /* Maintainer: Thomas Gleixner */
-       .phys_ram       = 0xc0000000,
        .phys_io        = 0x80000000,
        .io_pg_offst    = ((0xff000000) >> 18) & 0xfffc,
        .boot_params    = 0xc0020000,