[BACK]Return to init.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / mips / baget / prom

File: [Development] / linux-2.6-xfs / arch / mips / baget / prom / Attic / init.c (download)

Revision 1.1, Tue Dec 30 23:58:53 2003 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN

Initial Import 2.6.0

/*
 * init.c: PROM library initialisation code.
 *
 * Copyright (C) 1998 Gleb Raiko & Vladimir Roganov
 */
#include <linux/init.h>
#include <asm/addrspace.h>
#include <asm/bootinfo.h>

char arcs_cmdline[CL_SIZE];

const char *get_system_type(void)
{
	/* Should probably return one of "BT23-201", "BT23-202" */
	return "Baget";
}

void __init prom_init(unsigned int mem_upper)
{
	mem_upper = PHYSADDR(mem_upper);

	mips_machgroup  = MACH_GROUP_UNKNOWN;
	mips_machtype   = MACH_UNKNOWN;
	arcs_cmdline[0] = 0;

	vac_memory_upper = mem_upper;

	add_memory_region(0, mem_upper, BOOT_MEM_RAM);
}

void prom_free_prom_memory (void)
{
}