2 * Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology
3 * Author: Wu Zhangjin, wuzj@lemote.com
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.
11 #include <linux/init.h>
12 #include <linux/bootmem.h>
14 #include <asm/bootinfo.h>
15 #include <asm/mips-boards/bonito64.h>
17 extern void __init prom_init_cmdline(void);
18 extern void __init prom_init_env(void);
19 extern void __init prom_init_memory(void);
21 void __init prom_init(void)
23 /* init base address of io space */
24 set_io_port_base((unsigned long)
25 ioremap(BONITO_PCIIO_BASE, BONITO_PCIIO_SIZE));
32 void __init prom_free_prom_memory(void)