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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [mips/] [vr41xx/] [zao-capcella/] [init.c] - Blame information for rev 1275

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * FILE NAME
3
 *      arch/mips/vr41xx/zao-capcella/init.c
4
 *
5
 * BRIEF MODULE DESCRIPTION
6
 *      Initialisation code for the ZAO Networks Capcella.
7
 *
8
 * Copyright 2002 Yoichi Yuasa
9
 *                yuasa@hh.iij4u.or.jp
10
 *
11
 *  This program is free software; you can redistribute it and/or modify it
12
 *  under the terms of the GNU General Public License as published by the
13
 *  Free Software Foundation; either version 2 of the License, or (at your
14
 *  option) any later version.
15
 */
16
#include <linux/config.h>
17
#include <linux/init.h>
18
#include <linux/kernel.h>
19
#include <linux/string.h>
20
 
21
#include <asm/bootinfo.h>
22
#include <asm/cpu.h>
23
#include <asm/mipsregs.h>
24
#include <asm/vr41xx/vr41xx.h>
25
 
26
char arcs_cmdline[CL_SIZE];
27
 
28
const char *get_system_type(void)
29
{
30
        return "ZAO Networks Capcella";
31
}
32
 
33
void __init prom_init(int argc, char **argv, unsigned long magic, int *prom_vec)
34
{
35
        int i;
36
 
37
        /*
38
         * collect args and prepare cmd_line
39
         */
40
        for (i = 1; i < argc; i++) {
41
                strcat(arcs_cmdline, argv[i]);
42
                if (i < (argc - 1))
43
                        strcat(arcs_cmdline, " ");
44
        }
45
 
46
        mips_machgroup = MACH_GROUP_NEC_VR41XX;
47
        mips_machtype = MACH_ZAO_CAPCELLA;
48
}
49
 
50
void __init prom_free_prom_memory (void)
51
{
52
}

powered by: WebSVN 2.1.0

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