patch-2.4.9 linux/arch/arm/mach-anakin/arch.c
Next file: linux/arch/arm/mach-anakin/irq.c
Previous file: linux/arch/arm/mach-anakin/Makefile
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Sun Aug 12 17:36:24 2001
- Orig file:
v2.4.8/linux/arch/arm/mach-anakin/arch.c
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.4.8/linux/arch/arm/mach-anakin/arch.c linux/arch/arm/mach-anakin/arch.c
@@ -0,0 +1,46 @@
+/*
+ * linux/arch/arm/mach-anakin/arch.c
+ *
+ * Copyright (C) 2001 Aleph One Ltd. for Acunia N.V.
+ *
+ * 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
+ * published by the Free Software Foundation.
+ *
+ * Changelog:
+ * 09-Apr-2001 W/TTC Created
+ */
+
+#include <linux/config.h>
+#include <linux/tty.h>
+#include <linux/init.h>
+
+#include <asm/setup.h>
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+
+#ifndef CONFIG_BLK_DEV_RAM_SIZE
+#define CONFIG_BLK_DEV_RAM_SIZE 4096
+#endif
+
+extern void anakin_map_io(void);
+extern void genarch_init_irq(void);
+
+static void __init
+fixup_anakin(struct machine_desc *desc, struct param_struct *unused,
+ char **cmdline, struct meminfo *mi)
+{
+ ROOT_DEV = MKDEV(RAMDISK_MAJOR, 0);
+ setup_ramdisk(1, 0, 0, CONFIG_BLK_DEV_RAM_SIZE);
+ setup_initrd(0xc0800000, 4 * 1024 * 1024);
+}
+
+
+MACHINE_START(ANAKIN, "Anakin")
+ MAINTAINER("Wookey/Tak-Shing Chan")
+ BOOT_MEM(0x20000000, 0x40000000, 0xe0000000)
+ VIDEO(0x80000000, 0x8002db40)
+ FIXUP(fixup_anakin)
+ MAPIO(anakin_map_io)
+ INITIRQ(genarch_init_irq)
+MACHINE_END
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)