8e4971175a
To make source code of loongson sharable to the machines(such as gdium) made by the other companies, we rename arch/mips/lemote to arch/mips/loongson, asm/mach-lemote to asm/mach-loongson, and rename lm2e to the name of the machine: fuloong-2e. accordingly, FULONG are renamed to FULOONG2E to make it distinguishable to the future FULOONG2F. and also, some other relative tuning is needed. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
30 lines
721 B
C
30 lines
721 B
C
/*
|
|
* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology
|
|
* Author: Wu Zhangjin, wuzj@lemote.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
#include <linux/bootmem.h>
|
|
|
|
#include <asm/bootinfo.h>
|
|
|
|
#include <loongson.h>
|
|
|
|
void __init prom_init(void)
|
|
{
|
|
/* init base address of io space */
|
|
set_io_port_base((unsigned long)
|
|
ioremap(BONITO_PCIIO_BASE, BONITO_PCIIO_SIZE));
|
|
|
|
prom_init_cmdline();
|
|
prom_init_env();
|
|
prom_init_memory();
|
|
}
|
|
|
|
void __init prom_free_prom_memory(void)
|
|
{
|
|
}
|