This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-arm / arch-versatile / serial.h
similarity index 51%
rename from arch/arm/mach-versatile/versatile_ab.c
rename to include/asm-arm/arch-versatile/serial.h
index d332084..f578f89 100644 (file)
@@ -1,8 +1,7 @@
 /*
- *  linux/arch/arm/mach-versatile/versatile_ab.c
+ *  linux/include/asm-arm/arch-versatile/serial.h
  *
- *  Copyright (C) 2004 ARM Limited
- *  Copyright (C) 2000 Deep Blue Solutions Ltd
+ *  Copyright (C) 2003 ARM Limited
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
+#ifndef __ASM_ARCH_SERIAL_H
+#define __ASM_ARCH_SERIAL_H
 
-#include <linux/config.h>
-#include <linux/init.h>
-#include <linux/device.h>
-#include <linux/sysdev.h>
-
-#include <asm/hardware.h>
-#include <asm/io.h>
-#include <asm/irq.h>
-#include <asm/mach-types.h>
-#include <asm/hardware/amba.h>
+/*
+ * This assumes you have a 14.7456 MHz clock UART.
+ */
+#define BASE_BAUD 115200
 
-#include <asm/mach/arch.h>
+     /* UART CLK        PORT  IRQ     FLAGS        */
+#define STD_SERIAL_PORT_DEFNS \
+       { 0, BASE_BAUD, 0, 0, ASYNC_SKIP_TEST },        /* ttyS0 */     \
+       { 0, BASE_BAUD, 0, 0, ASYNC_SKIP_TEST },        /* ttyS1 */     \
+       { 0, BASE_BAUD, 0, 0, ASYNC_SKIP_TEST },        /* ttyS2 */     \
+       { 0, BASE_BAUD, 0, 0, ASYNC_SKIP_TEST },        /* ttyS3 */
 
-#include "core.h"
+#define EXTRA_SERIAL_PORT_DEFNS
 
-MACHINE_START(VERSATILE_AB, "ARM-Versatile AB")
-       MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd")
-       BOOT_MEM(0x00000000, 0x101f1000, 0xf11f1000)
-       BOOT_PARAMS(0x00000100)
-       MAPIO(versatile_map_io)
-       INITIRQ(versatile_init_irq)
-       .timer          = &versatile_timer,
-       INIT_MACHINE(versatile_init)
-MACHINE_END
+#endif