kernel-fxtec-pro1x/arch/mips/loongson/fuloong-2e/init.c
Wu Zhangjin 8e4971175a MIPS: Loongson: Change naming methods
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>
2009-09-17 20:07:47 +02:00

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)
{
}