1/* 2 * linux/arch/arm/mach-epxa/arch-epxa10db.c 3 * 4 * Copyright (C) 2001 Altera Corporation 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 */ 20#include <linux/types.h> 21#include <linux/sched.h> 22#include <linux/interrupt.h> 23#include <linux/init.h> 24 25#include <asm/hardware.h> 26#include <asm/irq.h> 27#include <asm/setup.h> 28#include <asm/mach-types.h> 29 30#include <asm/mach/arch.h> 31 32extern void epxa_map_io(void); 33extern void epxa_init_irq(void); 34 35 36static void __init 37epxa10db_fixup(struct machine_desc *desc, struct param_struct *params, 38 char **cmdline, struct meminfo *mi) 39{ 40 41 mi->nr_banks = 1; 42 mi->bank[0].start = 0; 43 mi->bank[0].size = (128*1024*1024); 44 mi->bank[0].node = 0; 45 46/* 47 ROOT_DEV = MKDEV(RAMDISK_MAJOR,0); 48 setup_ramdisk( 1, 0, 0, 8192 ); 49 setup_initrd(0xc0200000, 6*1024*1024); 50*/ 51} 52 53MACHINE_START(CAMELOT, "Altera Epxa10db") 54 MAINTAINER("Altera Corporation") 55 BOOT_MEM(0x00000000, 0x7fffc000, 0xffffc000) 56 FIXUP(epxa10db_fixup) 57 MAPIO(epxa_map_io) 58 INITIRQ(epxa_init_irq) 59 BOOT_PARAMS(0x100) 60MACHINE_END 61

