Commit 56786f95 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 419bc6a1 a577d2e3
/* linux/arch/arm/mach-s3c2410/mach-vr1000.c /* linux/arch/arm/mach-s3c2410/mach-vr1000.c
* *
* Copyright (c) 2003 Simtec Electronics * Copyright (c) 2003,2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* http://www.simtec.co.uk/ * Machine support for Thorcom VR1000 board. Designed for Thorcom by
* Simtec Electronics, http://www.simtec.co.uk/
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
* *
* Modifications: * Modifications:
* 12-Jul-2004 BJD Renamed machine
* 16-May-2003 BJD Created initial version * 16-May-2003 BJD Created initial version
* 16-Aug-2003 BJD Fixed header files and copyright, added URL * 16-Aug-2003 BJD Fixed header files and copyright, added URL
* 05-Sep-2003 BJD Moved to v2.6 kernel * 05-Sep-2003 BJD Moved to v2.6 kernel
...@@ -160,7 +162,7 @@ void __init vr1000_init_time(void) ...@@ -160,7 +162,7 @@ void __init vr1000_init_time(void)
s3c2401_init_time(); s3c2401_init_time();
} }
MACHINE_START(VR1000, "Simtec-VR1000") MACHINE_START(VR1000, "Thorcom-VR1000")
MAINTAINER("Ben Dooks <ben@simtec.co.uk>") MAINTAINER("Ben Dooks <ben@simtec.co.uk>")
BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, S3C2410_VA_UART) BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, S3C2410_VA_UART)
BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100)
......
...@@ -89,7 +89,7 @@ static struct platform_device *devices[] __initdata = { ...@@ -89,7 +89,7 @@ static struct platform_device *devices[] __initdata = {
&locomo_device, &locomo_device,
}; };
static int __init collie_init(void) static void __init collie_init(void)
{ {
int ret = 0; int ret = 0;
...@@ -120,14 +120,9 @@ static int __init collie_init(void) ...@@ -120,14 +120,9 @@ static int __init collie_init(void)
ret = platform_add_devices(devices, ARRAY_SIZE(devices)); ret = platform_add_devices(devices, ARRAY_SIZE(devices));
if (ret) { if (ret) {
printk(KERN_WARNING "collie: Unable to register LoCoMo device\n"); printk(KERN_WARNING "collie: Unable to register LoCoMo device\n");
return ret;
} }
return ret;
} }
arch_initcall(collie_init);
static struct map_desc collie_io_desc[] __initdata = { static struct map_desc collie_io_desc[] __initdata = {
/* virtual physical length type */ /* virtual physical length type */
{0xe8000000, 0x00000000, 0x02000000, MT_DEVICE}, /* 32M main flash (cs0) */ {0xe8000000, 0x00000000, 0x02000000, MT_DEVICE}, /* 32M main flash (cs0) */
...@@ -145,4 +140,5 @@ MACHINE_START(COLLIE, "Sharp-Collie") ...@@ -145,4 +140,5 @@ MACHINE_START(COLLIE, "Sharp-Collie")
BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000) BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
MAPIO(collie_map_io) MAPIO(collie_map_io)
INITIRQ(sa1100_init_irq) INITIRQ(sa1100_init_irq)
INIT_MACHINE(collie_init)
MACHINE_END MACHINE_END
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
*/ */
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/mach-types.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/bus.h> #include <asm/arch/bus.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment