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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [mips/] [baget/] [prom/] [init.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * init.c: PROM library initialisation code.
3
 *
4
 * Copyright (C) 1998 Gleb Raiko & Vladimir Roganov
5
 */
6
#include <linux/init.h>
7
#include <asm/addrspace.h>
8
#include <asm/bootinfo.h>
9
 
10
char arcs_cmdline[CL_SIZE];
11
 
12
const char *get_system_type(void)
13
{
14
        /* Should probably return one of "BT23-201", "BT23-202" */
15
        return "Baget";
16
}
17
 
18
void __init prom_init(unsigned int mem_upper)
19
{
20
        mem_upper = PHYSADDR(mem_upper);
21
 
22
        mips_machgroup  = MACH_GROUP_UNKNOWN;
23
        mips_machtype   = MACH_UNKNOWN;
24
        arcs_cmdline[0] = 0;
25
 
26
        vac_memory_upper = mem_upper;
27
 
28
        add_memory_region(0, mem_upper, BOOT_MEM_RAM);
29
}
30
 
31
void prom_free_prom_memory (void)
32
{
33
}

powered by: WebSVN 2.1.0

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