8becfc92eee783bdceb3fc8d4d32afb0fb7b7dce
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt288x / prom.c
1 /*
2  *  Ralink RT288x SoC specific prom routines
3  *
4  *  Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
5  *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6  *
7  *  This program is free software; you can redistribute it and/or modify it
8  *  under the terms of the GNU General Public License version 2 as published
9  *  by the Free Software Foundation.
10  */
11
12 #include <linux/kernel.h>
13 #include <linux/init.h>
14 #include <linux/io.h>
15 #include <linux/serial_reg.h>
16
17 #include <asm/bootinfo.h>
18 #include <asm/addrspace.h>
19
20 #include <asm/mach-ralink/rt288x.h>
21 #include <asm/mach-ralink/rt288x_regs.h>
22
23 void __init prom_init(void)
24 {
25         printk(KERN_DEBUG "prom: fw_arg0=%08x, fw_arg1=%08x, "
26                         "fw_arg2=%08x, fw_arg3=%08x\n",
27                         (unsigned int)fw_arg0, (unsigned int)fw_arg1,
28                         (unsigned int)fw_arg2, (unsigned int)fw_arg3);
29 }
30
31 void __init prom_free_prom_memory(void)
32 {
33         /* We do not have to prom memory to free */
34 }
35