aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lemote/lm2e/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lemote/lm2e/init.c')
-rw-r--r--arch/mips/lemote/lm2e/init.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/mips/lemote/lm2e/init.c b/arch/mips/lemote/lm2e/init.c
new file mode 100644
index 000000000000..6fe624d697ed
--- /dev/null
+++ b/arch/mips/lemote/lm2e/init.c
@@ -0,0 +1,34 @@
1/*
2 * Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology
3 * Author: Wu Zhangjin, wuzj@lemote.com
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
9 */
10
11#include <linux/init.h>
12#include <linux/bootmem.h>
13
14#include <asm/bootinfo.h>
15#include <asm/mips-boards/bonito64.h>
16
17extern void __init prom_init_cmdline(void);
18extern void __init prom_init_env(void);
19extern void __init prom_init_memory(void);
20
21void __init prom_init(void)
22{
23 /* init base address of io space */
24 set_io_port_base((unsigned long)
25 ioremap(BONITO_PCIIO_BASE, BONITO_PCIIO_SIZE));
26
27 prom_init_cmdline();
28 prom_init_env();
29 prom_init_memory();
30}
31
32void __init prom_free_prom_memory(void)
33{
34}