OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [arm/] [mach-anakin/] [arch.c] - Rev 1765

Compare with Previous | Blame | View Log

/*
 *  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
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.