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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [mips/] [vr41xx/] [casio-e55/] [init.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * FILE NAME
3
 *      arch/mips/vr41xx/casio-e55/init.c
4
 *
5
 * BRIEF MODULE DESCRIPTION
6
 *      Initialisation code for the CASIO CASSIOPEIA E-55/65.
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
 
23
char arcs_cmdline[CL_SIZE];
24
 
25
const char *get_system_type(void)
26
{
27
        return "CASIO CASSIOPEIA E-11/15/55/65";
28
}
29
 
30
void __init prom_init(int argc, char **argv, unsigned long magic, int *prom_vec)
31
{
32
        int i;
33
 
34
        /*
35
         * collect args and prepare cmd_line
36
         */
37
        for (i = 1; i < argc; i++) {
38
                strcat(arcs_cmdline, argv[i]);
39
                if (i < (argc - 1))
40
                        strcat(arcs_cmdline, " ");
41
        }
42
 
43
        mips_machgroup = MACH_GROUP_NEC_VR41XX;
44
        mips_machtype = MACH_CASIO_E55;
45
}
46
 
47
void __init prom_free_prom_memory (void)
48
{
49
}

powered by: WebSVN 2.1.0

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